location of ng.opt on Windows

Help
2013-02-18
2013-05-27
  • Bartek Grychtol

    Bartek Grychtol - 2013-02-18

    Dear All,

    We use Netgen extensively in the EIDORS3D project through the command-line interface. On Linux, we are able to manipulate the result produced by Netgen by changing the ng.opt file in the current directory. However, on Windows 7, it seems that the ng.opt file is always read from:
    C:\Users\USERNAME\AppData\Roaming\Netgen-4.9.13
    And I don't know about other versions of Windows.

    Is there a way to call Netgen (in batchmode) in Windows such that it uses the ng.opt file from the current directory?
    Or perhaps there's a mod we can do in one of the .tcl files to get this behavior?
    Alternatively, is there a way to query or figure out the default location of the ng.opt file?

    Thanks for the great software!

    Best,
    Bartek

     
  • Joachim Schoeberl

    Hi,
    you can set the environment variable
    NETGEN_USER_DIR
    Joachim

     
  • Bartek Grychtol

    Bartek Grychtol - 2013-04-13

    That worked great. Thank you.
    Bartek

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks