Computes the inverse plasma frequency
massDensityIndex
(integer, required)speciesCharge
(float, required)speciesMass
(float, required)epsilon0
(float, required)The following data structures should be specified to the timeStepRestrictionUpdater (1d, 2d, 3d) that calls the plasmaFrequency Time Step Restriction.
in
(string vector, required)Mass Density
(nodalArray, at least 1 component, required)The following block demonstrates plasmaFrequency used in combination with timeStepRestrictionUpdater (1d, 2d, 3d) and cyclotronFrequency (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
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>