computeCavityG.py

It is important to measure the efficiency with which a resonating cavity stores energy. A very useful cavity figure of merit for this efficiency is the Geometry Factor, G, which depends only on the geometry of the cavity.

This analyzer computes this factor G, along with the mode frequency, and the squared magnetic field strength integrated over both the domain and the cavity surface.

-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 surface geometry object on which to calculate the \(G\) factor.

-b <bd>, --beginDump=<bd>

(int, required)

<bd> is the first dump number to process.

-e <ed>, --endDump=<ed>

(int, optional)

Replace <ed> with the last dump number to process. Must be larger than beginDump and not greater than the total number of available dumps.

Output

A VizSchema compliant output named Bsurf containing information about the cavity, including the G merit factor.

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.