Histories provide data from each time step of a simulation. They can provide useful diagnostics to make sure your simulation is proceeding as intended. Some histories are only available with certain simulation setups (e.g. only available in electromagnetic simulation, or only available in simulations with particles).
To add a history, right-click the “Histories” element of the setup tree then navigate to the history to be added to the simulation
An Array History will output an array of data for each time-step.
Store the value of a field at every timestep within a specified 3D volume.
Choose the field to record. Options for electromagnetic simulations are:
Options for electromagnetic simulations are:
The volume inside of which to collect the field data.
Calculate the total momentum for a particular set of particles in the whole simulation domain. All three components of the momentum are recorded. Thus, for some simulations in 1D or 2D, some components of the momentum may always be zero.
ONLY AVAILABLE IN ELECTROMAGNETIC SIMULATIONS
The way to define measurement time.
The volume to use for the box.
Combo Histories are used to create new histories by combining other histories. The operation is done at every time step and the resulting output will be a 1D array of the value vs time. Any number of histories may be combined.
Note
Due to the nature of the combination process, a combo history will always use data from the previous timestep as compared to the other histories, and will be initialized with a value of 1. The Combined history will not have data from the last timestep of the simulation.
- kind (not editable)
- Combination History
- Constituent History
As many constituent histories as desired may be added. The name of the constituent history itself is not of particular importance.
- history name
Select one previously defined Field or Particle History.
- coefficient
This is a multiplying factor on the selected history.
- combination
This operation will be applied to combine the history with all preceding constituent histories. The order of operations is demonstrated in an example with three histories of each below
- add
(coefficient1*history name 1) + (coefficient2*history name 2) + (coefficient3*history name 3)
- subtract
(coefficient1*history name 1) - (coefficient2*history name 2) - (coefficient3*history name 3)
- multiply
(( (coefficient1*history name 1)) * (coefficient2*history name 2)) * (coefficient3*history name 3)
- divide
(( (coefficient1*history name 1)) / (coefficient2*history name 2)) / (coefficient3*history name 3)
As the above examples show, using a multiply or divide operation on the third or greater constituent history, will multiply or divide by the combination of all preceding histories.
This history can reference other particle and field histories, averaging them in the selected time window.
Field Histories record on a per time-step basis. Field histories are used to measure quantities such as the value or energy of the field at a location. The output will be a 1D array of the value vs time.
This history creates a test electron and measures the accelerating voltage received by an electron traveling at a fixed velocity across a gap in a cavity structure. See acceleratingVoltage for a reference defining ‘acclerating voltage’.
Calculate the total energy of the electric field in the specified volume (Joules).
The region over which to calculate the field energy.
Use the entire simulation domain.
A user-defined volume based on cell indices.
The lower indices of the volume.
The upper indices of the volume.
Calculate the total energy of the electromagnetic field in the specified volume (Joules). Only available in electromagnetic simulations.
The region over which to calculate the field energy.
Use the entire simulation domain.
A user-defined volume based on cell indices.
The lower indices of the volume.
The upper indices of the volume.
A volume based on a previously defined geometry.
Select from a previously defined geometry.
Calculate the total energy of the magnetic field in the specified volume (Joules).
- kind (not editable)
- Magnetic Field Energy
- volume
The region over which to calculate the field energy.
- simulation region
Use the entire simulation domain.
- index 3d slab
A user-defined volume based on cell indices.
- lower indices
The lower indices of the volume.
- upper indices
The upper indices of the volume.
Record the specified field at the specified coordinates. All components of the field are recorded into an array.
ONLY AVAILABLE IN ELECTROMAGNETIC SIMULATIONS
Calculates the integrated Poynting vector (energy flux) through the area defined by the min and max values.
The plane to use.
yz
- offset
The x offset from zero, in meters.
- yMin
The location of the y minimum, in meters.
- yMax
The location of the y maximum, in meters.
- zMin
The location of the z minimum, in meters.
- zMax
The location of the z maximum, in meters.
xz
- offset
The y offset from zero, in meters.
- xMin
The location of the x minimum, in meters.
- xMax
The location of the x maximum, in meters.
- zMin
The location of the z minimum, in meters.
- zMax
The location of the z maximum, in meters.
xy
- offset
The z offset from zero, in meters.
- xMin
The location of the x minimum, in meters.
- xMax
The location of the x maximum, in meters.
- yMin
The location of the y minimum, in meters.
- yMax
The location of the y maximum, in meters.
ONLY AVAILABLE IN ELECTROMAGNETIC SIMULATIONS
Records E and B Field data in the plane of cells specified, typically used for computation of S Parameters using computeSParams Analyzers. The Two histories created will be historyName*_E and *historyName_B.
The plane to use.
yz
- offset
The x offset from zero, in meters.
- yMin
The location of the y minimum, in meters.
- yMax
The location of the y maximum, in meters.
- zMin
The location of the z minimum, in meters.
- zMax
The location of the z maximum, in meters.
xz
- offset
The y offset from zero, in meters.
- xMin
The location of the x minimum, in meters.
- xMax
The location of the x maximum, in meters.
- zMin
The location of the z minimum, in meters.
- zMax
The location of the z maximum, in meters.
xy
- offset
The z offset from zero, in meters.
- xMin
The location of the x minimum, in meters.
- xMax
The location of the x maximum, in meters.
- yMin
The location of the y minimum, in meters.
- yMax
The location of the y maximum, in meters.
This option is deprecated. Use ‘Pseudo-potential at Coordinates’ or ‘pseudo-potential at Indices’ instead.
Calculates the pseudo-potential difference, in Volts, between two points. The start point would correspond to the measure point, while the end point would correspond to the reference.
Calculates the pseudo-potential difference, in Volts, between two points, specified by grid index.
A Log History will record data based on user specified logging method. A single log history may contain multiple particle quantities.
Record information about each and every particle that strikes a chosen absorbing surface. The output will be a 1D array of the value.
What information about the particle is to be recorded. For vector-like quantities (position, velocity, and weight), you must select which component of the vector you wish to record in the component option (0 –> x, 1 –> y, 2 –> z) in Cartesian, (0 –> r, 1 –> z, 2 –> phi) in Cylindrical.
Particle Histories record on a per time-step basis. Particle histories are used to measure quantities such as the total number of particles in a simulation at each step, or the current absorbed at chosen absorbing surface at each step. The output will be a 1D array of the value vs time.
Calculates the absorbed current on a specified particle absorber, in Amps.
Calculates the power absorbed on a specified particle absorber, in Joules/second.
Records the emitted current from the specified particle emitter, in Amps.
Calculates the total number of macroparticles in the simulation domain for the specified KineticParticle.
Calculates the total number of real particles in the simulation domain for the specified KineticParticle.
- kind (not editable)
- Number of Physical Particles
- particles
- Select the name of the previously defined KineticParticles.
Calculates the total energy in the simulation domain for the specified KineticParticle, in Joules.
Calculates the energy change in a particle species due to a diffuse reflector boundary condition.