Fluids
One can add charged and neutral fields to your simulation by employing
the Fluid
block. It supports the following three Kind
options:
coldRelFluid
eulerFluid
neutralGas
A gasKind
must then be specified, either by using a built-in value
or by importing data from an external file. An InitialCondition
nested block must also be included, as it declares necessary boundary
conditions and initial condition parameters.
Below is an example of a fluid being implemented in a simulation:
<Fluid neutralFluid>
kind = neutralGas
gasKind = Ar
<InitialCondition >
kind = constant
# Lower and upper bounds with respect to the grid
lowerBounds = [0 0 0]
upperBounds = [50 50 50]
# Here, amplitude refers to the gas density, in kg/m^3
amplitudes = [1.78]
components = [0]
</InitialCondition>
</Fluid>
More details on Fluid
and its parameters can be found in the
Fluid section of VSim Reference.