sgio.readOutputModel#

sgio.readOutputModel(filename: str, file_format: str, model_type: str = '', sg: StructureGene | None = None, **kwargs)#

Read SG homogenization output file.

Parameters:
  • filename (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 (StructureGene, optional) – SG object.

Returns:

If analysis is ‘h’, return the consitutive model.

Return type:

Model