maximum number of scalars solutions of an advection equation, apart from the variables of the turbulence model ) , that is to say the temperature and other scalars (passive or not, user-defined or not)
if itypfb=i_convective_inlet: inlet face where the total mass flux is prescribed.
Zero-flux condition for pressure and Dirichlet condition for all other variables. The value of the Dirichlet must be given in rcodcl(ifac,ivar,1) for every value of ivar, except for ivar = ipr. The other values of rcodcl and icodcl are filled automatically. The diffusive flux is CANCELLED (therefore the total mass flux is due to convection only).
Zero-flux condition for pressure and Dirichlet condition for all other variables. The value of the Dirichlet must be given in rcodcl(ifac,ivar,1) for every value of ivar, except for ivar = ipr. The other values of rcodcl and icodcl are filled automatically.
if itypfb=iephcf: mixed inlet for compressible flow with given total pressure and total enthalpy (reservoir boundary conditions).
Boundary values are obtained by solving a Riemann problem between an inner (values at boundary cells center) and an outer state.
Homogeneous Neumann boundary condition for the pressure (seen by the reconstruction gradients and the diffusion operator).
Dirichlet (icodcl=1) for velocity and total energy.
Analytical boundary convective fluxes of momentum and total energy are computed. Note that the pressure boundary value is needed to compute those two fluxes (seen by the pressure gradient of the momentum equation).
If the mass flow is coming in, Dirichlet condition for the scalars and the turbulent quantities is used (or zero-flux condition if no Dirichlet value has been specified).
If the mass flow is going out, zero-flux condition are set for the scalars and the turbulent quantities.
if itypfb=iesicf: imposed inlet/outlet for compressible flow (for example, supersonic inlet).
A boundary value has to be given for the following quantities:
velocity
two of the four thermodynamical properties: density, pressure, total energy, temperature
all other variables.
Homogeneous Neumann boundary condition for the pressure (seen by the reconstruction gradients and the diffusion operator).
Dirichlet condition for the velocity and the total energy.
The boundary convective fluxes of momentum and total energy are computed from a Rusanov scheme for stability reasons. Note that the pressure boundary value is needed to compute those two fluxes (seen by the pressure gradient of the momentum equation).
If the mass flow is coming in, Dirichlet condition for the scalars and the turbulent quantities is used (or zero-flux condition if no Dirichlet value has been specified).
If the mass flow is going out, zero-flux condition are set for the scalars and the turbulent quantities.
if itypfb=isolib: free outlet face (or more precisely free inlet/outlet with forced pressure)
The pressure is always treated with a Dirichlet condition, calculated with the constraint . The pressure is set to at the first isolib face met. The pressure calibration is always done on a single face, even if there are several outlets.
if the mass flow is coming in, the velocity is set to zero and a Dirichlet condition for the scalars and the turbulent quantities is used (or zero-flux condition if no Dirichlet value has been specified).
if the mass flow is going out, zero-flux condition are set for the velocity, the scalars and the turbulent quantities.
Nothing is written in icodcl or rcodcl for the pressure or the velocity. An optional Dirichlet condition can be specified for the scalars and turbulent quantities.
Remarks
A standard isolib outlet face amounts to a Dirichlet condition (icodcl=1) for the pressure, a zero Dirichlet condition if the mass flux is entering (or a homogeneous Neumann if outgoing) for the velocity, and a Dirichlet condition (icodcl=1) if the user has specified a Dirichlet value or a zero-flux condition (icodcl=3) for the other variables.
if itypfb=isopcf: mixed outlet for compressible flow with a given pressure.
Boundary values are obtained by solving a Riemann problem between an inner (values at boundary cells center) and an outer state. The given pressure is considered as an outer value.
Homogeneous Neumann boundary condition for the pressure (seen by the reconstruction gradients and the diffusion operator).
Dirichlet (icodcl=1) for the velocity and the total energy.
Analytical boundary convective fluxes of momentum and total energy are computed. Note that the pressure boundary value is needed to compute those two fluxes. (seen by the pressure gradient of the momentum equation).
If the mass flow is coming in, Dirichlet condition for the scalars and the turbulent quantities is used (or zero-flux condition if no Dirichlet value has been specified).
If the mass flow is going out, zero-flux condition are set for the scalars and the turbulent quantities.
if itypfb=isspcf: supersonic outlet for compressible flow.
Nothing needs to be given. The imposed state at the boundary is the upstream state (values in boundary cells).
Homogeneous Neumann boundary condition for the pressure (seen by the reconstruction gradients and the diffusion operator).
Dirichlet (icodcl=1) for the velocity and the total energy. (pressure boundary value seen by the pressure gradient of the momentum equation).
If the mass flow is coming in, Dirichlet condition for the scalars and the turbulent quantities is used (or zero-flux condition if no Dirichlet value has been specified).
If the mass flow is going out, zero-flux condition are set for the scalars and the turbulent quantities.
boundary condition type for mesh velocity in ALE: imposed velocity.
In the case where all the nodes of a face have a imposed displacement, it is not necessary to fill the tables with boundary conditions mesh velocity for this face, they will be erased. In the other case, the value of the Dirichlet must be given in rcodcl(ifac,ivar,1) for every value of ivar (iuma, ivma and iwma). The other boxes of rcodcl and icodcl are completed automatically. The tangential mesh velocity is taken like a tape speed under the boundary conditions of wall for the fluid, except if wall fluid velocity was specified by the user in the interface or cs_user_boundary_conditions (in which case it is this speed which is considered).
maximum number of scalars solutions of an advection equation, apart from the variables of the turbulence model ) , that is to say the temperature and other scalars (passive or not, user-defined or not)