writeCutCellField.py
This analyzer helps with visualizing the cells excluded from a geometry.
- -s <simname>, --simulationName=<simname>
(string, required)
<simname> is the name of the simulation to be analyzed. The file extension should NOT be included in this text field.
- -G <geometry>, --geometryName=<geometry>
(string, required)
<geometry> is the name of the gridBoundary on which we wish to analyze the cut cells.
- -Z, --compMajorC
(flag)
The indexing order for written datasets. If checked, use “compMajorC”. If unchecked, use the default “compMinorC”
- -w, --overwrite
(flag)
Whether a dataset or group should be overwritten if it already exists.
Output
This analyzer produces two vizschema Hdf5 compatible field files, one with values assigned to cut cells that will be stairstepped in the simulation for the [specified in simulation input] values of the Dey-Mittra fraction, and one with values assigned to those which will be retained as cut cells. The values assigned represent the ‘sides’ of the cells affected by the cut cells - for example in Cartesian coordinates whether they are cut in x (add 1), in y (add 2), in z (add 4). Consequently we can see which edges will be treated as cut by looking at cells with specific values of this field.
If you are running this analyzer from the UI, and the output dataset file already exists, then it will be overwritten each time the analyzer is run, unless you uncheck the Overwrite Existing Files box near the bottom of the Analysis Results pane.
If you are running the analyzer from the command line, the dataset will not be overwritten
unless the -w
, or --overwrite
flag is specified on the command line.
The results of your analyzer may not be written into the output file if you have not specified the overwrite option to be True.