Write MATLAB 2D or 3D finite element mesh to popular mesh file formats (for software Abaqus, Nastran, COMSOL, Gmsh)
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
- inp file (Abaqus)
- bdf file (Nastran bulk data, compatible with COMSOL)
- msh file (Gmsh mesh file format)
- For other formats, you can import the generated msh file into software Gmsh and then export.
- demo01 - Triangular mesh with single phase
- demo02 - Triangular mesh with multiple phases
- demo03 - Quadrilateral mesh
- demo04 - 2D Mesh with quadratic elements
- demo05 - Node sets at the boundary and interface when writing inp files
- demo06 - Select formats when writing inp files
- demo07 - Tetrahedral mesh
- demo08 - Hexahedral mesh
- demo09 - Set tolerance when searching boundary node set
- inp_example1 - Format #1 of inp file
- inp_example2 - Format #2 of inp file
- inp_example3 - Format #3 of inp file
Cite As
The development of writeMesh is nontrivial. If you use writeMesh for your project, please cite Im2mesh package as follows.
Ma, Jiexian, and Yuanyuan Li. Im2mesh: A MATLAB/Octave Package for Generating Finite Element Mesh Based on 2D Multi-Phase Image. Zenodo, 2025, https://doi.org/10.5281/ZENODO.14847059.
General Information
- Version 1.15 (2.02 MB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with R2017b and later releases
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.15 | See release notes for this release on GitHub: https://github.com/mjx888/writeMesh/releases/tag/v1.15 |
||
| 1.12 | See release notes for this release on GitHub: https://github.com/mjx888/writeMesh/releases/tag/v1.12 |
||
| 1.11 | See release notes for this release on GitHub: https://github.com/mjx888/writeMesh/releases/tag/v1.11 |
||
| 1.02 | See release notes for this release on GitHub: https://github.com/mjx888/writeMesh/releases/tag/v1.02 |
||
| 1.00 | See release notes for this release on GitHub: https://github.com/mjx888/writeMesh/releases/tag/v1.00 |
||
| 0.9.1 | See release notes for this release on GitHub: https://github.com/mjx888/writeMesh/releases/tag/v0.9.1 |
||
| 0.9.0 | See release notes for this release on GitHub: https://github.com/mjx888/writeMesh/releases/tag/v0.9.0 |
||
| 0.8.2 | See release notes for this release on GitHub: https://github.com/mjx888/writeMesh/releases/tag/v0.8.2 |
||
| 0.8 |
