sgio.read_output_model#
- sgio.read_output_model(filename: str, file_format: str, model_type: str = '', sg: StructureGene | None = None, **kwargs) Model | None#
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.
sg (StructureGene, optional) – SG object.
- Returns:
Constitutive model parsed from the homogenization output, or None if the file cannot be opened.
- Return type:
Model or None