sgio.readOutputState¶
-
sgio.readOutputState(fn, file_format, analysis, model_type=
''
, sg=None
, tool_ver=''
, ncase=1
, nelem=0
, **kwargs)¶ Read SG dehomogenization or failure analysis output.
- Parameters:¶
- fn : str¶
Name of the SG analysis output file
- file_format : str¶
Format of the SG data file. Choose one from ‘vabs’, ‘sc’, ‘swiftcomp’.
- analysis : str¶
Indicator of SG analysis. Choose one from
’d’ or ‘l’: Dehomogenization
’fi’: Initial failure indices and strength ratios
- model_type : str¶
Type of the macro structural model. Choose one from
’SD1’: Cauchy continuum model
’PL1’: Kirchhoff-Love plate/shell model
’PL2’: Reissner-Mindlin plate/shell model
’BM1’: Euler-Bernoulli beam model
’BM2’: Timoshenko beam model
- sg : sgio.core.sg.StructureGene¶
Structure gene object
- tool_ver : str¶
Version of the tool
- ncase : int¶
Number of load cases
- Returns:¶
State case object
- Return type:¶