msgpi.sg.execu.runSwiftComp
msgpi.sg.execu.runSwiftComp#
- msgpi.sg.execu.runSwiftComp(command, input_name, analysis, smdim, aperiodic=False, output_gmsh_format=True, reduced_integration=False, scrnout=True, logger=None)#
Run SwiftComp.
- Parameters
command (str) – Command name of SwiftComp
input_name (str) – Name of the input file.
analysis ({0, 2, 3, 4, 5, '', 'h', 'dl', 'd', 'l', 'fi', 'f', 'fe'}) –
Analysis to be carried out.
0 or ‘h’ or ‘’ - homogenization
2 or ‘dl’ or ‘d’ or ‘l’ - dehomogenization (linear)
3 or ‘fi’ - initial failure indices and strength ratios
4 or ‘f’ - initial failure strength
5 or ‘fe’ - initial failure envelope
smdim (int) – Dimension of the macroscopic structural model.
aperiodic (bool) – If the structure gene is periodic.
output_gmsh_format (bool) – If output dehomogenization results in Gmsh format
reduced_integration (bool) – If reduced integration is used for certain elements.
scrnout (bool, default True) – Switch of printing solver messages..
logger (logging.Logger) – Logger object