8.3
general documentation
optcal.f90 File Reference

Module for calculation options. More...

Modules

module  optcal
 

Functions/Subroutines

integer function iscavr (iscal)
 If scalar iscal represents the mean of the square of a scalar k, return k; otherwise, return 0. More...
 
double precision function visls0 (iscal)
 If scalar iscal represents the mean of the square of a scalar k, return k; otherwise, return 0. More...
 
subroutine indsui ()
 Initialize isuite. More...
 
subroutine time_step_init
 Initialize Fortran time step API. This maps Fortran pointers to global C structure members. More...
 
subroutine time_step_options_init
 Initialize Fortran time step options API. This maps Fortran pointers to global C structure members. More...
 
subroutine thermal_model_init
 Initialize Fortran thermal model API. This maps Fortran pointers to global C structure members. More...
 
subroutine turb_model_init
 Initialize Fortran turbulence model API. This maps Fortran pointers to global C structure members. More...
 
subroutine wall_functions_init
 Initialize Fortran wall functions API. This maps Fortran pointers to global C structure members. More...
 
subroutine turb_rans_model_init
 Initialize Fortran RANS turbulence model API. This maps Fortran pointers to global C structure members. More...
 
subroutine turb_les_model_init
 Initialize Fortran LES turbulence model API. This maps Fortran pointers to global C structure members. More...
 
subroutine turb_hybrid_model_init
 Initialize Fortran hybrid turbulence model API. This maps Fortran pointers to global C structure members. More...
 
subroutine velocity_pressure_options_init
 Initialize Fortran Stokes options API. This maps Fortran pointers to global C structure members. More...
 
subroutine space_disc_options_init
 Initialize Fortran space discretisation options API. This maps Fortran pointers to global C structure members. More...
 
subroutine time_scheme_options_init
 Initialize Fortran time scheme options API. This maps Fortran pointers to global C structure members. More...
 
subroutine restart_auxiliary_options_init
 Initialize Fortran auxiliary options API. This maps Fortran pointers to global C structure members. More...
 

Variables

integer(c_int), pointer, save ischtp
 Time order of time stepping (see cs_time_scheme_t::time_order). More...
 
integer(c_int), pointer, save istmpf
 Time order of the mass flux scheme. (see cs_time_scheme_t::istmpf). More...
 
integer(c_int), pointer, save isno2t
 Time scheme for source terms of momentum equations (see cs_time_scheme_t::isno2t). More...
 
integer(c_int), pointer, save isto2t
 Time scheme for source terms of turbulence equations (see cs_time_scheme_t::isto2t). More...
 
integer(c_int), pointer, save initro
 initro : =1 if density read from checkpoint file More...
 
integer(c_int), pointer, save imrgra
 type of gradient reconstruction More...
 
integer(c_int), pointer, save imvisf
 face viscosity field interpolation More...
 
integer, save isuite = 0
 Indicator of a calculation restart (=1) or not (=0). This value is set automatically by the code; depending on whether a restart directory is present, and should not be modified by the user (no need for C mapping). More...
 
integer(c_int), pointer, save ileaux
 Indicates the reading (=1) or not (=0) of the auxiliary calculation restart file
Useful only in the case of a calculation restart. More...
 
integer, save isuit1
  For the 1D wall thermal module, activation (1) or not(0) of the reading of the mesh and of the wall temperature from the restart file Useful if nfpt1d > 0 More...
 
integer(c_int), pointer, save ntpabs
 Absolute time step number for previous calculation. More...
 
integer(c_int), pointer, save ntcabs
 Current absolute time step number. In case of restart, this is equal to ntpabs + number of new iterations. More...
 
integer(c_int), pointer, save ntmabs
 Maximum absolute time step number. More...
 
integer(c_int), pointer, save ntinit
 Number of time steps for initalization (for all steps between 0 and ntinit, pressure is re-set to 0 before prediction correction). More...
 
real(c_double), pointer, save ttpabs
 Absolute time value for previous calculation. More...
 
real(c_double), pointer, save ttcabs
 Current absolute time. More...
 
real(c_double), pointer, save ttmabs
 Maximum absolute time. More...
 
integer(c_int), pointer, save idtvar
 option for a variable time step More...
 
real(c_double), pointer, save dtref
 Reference time step. More...
 
integer(c_int), pointer, save itherm
 thermal model More...
 
integer(c_int), pointer, save itpscl
 Temperature scale. More...
 
integer, save iscalt = -1
 Index of the thermal scalar (temperature, energy or enthalpy) More...
 
integer(c_int), pointer, save iturb
  turbulence model More...
 
integer(c_int), pointer, save itytur
 Class of turbulence model (integer value iturb/10) More...
 
integer(c_int), pointer, save hybrid_turb
 Activation of Hybrid RANS/LES model (only valid for iturb equal to 60 or 51) More...
 
integer(c_int), pointer, save irccor
 Activation of rotation/curvature correction for eddy viscosity turbulence models. More...
 
integer(c_int), pointer, save itycor
 Type of rotation/curvature correction for eddy viscosity turbulence models. More...
 
integer(c_int), pointer, save idirsm
 Turbulent diffusion model for second moment closure. More...
 
integer(c_int), pointer, save iwallf
 Wall functions Indicates the type of wall function used for the velocity boundary conditions on a frictional wall. More...
 
integer(c_int), pointer, save iwalfs
 Wall functions for scalar. More...
 
integer(c_int), pointer, save iclkep
 Indicates the clipping method used for $k$ and $\varepsilon$, for the $k-\epsilon$ and v2f models. More...
 
integer(c_int), pointer, save igrhok
 Indicates if the term $\frac{2}{3}\grad \rho k$ is taken into account in the velocity equation. More...
 
integer(c_int), pointer, save ikecou
 Indicates if the coupling of the source terms of $k$ and $\epsilon$ or $k$ and $\omega$ is taken into account or not. More...
 
integer(c_int), pointer, save reinit_turb
 Advanced re-init for EBRSM and k-omega models. More...
 
integer(c_int), pointer, save irijco
 Coupled solving of $ \tens{R} $. More...
 
integer(c_int), pointer, save irijnu
 pseudo eddy viscosity in the matrix of momentum equation to partially implicit $ \divv \left( \rho \tens{R} \right) $ More...
 
integer(c_int), pointer, save irijrb
 accurate treatment of $ \tens{R} $ at the boundary (see cs_boundary_condition_set_coeffs) More...
 
integer(c_int), pointer, save irijec
 Indicates if the wall echo terms in $R_{ij}-\epsilon$ LRR model are taken into account: More...
 
integer(c_int), pointer, save idifre
 whole treatment of the diagonal part of the diffusion tensor of $ \tens{R} $ and $ \varepsilon $ More...
 
integer(c_int), pointer, save iclsyr
 partial implicitation of symmetry BCs of $ \tens{R} $ More...
 
integer(c_int), pointer, save iclptr
 partial implicitation of wall BCs of $ \tens{R} $ More...
 
integer(c_int), pointer, save idries
 Activates or the van Driest wall-damping for the Smagorinsky constant (the Smagorinsky constant is multiplied by the damping function $1-e^{-y^+/ cdries}$, where $y^+$ designates the non-dimensional distance to the nearest wall). More...
 
integer(c_int), pointer, save iicc
 Applied or not the Internal Consistency Constraint (ICC) for the HTLES model, in order to recover the correct RANS behavior when the energy ratio is forced to one in the RANS region: More...
 
integer(c_int), pointer, save ishield
 Applied or not the two-fold shielding function ( $f_s(\xi_K,\xi_D)$ of HTLES, to properly control the RANS-to-LES transition in the vicinity of the wall: More...
 
integer, save ikwcln = 1
 Wall boundary condition on omega in k-omega SST 0: Deprecated Neumann boundary condition 1: Dirichlet boundary condition consistent with Menter's original model: w_wall = 60*nu/(beta*d**2) More...
 
integer(c_int), pointer, save i_les_balance
 Activates or not the LES balance module. More...
 
integer, save nvarcl
 number of variable (deprecated, used only for compatibility) More...
 
integer(c_int), pointer, save itpcol
 Time scheme option: More...
 
integer(c_int), pointer, save iccvfg
  indicates whether the dynamic field should be frozen or not: More...
 
integer(c_int), pointer, save idilat
 Algorithm to take into account the density variation in time. More...
 
integer(c_int), pointer, save iphydr
 Improved pressure interpolation scheme. See cs_velocity_pressure_param_t::iphydr. 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 ivofmt
 VoF model (sum of masks defining VoF model and submodels). See defined masks in Masks used to specify Volume of Fluid models. More...
 
integer drift_scalar_add_drift_flux
 flag for computing the drift mass flux: (for coal classes for instance, only the first scalar of a class compute the drift flux of the class and the other scalars use it without recomputing it) More...
 
integer drift_scalar_thermophoresis
 flag for activating thermophoresis for drift scalars More...
 
integer drift_scalar_turbophoresis
 flag for activating turbophoresis for drift scalars More...
 
integer drift_scalar_electrophoresis
 
integer drift_scalar_centrifugalforce
 flag for activating the centrifugal force for drift scalars More...
 
integer drift_scalar_imposed_mass_flux
 flag for activating imposed mass flux More...
 
integer drift_scalar_zero_bndy_flux
 flag for seting the mass flux to zero at all boundaries More...
 
integer drift_scalar_zero_bndy_flux_at_walls
 flag for seting the mass flux to zero at walls only More...
 
integer isotropic_diffusion
 flag for isotropic diffusion More...
 
integer orthotropic_diffusion
 flag for orthotropic diffusion More...
 
integer anisotropic_left_diffusion
 flag for diffusion by a left-multiplied symmetric 3x3 tensor More...
 
integer anisotropic_right_diffusion
 
integer anisotropic_diffusion
 flag for diffusion by a symmetric 3x3 tensor More...
 

Detailed Description

Module for calculation options.