9.0
general documentation
Loading...
Searching...
No Matches
ppphyv.f90 File Reference

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

Functions/Subroutines

subroutine cs_physical_properties1 (mbrom)

Detailed Description

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

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 cs_field_set_key_int(f, kivisl, 0) if one wants the specific heat to be variable in space
Remarks
:
  • this routine is called at the beginning of each time step, thus, at the first time step, the only initialized variables are:
    • in cs_user_parameters:
      • the density (set at ro0)
      • the molecular viscosity (set to viscl0)

Here can be given:

  • the cell density in kg/m3 (and eventually the boundary density)
  • the dynamic molecular viscosity in kg/(m s)
  • the specific heat Cp in J/(kg degrees)
  • scalars diffusivities in kg/(m s)

Function/Subroutine Documentation

◆ cs_physical_properties1()

subroutine cs_physical_properties1 ( integer(c_int) mbrom)
Parameters
[in]mbromindicator of prescribed density at the boundary