Computes the inverse cyclotron frequency which will then be used in determining the time step restriction.
speciesCharge
(float, required)speciesMass
(float, required)magneticFieldIndexes
(integer vector, required)The following data structures should be specified to the timeStepRestrictionUpdater (1d, 2d, 3d) that calls the cyclotronFrequency Time Step Restriction.
in
(string vector, required)Mass Density
(nodalArray, at least 1 component, required)The following block demonstrates cyclotronFrequency used in combination with timeStepRestrictionUpdater (1d, 2d, 3d) and plasmaFrequency (1d, 2d, 3d) to compute the time-step restriction in a plasma:
<Updater twofluidTimeStepRestrictions>
kind = timeStepRestrictionUpdater1d
in = [q]
restrictions = [wpe, wce]
onGrid = domain
courantCondition = 1.0
<TimeStepRestriction wpe>
kind = plasmaFrequency1d
cfl = 1.0
speciesCharge = ELECTRON_CHARGE
speciesMass = ELECTRON_MASS
epsilon0 = 1.0
massDensityIndex = 0
</TimeStepRestriction>
<TimeStepRestriction wce>
kind = cyclotronFrequency1d
speciesCharge = ELECTRON_CHARGE
speciesMass = ELECTRON_MASS
magneticFieldIndexes = [23, 24, 25]
massDensityIndex = 0
</TimeStepRestriction>
</Updater>