7.2
general documentation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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 (mbrom)
 
subroutine cs_physical_properties2
 

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:

  • 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 degres)
  • scalars diffusivities in kg/(m s)

Function/Subroutine Documentation

◆ cs_physical_properties1()

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

◆ cs_physical_properties2()

subroutine cs_physical_properties2 ( )