![]() |
programmer's documentation
|
Initialisation of the variables if the compressible flow model is enabled. More...
Functions/Subroutines | |
subroutine | cfxtcl (nvar, icodcl, itypfb, dt, rcodcl) |
Initialisation of the variables if the compressible flow model is enabled.
Handle boundary condition type code (itypfb) when the compressible model is enabled.
This subroutine is called at the beginning of a computation (or when a computation is resumed) before the start of the time loop.
It allows to initialise or modify (for resumed computations) the variables and the time step values.
Before this subroutine call, the density and the molecular viscosity have been initialised at ro0 and viscl0 respectively or they have been read in a checkpoint file in the case of a resumed computation. If the scalar diffusivities (visls) and the isobaric specific heat (cp) were defined (i.e. variable), their values are here at hand only if a computation is resumed.
Any modification of a physical property (density, molecular viscosity, scalar diffusivity, isobaric specific heat) shall be performed in the ppphyv subroutine and never here.
subroutine cfxtcl | ( | integer | nvar, |
integer, dimension(nfabor,nvarcl) | icodcl, | ||
integer, dimension(nfabor) | itypfb, | ||
double precision, dimension(ncelet) | dt, | ||
double precision, dimension(nfabor,nvarcl,3) | rcodcl | ||
) |
[in] | nvar | total number of variables |
[in,out] | icodcl | face boundary condition code:
|
[in] | itypfb | boundary face types |
[in] | dt | time step (per cell) |
[in,out] | rcodcl | boundary condition values:
|