sgio.read_fe_model#
- sgio.read_fe_model(filename: str, file_format: str, model_type: str | None = None, format_version: str = '', sgdim: int | None = None, **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 itsfe_model; for the Abaqus path,fe_model.extrascarries unmapped structural blocks (boundary conditions, loads, steps) captured as a fallback. A future FE-native adapter may returnFEModeldirectly here without theStructureGenewrapping.- 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. See
read().format_version (str, optional) – Version of the format.
sgdim (int, optional) – Dimension of the geometry. See
read().
- Returns:
The generic finite-element core model.
- Return type: