My Project
programmer's documentation
Variables
Collaboration diagram for Stokes options:

Variables

integer(c_int), pointer, save ivisse
 Indicates whether the source terms in transposed gradient and velocity divergence should be taken into account in the momentum equation. In the compressible module, these terms also account for the volume viscosity (cf. viscv0 and iviscv) $\partial_i \left[(\kappa -2/3\,(\mu+\mu_t))\partial_k U_k \right] + \partial_j \left[ (\mu+\mu_t)\partial_i U_j \right]$: More...
 
integer(c_int), pointer, save irevmc
 Reconstruction of the velocity field with the updated pressure option. More...
 
integer(c_int), pointer, save iprco
 Compute the pressure step thanks to the continuity equation. More...
 
real(c_double), pointer, save arak
 Arakawa multiplicator for the Rhie and Chow filter (1 by default) More...
 
integer(c_int), pointer, save ipucou
 indicates the algorithm for velocity/pressure coupling: More...
 
integer(c_int), pointer, save iccvfg
 
integer(c_int), pointer, save idilat
 Algorithm to take into account the density variation in time. More...
 
integer, save ipredfl
 Option to switch on massflux predcition befor momentum solving to be fully conservative in momentum over time for variable density flows. This option is to be removed. More...
 
real(c_double), pointer, save epsdp
 parameter of diagonal pressure strengthening More...
 
integer, dimension(ntypmx), save idebty
 
integer, dimension(ntypmx), save ifinty
 
integer(c_int), pointer, save itbrrb
 accurate treatment of the wall temperature More...
 
integer(c_int), pointer, save iphydr
 improve static pressure algorithm More...
 
integer(c_int), pointer, save igprij
 improve static pressure algorithm More...
 
integer(c_int), pointer, save igpust
 improve static pressure algorithm More...
 
integer(c_int), pointer, save iifren
 indicates the presence of a Bernoulli boundary face (automatically computed) More...
 
integer, save ifrslb
 number of the closest free standard outlet (or free inlet) face to xyzp0 More...
 
integer, save itbslb
 max of ifrslb on all ranks, standard outlet face presence indicator More...
 
integer(c_int), pointer, save icalhy
 compute the hydrostatic pressure in order to compute the Dirichlet conditions on the pressure at outlets More...
 
integer(c_int), pointer, save irecmf
 use interpolated face diffusion coefficient instead of cell diffusion coefficient for the mass flux reconstruction for the non-orthogonalities More...
 
logical(c_bool), pointer, save fluid_solid
 Has a solid zone where dynamics must be killed? More...
 
integer, save icophc
 choice the way to compute the exchange coefficient of the condensation source term used by the copain model More...
 
integer, save icophg
 choice the way to compute the thermal exchange coefficient associated to the heat transfer to wall due to the condensation phenomenon More...
 
integer, save itag1d
 choice the way to compute the wall temperature at the solid/fluid interface coupled with condensation to the wall More...
 
integer, save itagms
 choice the way to compute the wall temperature at the solid/fluid interface coupled with condensation to the metal mass structures wall More...
 
integer, dimension(nestmx), save iescal
 iescal indicates the calculation mode for the error estimator iespre, iesder, iescor or iestot for the Navier-Stokes equation: More...
 
integer(c_int), pointer, save n_buoyant_scal
 n_buoyant_scal is the number of buoyant scalar It will be zero if there is no buoyant scalar More...
 

Detailed Description

Variable Documentation

◆ arak

real(c_double), pointer, save arak

Arakawa multiplicator for the Rhie and Chow filter (1 by default)

◆ epsdp

real(c_double), pointer, save epsdp

parameter of diagonal pressure strengthening

◆ fluid_solid

logical(c_bool), pointer, save fluid_solid

Has a solid zone where dynamics must be killed?

  • false (default)
  • true

◆ icalhy

integer(c_int), pointer, save icalhy

compute the hydrostatic pressure in order to compute the Dirichlet conditions on the pressure at outlets

  • 1: true
  • 0: false (default)

◆ iccvfg

integer(c_int), pointer, save iccvfg

indicates whether the dynamic field should be frozen or not:

  • 1: true
  • 0: false (default)
    In such a case, the values of velocity, pressure and the variables related to the potential turbulence model ( $k$, $R_{ij}$, $\varepsilon$, $\varphi$, $\bar{f}$, $\omega$, turbulent viscosity) are kept constant over time and only the equations for the scalars are solved.
    Also, if iccvfg = 1, the physical properties modified in cs_user_physical_properties will keep being updated. Beware of non-consistencies if these properties would normally affect the dynamic field (modification of density for instance).
    Useful if and only if nscal $>$ 0 and the calculation is a restart.

◆ icophc

integer, save icophc

choice the way to compute the exchange coefficient of the condensation source term used by the copain model

  • 1: the turbulent exchange coefficient of the flow
  • 2: the exchange coefficient of the copain correlation
  • 3: the maximal value between the two previous exchange coefficients

◆ icophg

integer, save icophg

choice the way to compute the thermal exchange coefficient associated to the heat transfer to wall due to the condensation phenomenon

  • 2: the thermal exchange coefficient of the copain correlation
  • 3: the maximal value between the current and previous thermal exchange coefficient evaluated by the copain correlation

◆ idebty

integer, dimension(ntypmx), save idebty

◆ idilat

integer(c_int), pointer, save idilat

Algorithm to take into account the density variation in time.

  • 1: dilatable steady algorithm (default)
  • 2: dilatable unsteady algorithm
  • 3: low-Mach algorithm
  • 4: algorithm for fire

◆ iescal

integer, dimension(nestmx), save iescal

iescal indicates the calculation mode for the error estimator iespre, iesder, iescor or iestot for the Navier-Stokes equation:

  • 0: estimator not calculated,
  • 1: the estimator $ \eta^{*}_{i,1}$ is calculated, without contribution of the volume,
  • 2: the estimator $ \eta^{*}_{i,2}$ is calculated, with contribution of the volume (norm $L^2$), except for iescor, for which $|\Omega_i|\ \eta^{corr}_{i,1}\ $ is calculated. The names of the estimators appearing in the log and the post-processing are made up of the default name (given before), followed by the value of iescal}. For instance, EsPre2 is the estimator iespre calculated with iescal = 2.

◆ ifinty

integer, dimension(ntypmx), save ifinty

◆ ifrslb

integer, save ifrslb

number of the closest free standard outlet (or free inlet) face to xyzp0

◆ igprij

integer(c_int), pointer, save igprij

improve static pressure algorithm

  • 1: take -div(rho R) in the static pressure treatment IF iphydr=1
  • 0: no treatment (default)

◆ igpust

integer(c_int), pointer, save igpust

improve static pressure algorithm

  • 1: take user source term in the static pressure treatment IF iphydr=1 (default)
  • 0: no treatment

◆ iifren

integer(c_int), pointer, save iifren

indicates the presence of a Bernoulli boundary face (automatically computed)

  • 0: no face
  • 1: at least one face

◆ iphydr

integer(c_int), pointer, save iphydr

improve static pressure algorithm

  • 1: impose the equilibrium of the static part of the pressure with any external force, even head losses
  • 2: compute an hydrostatic pressure due to buoyancy forces before the prediction step
  • 0: no treatment (default) When the density effects are important, the choice of iphydr = 1 allows to improve the interpolation of the pressure and correct the non-physical velocities which may appear in highly stratified areas or near horizontal walls (thus avoiding the use of extrag if the non-physical velocities are due only to gravity effects).
    The improved algorithm also allows eradicating the velocity oscillations which tend to appear at the frontiers of areas with high head losses.
    In the case of a stratified flow, the calculation cost is higher when the improved algorithm is used (about 30% depending on the case) because the hydrostatic pressure must be recalculated at the outlet boundary conditions: see icalhy.
    On meshes of insufficient quality, in order to improve the convergence, it may be useful to increase the number of iterations for the reconstruction of the pressure right-hand side, i.e. nswrsm.
    If head losses are present just along an outlet boundary, it is necessary to specify icalhy = 0 in order to deactivate the recalculation of the hydrostatic pressure at the boundary, which may otherwise cause instabilities. Please refer to the handling of the hydrostatic pressure section of the theory guide for more informations.

◆ iprco

integer(c_int), pointer, save iprco

Compute the pressure step thanks to the continuity equation.

  • 1: true (default)
  • 0: false

◆ ipredfl

integer, save ipredfl

Option to switch on massflux predcition befor momentum solving to be fully conservative in momentum over time for variable density flows. This option is to be removed.

◆ ipucou

integer(c_int), pointer, save ipucou

indicates the algorithm for velocity/pressure coupling:

  • 0: standard algorithm,
  • 1: reinforced coupling in case calculation with long time steps
    Always useful (it is seldom advised, but it can prove very useful, for instance, in case of flows with weak convection effects and highly variable viscosity).

◆ irecmf

integer(c_int), pointer, save irecmf

use interpolated face diffusion coefficient instead of cell diffusion coefficient for the mass flux reconstruction for the non-orthogonalities

  • 1: true
  • 0: false (default)

◆ irevmc

integer(c_int), pointer, save irevmc

Reconstruction of the velocity field with the updated pressure option.

  • 0: default
  • 1: from the mass flux with a RT0 like recontruction

◆ itag1d

integer, save itag1d

choice the way to compute the wall temperature at the solid/fluid interface coupled with condensation to the wall

  • 1: the wall temperature is computed with a 1-D thermal model with implicit numerical scheme
  • 0: the wall temperature is imposed as constant by the user (default) exchange coefficient evaluated by the copain correlation

◆ itagms

integer, save itagms

choice the way to compute the wall temperature at the solid/fluid interface coupled with condensation to the metal mass structures wall

  • 1: the wall temperature is computed with a 0-D thermal model with explicit numerical scheme
  • 0: the wall temperature is imposed as constant by the user (default) and past to the copain correlation to evaluate the exchange coefficient

◆ itbrrb

integer(c_int), pointer, save itbrrb

accurate treatment of the wall temperature

  • 1: true
  • 0: false (default) (see condli, useful in case of coupling with syrthes)

◆ itbslb

integer, save itbslb

max of ifrslb on all ranks, standard outlet face presence indicator

◆ ivisse

integer(c_int), pointer, save ivisse

Indicates whether the source terms in transposed gradient and velocity divergence should be taken into account in the momentum equation. In the compressible module, these terms also account for the volume viscosity (cf. viscv0 and iviscv) $\partial_i \left[(\kappa -2/3\,(\mu+\mu_t))\partial_k U_k \right] + \partial_j \left[ (\mu+\mu_t)\partial_i U_j \right]$:

  • 0: not taken into account,
  • 1: taken into account.

◆ n_buoyant_scal

integer(c_int), pointer, save n_buoyant_scal

n_buoyant_scal is the number of buoyant scalar It will be zero if there is no buoyant scalar