Time scheme descriptor. More...
#include <cs_parameters.h>
 Collaboration diagram for cs_time_scheme_t:
 Collaboration diagram for cs_time_scheme_t:| Data Fields | |
| int | time_order | 
| int | istmpf | 
| int | isno2t | 
| int | isto2t | 
| double | thetsn | 
| double | thetst | 
| double | thetvi | 
| double | thetcp | 
| int | iccvfg | 
Time scheme descriptor.
Members of the time scheme structure are publicly accessible, to allow for concise syntax, as they are expected to be used in many places.
| iccvfg | 
indicates whether the dynamic field should be frozen or not:
 ,
,  ,
,  ,
,  ,
,  ,
,  , turbulent viscosity) are kept constant over time and only the equations for the scalars are solved.
, turbulent viscosity) are kept constant over time and only the equations for the scalars are solved. 0 and the calculation is a restart.
 0 and the calculation is a restart. | isno2t | 
Specifies the time scheme for the source terms of the momentum equation, apart from convection and diffusion (for instance: head loss, transposed gradient, ...).
 which are linear functions of the solved variable
 which are linear functions of the solved variable  are expressed as second-order terms by interpolation (according to the formula
 are expressed as second-order terms by interpolation (according to the formula ![$(S_i\phi)^{n+\theta}=S_i^n[(1-\theta)\phi^n+\theta\phi^{n+1}]$](form_195.png) ,
,  being given by the value of theta associated with the variable
 being given by the value of theta associated with the variable  ); the other terms
); the other terms  are expressed as second-order terms by extrapolation (according to the formula
 are expressed as second-order terms by extrapolation (according to the formula ![$(S_e)^{n+\theta}=[(1+\theta)S_e^n-\theta S_e^{n-1}]$](form_198.png) ,
,  being given by the value of thetsn = 0.5).
 being given by the value of thetsn = 0.5). are treated in the same way as when isno2t = 1; the other terms
 are treated in the same way as when isno2t = 1; the other terms  are extrapolated according to the same formula as when isno2t = 1, but with
 are extrapolated according to the same formula as when isno2t = 1, but with  = thetsn = 1. By default, isno2t is initialized to 1 (second-order) when the selected time scheme is second-order (ischtp = 2), otherwise to 0.
= thetsn = 1. By default, isno2t is initialized to 1 (second-order) when the selected time scheme is second-order (ischtp = 2), otherwise to 0. | istmpf | 
Time order of the mass flux scheme The chosen value for istmpf will automatically determine the value given to the variable thetfl.
 time step.
 time step.| isto2t | 
 Specifies the time scheme for the source terms of the turbulence equations i.e. related to  ,
,  ,
,  ,
,  ,
,  ,
,  ), apart from convection and diffusion.
), apart from convection and diffusion.
 which are linear functions of the solved variable
 which are linear functions of the solved variable  are expressed as second-order terms by interpolation (according to the formula
 are expressed as second-order terms by interpolation (according to the formula ![$(S_i\phi)^{n+\theta}=S_i^n[(1-\theta)\phi^n+\theta\phi^{n+1}]$](form_195.png) ,
,  being given by the value of theta associated with the variable
 being given by the value of theta associated with the variable  ); the other terms
); the other terms  are expressed as second-order terms by extrapolation (according to the formula
 are expressed as second-order terms by extrapolation (according to the formula ![$(S_e)^{n+\theta}=[(1+\theta)S_e^n-\theta S_e^{n-1}]$](form_198.png) ,
,  being given by the value of thetst = 0.5)
 being given by the value of thetst = 0.5) are treated in the same isto2t = 1; the other terms
 are treated in the same isto2t = 1; the other terms  are way as when extrapolated according to the same formula as when isto2t = 1, but with
 are way as when extrapolated according to the same formula as when isto2t = 1, but with  = thetst = 1.
= thetst = 1. models (iturb = 30 or 31); hence, it is always initialised to 0.
 models (iturb = 30 or 31); hence, it is always initialised to 0. | thetcp | 
  -scheme for the extrapolation of the physical property
-scheme for the extrapolation of the physical property  "specific heat" when the extrapolation has been activated (see time_extrapolated field key int), according to the formula
 "specific heat" when the extrapolation has been activated (see time_extrapolated field key int), according to the formula  .
.
 The value of  = thetcp is deduced from the value chosen for the specific heat. Generally, only the value 0.5 is used.
 = thetcp is deduced from the value chosen for the specific heat. Generally, only the value 0.5 is used.
| thetsn | 
  -scheme for the source terms
-scheme for the source terms  in the Navier-Stokes equations when the source term extrapolation has been activated (see isno2t), following the formula
 in the Navier-Stokes equations when the source term extrapolation has been activated (see isno2t), following the formula  .
.
 The value  = thetsn is deduced from the value chosen for isno2t. Generally only the value 0.5 is used.
 = thetsn is deduced from the value chosen for isno2t. Generally only the value 0.5 is used.
| thetst | 
  -scheme for the extrapolation of the nonlinear explicit source terms $S_e$ of the turbulence equations when the source term extrapolation has been activated (see isto2t), following the formula
-scheme for the extrapolation of the nonlinear explicit source terms $S_e$ of the turbulence equations when the source term extrapolation has been activated (see isto2t), following the formula  .
.
 The value of  is deduced from the value chosen for isto2t. Generally, only the value 0.5 is used.
 is deduced from the value chosen for isto2t. Generally, only the value 0.5 is used.
| thetvi | 
  -scheme for the extrapolation of the physical property
-scheme for the extrapolation of the physical property  "total viscosity" when the extrapolation has been activated (see time_extrapolated key word), according to the formula
 "total viscosity" when the extrapolation has been activated (see time_extrapolated key word), according to the formula  .
.
 The value of  = thetvi is deduced from the value chosen for time_extrapolated key word for the viscosity. Generally, only the value 0.5 is used.
 = thetvi is deduced from the value chosen for time_extrapolated key word for the viscosity. Generally, only the value 0.5 is used.
| time_order | 
Global time order of time stepping