☰
Sampling
1) The fieldPropertiesDict dictionary
This dictionary located in the pdFields()
inside which a
pdFields
(
field
{
fieldModel pdVolFields;
[...]
}
field
{
fieldModel pdVolFields;
[...]
}
);
The pdFields()
list should be left empty when there is no need to reconstruct macroscopic fields.
For the O+ species, the macroscopic fields printed by default are:
pdRhoN_O+
: instantaneous number of parcelspdRhoNMean_O+
: sampled number of parcelsrhoN_O+
: number densityrhoM_O+
: densityU_O+
: velocity vectorMa_O+
: mach numberp_O+
: pressure (or partial pressure for a mixture)translationalT_O+
: translational temperaturerotationalT_O+
: rotational temperaturevibrational_O+
: vibrational temperatureoverallT_O+
: overall temperaturefD_O+
: force densitywallShearStress_O+
: wall shear stresswallHeatFlux_O+
: wall heat flux
The field pdSigmaTcRMax
has already been introduced in D.2.2 Initial volume fields.
2) Steady-state simulations
In the example below, macroscopic quantities are computed for the O+ and O species (see the _O+
and _O
((O+ O)
, providing that these species are the ones defined in A.1 Species thermophysical properties. The suffix is set to be _mixture
.
pdFields
(
field
{
fieldModel pdVolFields;
timeProperties
{
timeOption write;
resetAtOutput on;
}
pdVolFieldsProperties
{
fieldName O+;
typeIds (O+);
}
}
field
{
fieldModel pdVolFields;
timeProperties
{
timeOption write;
resetAtOutput on;
}
pdVolFieldsProperties
{
fieldName O;
typeIds (O);
}
}
field
{
fieldModel pdVolFields;
timeProperties
{
timeOption write;
resetAtOutput on;
}
pdVolFieldsProperties
{
fieldName mixture;
typeIds (O+ O);
}
}
);
is the key parameter controlling sampling: it is a switch that indicates whether or not cumulative fields recording microscopic information are reset at the end of each iteration. If it is
3) Transient simulations