msgpi.sg.io.readSCOut
msgpi.sg.io.readSCOut#
- msgpi.sg.io.readSCOut(fn_in, smdim, analysis=0, scrnout=True, logger=None)#
Read SwiftComp outputs.
- Parameters
fn_in (str) – SwiftComp input file name.
smdim (int) – Dimension of the macroscopic structural model.
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
scrnout (bool, optional) – Switch of printing solver messages., by default True
- Returns
Different analyses return different types of results.
- Return type
various