Volume mesh (Neutral Format) from Surface Mesh Format using command line (batchmode)

Help
greg
2013-07-11
2013-07-11
  • greg
    greg
    2013-07-11

    Dear All,

    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):

    dirname  D:/
    loadgeomtypevar  "All Geometry types"
    exportfiletype  "Neutral Format"
    meshoptions.fineness  3
    meshoptions.firststep mv
    meshoptions.laststep  ov 
    ...
    

    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?
    Thanks,
    Greg