Next: Scene description file
Up: Navsetup
Previous: Navsetup
 
Contents
Command line arguments
The following is a list of command-line arguments for navsetup:
-h |
Prints the list of parameters and a short description and prints the version number of NaSt3DGP. |
-s SceneFile |
Reads the scene description file SceneFile and generates a data-file |
-b DataFile |
The name of the data-file, the default name is default.bin |
-l DataFile |
load field variables(velocity, pressure etc.) from an existing datafile.
This is useful if you want to run a calculation with previsously computed values
but want
to change some simulation parameters. You can create a binary file for the new calculation with the following command:
navsetup -s SceneFileNew -b DataFileNew -l DataFile
The data will be interpolated if the number of grid points changes. |
-L DataFiles |
Same as -l, but reads several data files DataFiles .*. |
-A TextFiles |
Same as -L, but reads several text files (written by ) TextFiles .txt.*. |
-o OutFile |
This option sets the base of the filename to OutFile for the options which write files. If
this option is not used, OutFile is set to 'default'. |
-TC DataFile |
Reads the data
from the data-file and writes to Outfile .dat.
The file format is ASCII Tecplot. The data written is located at the cell centers. |
-T DataFile |
same as but writes each field to a separate file named
Outfile . field .dat, e.g.
Outfile .u.dat . |
-g DataFile |
Reads the data
from the data-file and writes
each of it in Outfile .u, Outfile .v etc.
These files can be read in Matlab with the script tools/matlab/ReadNast.m. |
-a DataFile |
Same as , but use ASCII-format(text files) which are named OutFile .txt.*. |
-G DataFile |
Reads the data
from the data-file and writes
each of it in Outfile .vtk.u, Outfile .vtk.v etc.
The files are written in the VTK5.1 rectilinear grid format. |
-GS DataFile |
same as but uses the VTK Structured Points format and the files are named Outfile .vtksp.* . |
-f  |
create a VTK file including the velocity-field or multiple scalars
This option has to be
used together with , e.g. use the command
navsetup -f -G DataFile -o Outfile
to write the the velocity as a vectorfield and the pressure to a file named
Outfile .vtk.mix or use
navsetup -f -G DataFile -o Outfile
to write the pressure and the first two velocity components and . |
Next: Scene description file
Up: Navsetup
Previous: Navsetup
 
Contents
Martin Engel
2004-03-15