sgio.read_fe_model#

sgio.read_fe_model(filename: str, file_format: str, model_type: str = 'SD1', format_version: str = '', sgdim: int = 3, **kwargs) FEModel#

Read an input file and return the generic FE core model.

Explicit entry point for the generic finite-element core model. The current implementation reuses read() and unwraps its fe_model; for the Abaqus path, fe_model.extras carries unmapped structural blocks (boundary conditions, loads, steps) captured as a fallback. A future FE-native adapter may return FEModel directly here without the StructureGene wrapping.

Parameters:
  • filename (str) – Name of the input file.

  • file_format (str) – Format of the input file. Choose one from ‘abaqus’, ‘vabs’, ‘sc’, ‘swiftcomp’, ‘gmsh’.

  • model_type (str, optional) – Type of the macro structural model. Default is 'SD1'.

  • format_version (str, optional) – Version of the format.

  • sgdim (int, optional) – Dimension of the geometry. Default is 3.

Returns:

The generic finite-element core model.

Return type:

FEModel