mdpa_add_entities
Add elements, conditions, or geometries of one type to a Kratos MDPA file, with optional sub-model part assignment for new entities and nodes.
Instructions
Add elements, conditions or geometries of one type. kind: 'element', 'condition' or 'geometry'. entity_type is the Kratos name (e.g. 'SmallDisplacementElement2D4N', 'LineLoadCondition2D2N', 'Line2D2'); its 2D3N/3D8N-style suffix fixes the node count. Each item of 'entities' is {"nodes": [ids...], "id": optional, "property_id": optional (default 1, not for geometries)}. With sub_model_part the new entities and their nodes join that part (and its ancestors).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| path | Yes | ||
| output | No | ||
| entities | Yes | ||
| overwrite | No | ||
| entity_type | Yes | ||
| sub_model_part | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||