Structure Gene¶
-
class sgio.StructureGene(name=
''
, sgdim=None
, smdim=None
, spdim=None
)¶ Bases:
object
A finite element level structure gene model in the theory of MSG.
- analysis¶
Analysis configurations
0 - homogenization (default)
1 - dehomogenization/localization/recover
2 - failure (SwiftComp only)
- Type:¶
int
- fn_gmsh_msh¶
File name of the Gmsh mesh file
- mocombos¶
Material-orientation (deg) combinations
{cid: [mid, orientation], …}
- Type:¶
dict of {int, list of (int, float)}
- model¶
Macroscopic structural model
0 - classical (default)
1 - refined (e.g. generalized Timoshenko)
2 - Vlasov model (beam only)
3 - trapeze effect (beam only)
- Type:¶
int
- property nelems¶
Number of elements in the mesh.
- property nma_combs¶
Number of material-orientation combinations.
- property nmates¶
Number of materials.
- property nnodes¶
Number of nodes in the mesh.
- physics¶
Physics included in the analysis
0 - elastic (default)
1 - thermoelastic
2 - conduction
3 - piezoelectric/piezomagnetic
4 - thermopiezoelectric/thermopiezomagnetic
5 - piezoelectromagnetic
6 - thermopiezoelectromagnetic
- Type:¶
int
- property use_elem_local_orient¶
Flag of using element local orientation.