mdpa_extract_boundary
Create conditions on free faces of a mesh to generate load or flux surfaces, placing them in a sub_model_part. Use selectors to isolate specific faces like x=0.
Instructions
Create conditions on the free (unshared) faces of the elements -- the way to get load/flux surfaces on a mesh that has none -- and put them in sub_model_part (created if needed). condition_name is a Kratos type (e.g. 'LineLoadCondition2D2N', 'SurfaceLoadCondition3D4N') or a map {"2": ..., "3": ..., "4": ...} by face node count (needed for prisms, mixed meshes and quadratic cells: quadratic edges have 3 nodes, tet10 / wedge tri faces 6, hex20 / wedge quad faces 8, hex27 faces 9). element_part restricts to one part's elements; selector (see mdpa_select_nodes, e.g. a plane) keeps only faces whose nodes are all selected, giving e.g. just the x=0 face. Faces are oriented outward for positively oriented elements (domain on the left of 2D edges). NOTE: with that orientation a positive POSITIVE_FACE_PRESSURE load acts along the outward normal (a tension); use a negative value for a compressive pressure. Supports linear and quadratic line, triangle, quad, tet, prism and hex cells (measures use the corners).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| output | No | ||
| selector | No | ||
| overwrite | No | ||
| property_id | No | ||
| element_part | No | ||
| condition_name | Yes | ||
| sub_model_part | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||