This analyzer is used to perform a cross product of two different vector fields. A typical application would be for a postprocessing computation of poynting flux with E and B fields (so that they are co-located). There is an optional multiplier so that the 1/mu factor can be included, or if a velocity field has been calculated, then vxB can be estimated and compared with acceleration due to E. The poynting vector represents only instantaneous power, and so time averaging would need to be employed to work out intensity.
-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.
-1
<fldname>
,
--field1Name
=<fldname>
(string, required)
<fldname> is the name of the first field to analyze.
-2
<fldname>
,
--field2Name
=<fldname>
(string, required)
<fldname> is the name of the second field to analyze.
-o
<outfldname>
,
--outputFieldName
=<outfldname>
(string, required, default = CrossProduct)
<outfldname> is the name of the field to write. A suffix and base name will be added, eg ‘Poynting’.
-m
<M>
,
--multiplier
=<M>
(float, required, default = 1.0)
<M> is an optional multiplier. It can be used, for example, to create laser intensity, where you would use 1/mu0=1/1.25663e-6=795774.7
-w
,
--overwrite
(flag)
Whether a dataset or group should be overwritten if it already exists.
A set of VsHdf5 compatible field files containing the result of the cross-product operations.
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.