sgio.readOutputModel¶
-
sgio.readOutputModel(fn, file_format, model_type=
''
, sg=None
, **kwargs)¶ Read SG homogenization output file.
- 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’.
- 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, optional¶
SG object.
- Returns:¶
If analysis is ‘h’, return the consitutive model.
sgio.model.EulerBernoulliBeamModel
if model_type is ‘BM1’sgio.model.TimoshenkoBeamModel
if model_type is ‘BM2’sgio.model.KirchhoffLovePlateShellModel
if model_type is ‘PL1’ and file_format is ‘sc’ or ‘swiftcomp’sgio.model.ReissnerMindlinPlateShellModel
if model_type is ‘PL2’ and file_format is ‘sc’ or ‘swiftcomp’sgio.model.CauchyContinuumModel
if model_type is ‘SD1’ and file_format is ‘sc’ or ‘swiftcomp’
- Return type:¶
Model