Increasing verbose / status while running from powershell

Hi there,

Currently using Netgen 1D-2D-3D to create some meshes via powershell and a python script. I previously used Gmsh but changed to Netgen recently. I notice that from my powershell with Gmsh I could see the meshing happening and get a sort of status of how it was going, whereas with Netgen I don’t see any updates until the whole mesh has basically finished. I was wondering if there was an option along the lines of:
smesh.setVerbosity or Netgen_parameters.setVerbose or something along those lines. I can’t seem to find anything close to it online.
Any direction would be great, thanks :slight_smile:

Patrick

Hi,

you can add:

set KEEP_NETGEN_OUTPUT=1

in run_salome.bat

or:

    context.setVariable(r"KEEP_NETGEN_OUTPUT", r"1")

in salome.

Christophe

Thanks Christophe,

Regarding using ‘context.setVariable(r"KEEP_NETGEN_OUTPUT", r"1")’
What is the ‘context’ variable? Or the equivalent from Salome?
Thanks

You have to edit the file salome that is used to launch SALOME. There you can add a new line with KEEP_NETGEN_OUTPUT after context definition.

Christophe

Hi Christophe,

That works, thanks for clearing that up!

Patrick