NekMesh is a utility bundled with Nektar++ which has two purposes:
NekMeshreplaces a previous utility called MeshConvert. This change is to reflect the fact that the program no longer only converts and manipulates meshes but can now also generate them from a CAD definition. This mesh generator is in an early stage of development and as such is disabled by default. For the time being those not using the mesh generator can use
NekMeshas they would have used MeshConvert, none of the functionality or methodology has changed.
There is also some limited support for other output formats. We begin by running through a
basic example to show how a mesh can be converted from the widely-used mesh-generator
Gmsh to the XML file format.
.xmlfiles in a compressed form where the VERTEX, EDGES, FACES, ELEMENTS and CURVED information is compressed into binary format which is then converted into base64. This is identified for each section by the attribute
COMPRESSED="B64Z-LittleEndian”. To output in ascii format add the module option “:xml:uncompress” to the