sgio.read¶
-
sgio.read(filename: str, file_format: str, model_type: str =
'SD1'
, format_version: str =''
, sgdim: int =3
, sg: StructureGene | None =None
, **kwargs) StructureGene ¶ Read SG data file.
- Parameters:¶
- filename : str¶
Name of the SG data file
- file_format : str¶
Format of the SG data file. Choose one from ‘abaqus’, ‘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
- format_version : str¶
Version of the format
- sgdim : int¶
Dimension of the geometry. Default is 3. Choose one from 1, 2, 3.
- sg: StructureGene | None =
None
¶ Structure gene object
- Returns:¶
Structure gene object
- Return type:¶