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.

Return type:

Model