From the Windows file browser
During installation the input file type (*.in) should be automatically associated with Local Simulation for Netfabb. This allows execution by double clicking any *.in file in the file browser. If for some reason this fails or if the end user changes the file type association, execution of Local Simulation can be performed as follows:
- Right-click a *.in file.
- Choose Open with > pan.exe for the file to run the analysis.
To edit an input file, right-click it, choose Open With, and select your preferred text editor.
For both Linux and Windows, execution is controlled by the wrapper script pan. What follows is the screen output generated by typing $ pan –h for help, where $ is the command prompt:
Wrapper for Netfabb Local Simulation execution Autodesk, Inc. - www.pancomputing.com
Synopsis pan [OPTIONS] [filename] filename is either the input file name (w/o .in) or a batch file (w/o .que) containing a list of input file names for batch execution.
OPTIONS: -b background mode. In this mode screen output is redirected to filename.out. -c cost mode. This option generates a mesh preview, computes the number of layers, and terminates execution -f fast cost mode. This option estimates the memory required for a mesh preview. -e exec define executable different than default. exec is either the full path of the executable or a link to it. This option allows using custom (user) compiled versions of Local Simulation. -h help -l use .log instead of .out for output files -m mesh preview mode. This option generates a mesh preview, computes the number of layers, and prompts to continue execution. -p number set number of threads -q queue (batch) mode using list in filename.que -s silent mode (no questions if previous files exist) -t xx copy template mode. xx is the examples template number This option copies an examples template to the current directory If no argument xx is provided, then the examples Download Page will open (https://knowledge.autodesk.com/community/article/75736) -v number select Version number other than default This -v option is available only for the Linux version. --examples display examples manual --user display user manual
Examples: Interactive mode: pan this mode will run the default Version and will ask for an input file name pan filename this mode will run the default Version and will use filename.in as input file pan filename -p 6 this mode will run the default Version and will use filename.in as input file, using 6 threads. pan -v 18.1 filename this mode (Linux only) will run Version 18.1 and will use filename.in as input file. pan --user display user manual pan --user -v 18.1 display user manual of Version 18.1(Linux only)
Background mode: pan -b filename this mode will run in background using filename.in as input file pan -v 18.1 -b filename this mode (Linux only) will run Version 18.1 in background using filename.in as input file
Batch mode: pan -q filename this mode will run all input files listed in filename.que in background sequentially. filename.que format: example_thermal example_mechanical pan -v 18.1 -q filename this mode (Linux only) will run Version 18.1 in background sequentially for all input file names listed in file filename.que
Custom mode: pan -e /path/mypan2 -b filename this mode will run custom executable /path/mypan2 in background using filename.in as input file
Template mode: pan -t 01 this mode will copy examples 01 template to current directory