4.2.1. Uncategorized pyCart Options

Several inputs in pyCart.json do not go in any category. They are relatively simple inputs, and many of them have usable defaults, although it’s still a good idea to enter them into the pyCart control file to avoid ambiguity and improve traceability. Additional miscellaneous options can be found in the corresponding Cape JSON section.

4.2.1.1. Specific Cart3D Input File Templates

All of the options in the Cape JSON description also apply, and there are only a few additional options, which are described here. The JSON syntax is shown below with the default values.

"InputCntl": "input.cntl",
"AeroCsh": "aero.csh"

These are the names and locations of two template files required for running Cart3D. In the case of aero.csh, it is only required if it is an adaptive run. It is sometimes useful to use template files with different names, for example if multiple sets of inputs are being tested. A recommended practice for very involved Cart3D analyses is to put input files into a folder. Consider the following partial file tree.

run/
    poweroff.json
    poweron.json
inputs/
    input.cntl
    aero.csh
    Config.xml
    Components.i.tri

In this case, there are two pyCart control files, poweroff.json and poweron.json, and they should contain the following.

"InputCntl": "inputs/input.cntl",
"AeroCsh": "inputs/aero.csh"

Obviously, there are a couple more files shown in the partial file tree above, and these will come into play in other sections. Then the call to pyCart will be

$ pycart -f run/poweroff.json
$ pycart -f run/poweron.json

for the two input files.

For both of these two files, pyCart provides its own template if the file cannot befound in the local directory tree.

4.2.1.2. Miscellaneous Options Dictionary

The full list of miscellaneous options specific to pyCart and their allowed values are listed below. These options are in addition to the options listed in the Miscellaneous Cape Options section.

InputCntl: {"input.cntl"} | str

Name of Cart3D input file template

AeroCsh: {"aero.csh"} | str

Adaptive run script template