Variables | |
| char * | label |
| int | post_vis |
| 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 |
| int coupled |
If > 0, this variable is coupled using the internal coupling mechanism.
Restricted to fields with CS_FIELD_VARIABLE type.
| int 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.
| double diffusivity_extrapolated |



The value of 
thetvs is deduced from the value chosen for time_extrapolated key word. Generally, only the value 0.5 is used.
| int diffusivity_id |
Field id of the matching dynamic molecular diffusivity for a scalar ( 
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.
| double diffusivity_ref |
Reference molecular dynamic diffusivity for a scalar ( 






| int first_moment_id |
For a variance of a given field, id of the base (first moment) field.
| char* label |
Optional label associated to the field; if NULL, name will be used instead.
| int limiter_choice |
Integer corresponding to the type of Roe-Sweby Limiter:
Restricted to fields with CS_FIELD_VARIABLE type.
| int 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.
| int post_vis |
Postprocessing and visualization flag for this field; The value may be a combination (sum) of:
| char* restart_file |
Indicates in which restart file the associated info may be found.
If NULL, default rules apply.
| int scalar_diffusivity_prev |
scalar dynamic diffusivity ( 
| int scalar_id |
Matching scalar id (inverse Fortran isca(iscal) ), or -1 if the field does not represent a solved scalar type variable.
| int 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, ...).


![$(S_i\phi)^{n+\theta}=S_i^n[(1-\theta)\phi^n+\theta\phi^{n+1}]$](form_197.png)

thetav associated with the variable 

![$(S_e)^{n+\theta}=[(1+\theta)S_e^n-\theta S_e^{n-1}]$](form_200.png)




| cs_solving_info_t* 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.
| double st_exp_extrapolated |



The value of 
thetss is deduced from the value chosen for scalar_time_scheme. Generally, only the value 0.5 is used.
| int time_extrapolated |
Is the field time-extrapolated?

![$\phi^{n+\theta}=[(1+\theta)\phi^n-\theta \phi^{n-1}]$](form_804.png)



| double time_step_factor |
Multiplicator coefficient for the time step of each variable
| double turbulent_flux_ctheta |
Coefficient of GGDH and AFM turbulent flux models.
| double turbulent_flux_model |
Turbulent flux model
| cs_equation_param_t* var_cal_opt |
Structure containing the equation parameters of a solved variable.
Restricted to fields with CS_FIELD_VARIABLE type.
| int variance_clipping |
For every scalar representing the average of the square of the fluctuations of another scalar (noted $f$), indicator of the clipping method:




| double variance_dissipation |
Represents the coefficient $R_f$ in the dissipation term 