6.2
general documentation
Field keywords

Variables

char * label
 
int coupled
 
int moment_id
 
int time_extrapolated
 
int limiter_choice
 
cs_equation_param_tvar_cal_opt
 
cs_solving_info_tsolving_info
 
char * restart_file
 

Detailed Description

Variable Documentation

◆ coupled

coupled

If > 0, this variable is coupled using the internal coupling mechanism.

Restricted to fields with CS_FIELD_VARIABLE type.

◆ label

label

Optional label associated to the field; if NULL, name will be used instead.

◆ limiter_choice

limiter_choice

Integer corresponding to the type of Roe-Sweby Limiter:

  • 1: minmod
  • 2: Van-Leer
  • 3: Van-Albada
  • 4: superbee

Restricted to fields with CS_FIELD_VARIABLE type.

◆ moment_id

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

restart_file

Indicates in which restart file the associated info may be found.

If NULL, default rules apply.

◆ solving_info

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.

◆ time_extrapolated

time_extrapolated

Is the field time-extrapolated?

  • -1: default automatic value
  • 0: "standard" first-order: the value calculated at the beginning of the current time step (from the variables known at the end of the previous time step) is used
  • 1: second-order: the physical property $\phi$ is extrapolated according to the formula $\phi^{n+\theta}=[(1+\theta)\phi^n-\theta \phi^{n-1}]$, $\theta$ being given by the value of 0.5
  • 2: first-order: the physical property $\phi$ is extrapolated at $n+1$ according to the same formula as when = 1 but with $\theta$ = 1

◆ var_cal_opt

var_cal_opt

Structure containing the equation parameters of a solved variable.

Restricted to fields with CS_FIELD_VARIABLE type.