programmer's documentation
Functions/Subroutines
ppphyv.f90 File Reference

These subroutineS fill physical properties which are variable in time for the dedicated physics modules (BEFORE and AFTER the user surbroutines). More...

Functions/Subroutines

subroutine cs_physical_properties1 (nvar, nscal, mbrom, dt, propce)
 
subroutine cs_physical_properties2 (mbrom, propce)
 

Detailed Description

These subroutineS fill physical properties which are variable in time for the dedicated physics modules (BEFORE and AFTER the user surbroutines).

Warning
:
  • it is forbidden to modify the turbulent viscosity here.
  • icp must be set to 1 if one wants the specific heat to be variable in space
  • it is necessary to call field_set_key_int(ivarfl(isca(iscal)), kivisl, 0) if one wants the specific heat to be variable in space
Remarks
:
  • this routine is called at the begining of each time step, thus, at the first time step, the only initialized variables are:
    • in usipsu.f90:
      • the density (set at ro0)
      • the molecular viscosity (set to viscl0)
    • in usppiv.f90:
      • the variables (0 by default)

Here can be given:

Function/Subroutine Documentation

subroutine cs_physical_properties1 ( integer  nvar,
integer  nscal,
integer  mbrom,
double precision, dimension(ncelet)  dt,
double precision, dimension(ncelet,*)  propce 
)
Parameters
[in]nvartotal number of variables
[in]nscaltotal number of scalars
[in]mbromindicator of prescribed density at the boundary
[in]dttime step (per cell)
[in]propcephysical properties at cell centers
subroutine cs_physical_properties2 ( integer  mbrom,
double precision, dimension(ncelet,*)  propce 
)
Parameters
[in,out]mbromindicator of prescribed density at the boundary
[in,out]propcephysical properties at cell centers