I would like to create the volume mesh (Neutral Format) from the Surface Mesh Format using command line (batchmode). In matlab this command looks like this:
dos('netgen -meshfile=D:\vol_mesh.vol -batchmode -inputmeshfile=D:\surf_mesh.surf' )
The file ng.opt is set as follows (so the first step is meshing volume and the last step is optimizing volume):
loadgeomtypevar "All Geometry types"
exportfiletype "Neutral Format"
Unfortunately the output file is a surface neutral format, without defined tets. It works excellent, if the input file is *.geo.
Does anyone know how to overcome this problem?