mdpa_create_structured_mesh
Generate structured meshes as .mdpa files for lines, rectangles, or boxes, including boundary parts for applying surface loads.
Instructions
Generate a structured mesh and write it as .mdpa. kind: 'line' (size=[L], divisions=[n], submodelparts start/end), 'rectangle' (size=[W,H], divisions=[nx,ny], edge parts left/right/bottom/top, quads or triangles), or 'box' (size=[Lx,Ly,Lz], divisions=[nx,ny,nz], hexahedra, face parts xmin/xmax/ymin/ymax/zmin/zmax). All variants include a 'domain' submodelpart with every node and element; boundary parts carry conditions of condition_name for applying surface loads. Defaults: rectangle SmallDisplacementElement2D4N + LineLoadCondition2D2N, box SmallDisplacementElement3D8N + SurfaceLoadCondition3D4N.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| path | Yes | ||
| size | Yes | ||
| divisions | Yes | ||
| triangles | No | ||
| element_name | No | ||
| condition_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||