get_mesh_table#

dlubal.api.rfem.Application.get_mesh_table(self, mesh_entity, mesh_shape, loading=None, load_increment=None, model_id=None)#

Returns FE mesh data for selected mesh element type and shape.

Parameters:
  • mesh_entity (MeshEntity) – Mesh element type to retrieve.

  • mesh_shape (MeshShape) – Requested mesh shape.

  • loading (ObjectId | None) – Required for DEFORMED and INITIAL_STATE shapes.

  • load_increment (int | None) – Optional loading increment.

  • model_id (ModelId | None) – Unique identifier of the model. Active model is used if this field is not set.

Returns:

A Table object containing FE mesh data.

Method Type: Core


Usage

# Deformed mesh nodes for load case 2, load increment 1
mesh_nodes_deformed = rfem_app.get_mesh_table(
    mesh_entity=rfem.mesh.MeshEntity.NODE,
    mesh_shape=rfem.mesh.MeshShape.DEFORMED,
    loading=rfem.ObjectId(
        no=2,
        object_type=rfem.OBJECT_TYPE_LOAD_CASE
    ),
    load_increment=1
)
print(mesh_nodes_deformed.data)