mdpa_extrude
Extrude a planar xy mesh along z into a 3D mesh using layer heights; remap elements, conditions, and cap faces for Kratos simulations.
Instructions
Extrude a planar (xy) mesh along z into a 3D mesh written to 'output'. heights are the layer thicknesses, e.g. [0.1] * 10 (z0 is the starting level). Triangles become prisms (3D6N), quads hexahedra (3D8N) and 2-node conditions surface quads (3D4N). Type names map '2DnN' -> '3DmN' unless overridden: element_names / condition_names map old -> new name (e.g. {"LineLoadCondition2D2N": "SurfaceLoadCondition3D4N"}). cap_condition_names maps the cap face node count ("3" or "4") to a condition type to create conditions on the new 'zmin' / 'zmax' sub model parts (which always hold the cap nodes). Existing parts are carried over with all layers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| z0 | No | ||
| path | Yes | ||
| output | Yes | ||
| heights | Yes | ||
| overwrite | No | ||
| element_names | No | ||
| condition_names | No | ||
| cap_condition_names | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||