ogs5py.fileclasses.msh.generator.block_adapter3D
- ogs5py.fileclasses.msh.generator.block_adapter3D(xy_dim=10.0, z_dim=5.0, in_res=1.0)[source]
Generate a block adapter.
It has a given resolution at the southern side with gmsh.
- Parameters:
xy_dim (float) – xy-Dimension of the whole block
z_dim (float) – z-Dimension of the whole block
in_res (float) – Grid resolution at the southern side of the block
- Returns:
result – Result contains one ‘#FEM_MSH’ block of the OGS mesh file with the following information (sorted by keys):
- mesh_datadict
dictionary containing information about
AXISYMMETRY (bool)
CROSS_SECTION (bool)
PCS_TYPE (str)
GEO_TYPE (str)
GEO_NAME (str)
LAYER (int)
- nodesndarray
Array with all node postions
- elementsdict
contains nodelists for elements sorted by element types
- material_iddict
contains material ids for each element sorted by element types
- element_iddict
contains element ids for each element sorted by element types
- Return type:
dictionary