Closed GoogleCodeExporter closed 9 years ago
The .mesh files in the data directory are in the MFEM mesh format - this is the
default mesh format used by MFEM when saving class Mesh objects to a file.
For input, the Mesh class constructor can recognize and read a few other mesh
formats as well:
1) unstructured VTK meshes; VisIt (http://visit.llnl.gov/) can read a number
of formats which (in some cases) can be exported as unstructured vtk files.
2) tetrahedral NETGEN (http://sourceforge.net/projects/netgen-mesher/) meshes
exported to neutral format; you need to add "NETGEN" as the first line in
the file to allow MFEM to recognize it.
Original comment by veselin@gmail.com
on 6 Jul 2013 at 4:37
The MFEM format is relatively simple, so for simple geometries you can directly
define the mesh yourself, see https://code.google.com/p/glvis/wiki/MeshFormats.
This could also be feasible even for curved,
https://code.google.com/p/glvis/wiki/CurvilinearVTKMeshes or NURBS
https://code.google.com/p/glvis/wiki/NURBS meshes.
Original comment by tzanio
on 8 Jul 2013 at 5:15
Thanks. I wanted to use IGES/STEP based 3D drawings. So I wanted Mesh
Generators to transform those type of geometries (not simple!) to be used in
MFEM. Hence my purpose is not only visualization but also mesh generation for
MFEM.
Original comment by abhih...@gmail.com
on 24 Jul 2013 at 11:06
I believe NETGEN can import IGES and STEP geometries, so you can use it to
generate a mesh to be used in MFEM. I have had some success in the past doing
this with STL files.
Original comment by tzanio
on 24 Jul 2013 at 3:58
Original issue reported on code.google.com by
abhih...@gmail.com
on 13 May 2013 at 9:27