mesh_export
Export Kratos .mdpa meshes to VTK, MSH, MED, XDMF, or other formats by extension or file_format, preserving elements, conditions, cell data, and sub-model parts.
Instructions
Export a .mdpa to another mesh format chosen by the output extension (.vtk, .vtu, .msh, .med, .inp, .xdmf, ...) or file_format. Elements come first, then conditions; cell data carries kratos:id, kratos:property_id and kratos:entity (0 element / 1 condition), sub model parts become cell sets (format permitting) and scalar nodal data point data. Cubic triangle10 / quad16 / line4 cells only export to formats that have them (gmsh .msh, not VTK). meshio has no 15-node wedge or 13-node pyramid: they are refused unless linearize_unsupported=true, which writes their corner nodes only (the result carries a warnings entry).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| output | Yes | ||
| overwrite | No | ||
| file_format | No | ||
| linearize_unsupported | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||