Variables | |
| char * | label |
| int | coupled |
| int | moment_id |
| int | time_extrapolated |
| int | limiter_choice |
| int | scalar_id |
| cs_equation_param_t * | var_cal_opt |
| cs_solving_info_t * | solving_info |
| char * | restart_file |
| int | diffusivity_id |
| double | diffusivity_ref |
| int | density_id |
| double | turbulent_flux_ctheta |
| double | turbulent_flux_model |
| int | first_moment_id |
| int | variance_clipping |
| double | variance_dissipation |
| int | scalar_diffusivity_prev |
| int | scalar_time_scheme |
| double | st_exp_extrapolated |
| double | diffusivity_extrapolated |
| double | time_step_factor |
| coupled |
If > 0, this variable is coupled using the internal coupling mechanism.
Restricted to fields with CS_FIELD_VARIABLE type.
| density_id |
Field id of the matching density for a scalar when defined as variable and different from the bulk. This must be consistent with continuity equation, and is used for fluid-solid computations with passive scalars with a different density in the solid.
Negative value if the field has constant density.
If set to 0, a matching field will be created and its value reset automatically to that field's id. If set directly to a value > 0, it is assumed that the matching density field has already been defined and is associated with this scalar. This allows both creating an associated field automatically or in more advanced cases, sharing a density field between several scalars.
| diffusivity_extrapolated |
-scheme for the extrapolation of the physical property
"diffusivity" when the extrapolation has been activated (see time_extrapolated key word), according to the formula
.
The value of
= thetvs is deduced from the value chosen for time_extrapolated key word. Generally, only the value 0.5 is used.
| diffusivity_id |
Field id of the matching molecular diffusivity for a scalar. Negative value if the field has constant diffusivity.
If set to 0, a matching field will be created and its value reset automatically to that field's id. If set directly to a value > 0, it is assumed that the matching diffusivity field has already been defined and is associated with this scalar. This allows both creating an associated field automatically or in more advanced cases, sharing a diffusivity field between several scalars.
| diffusivity_ref |
Reference molecular diffusivity for a scalar (
). Negative value if not initialized or used.
where
and
are the conductivity and specific heat. When using the Graphical Interface,
and
are specified separately, and the matching molecular diffusivity is computed automatically.
.
) must be specified by the user in the variable ppthch::diftl0 "diftl0"(cs_user_combustion).| first_moment_id |
For a variance of a given field, id of the base (first moment) field.
| label |
Optional label associated to the field; if NULL, name will be used instead.
| limiter_choice |
Integer corresponding to the type of Roe-Sweby Limiter:
Restricted to fields with CS_FIELD_VARIABLE type.
| moment_id |
If > -1, refers to the field if of which the current field is a time moment (see cs_time_moment.h). If < 0, the current field is not a time moment.
Restricted to fields with both CS_FIELD_VARIABLE and CS_FIELD_POSTPROCESS type.
| restart_file |
Indicates in which restart file the associated info may be found.
If NULL, default rules apply.
| int scalar_diffusivity_prev |
| scalar_id |
Matching scalar id (inverse Fortran isca(iscal) ), or -1 if the field does not represent a solved scalar type variable.
| scalar_time_scheme |
For each scalar, specifies the time scheme activated for the source terms of the equation for the scalar, apart from convection and diffusion (for instance: variance production, user-specified terms, ...).
which are linear functions of the solved variable
are expressed as second-order terms by interpolation (according to the formula
,
being given by the value of thetav associated with the variable
); the other terms
are expressed as second-order terms by extrapolation (according to the formula
,
being given by the value of st_exp_extrapolated = 0.5)
are treated in the same way as when scalar_time_scheme = 1; the other terms
are extrapolated according to the same formula as when scalar_time_scheme = 1, but with
= st_exp_extrapolated = 1.| solving_info |
Structure containing the solving info of the field variables (used for log, not setup, so set NULL setup logging function)
Restricted to fields with CS_FIELD_VARIABLE type.
| st_exp_extrapolated |
-scheme for the extrapolation of the nonlinear explicit source term
of the scalar transport equation when the source term extrapolation has been activated (see scalar_time_scheme), following the formula
.
The value of
= thetss is deduced from the value chosen for scalar_time_scheme. Generally, only the value 0.5 is used.
| time_extrapolated |
Is the field time-extrapolated?
is extrapolated according to the formula
,
being given by the value of 0.5
is extrapolated at $n+1$ according to the same formula as when = 1 but with
= 1 | time_step_factor |
Multiplicator coefficient for the time step of each variable
| turbulent_flux_ctheta |
Coefficient of GGDH and AFM turbulent flux models.
| turbulent_flux_model |
Turbulent flux model
| var_cal_opt |
Structure containing the equation parameters of a solved variable.
Restricted to fields with CS_FIELD_VARIABLE type.
| variance_clipping |
For every scalar representing the average of the square of the fluctuations of another scalar (noted $f$), indicator of the clipping method:
for higher values, where
is the associated scalar,
and
its minimum and maximum values specified by the user (i.e. min_scalar_clipping and max_scalar_clipping).| variance_dissipation |
Represents the coefficient $R_f$ in the dissipation term $-{}{R_f}{}{k}$ of the equation concerning the scalar, which represents the mean square root of the fluctuations of the scalar.