Fluid properties descriptor. More...
#include <cs_physical_constants.h>
Data Fields | |
int | ixyzp0 |
int | icp |
int | icv |
int | iviscv |
int | irovar |
int | ivivar |
int | ivsuth |
double | ro0 |
double | viscl0 |
double | viscv0 |
double | p0 |
double | pred0 |
double | xyzp0 [3] |
double | t0 |
double | cp0 |
double | cv0 |
double | cpv0 |
double | cvl |
double | l00 |
double | lambda0 |
double | r_pg_cnst |
double | r_v_cnst |
double | rvsra |
double | clatev |
double | xmasmr |
int | ipthrm |
double | pther |
double | pthera |
double | pthermax |
double | eint0 |
double | sleak |
double | kleak |
double | roref |
Fluid properties descriptor.
Members of these fluid properties are publicly accessible, to allow for concise syntax, as they are expected to be used in many places.
double clatev |
latent heat of evaporation
double cp0 |
reference specific heat
Useful if cs_glob_thermal_model->thermal_variable != CS_THERMAL_MODEL_NONE, unless the user specifies the specific heat in the user subroutine cs_user_physical_properties (icp > 0) with the compressible module or coal combustion, cp0 is also needed even when there is no user scalar.
double cpv0 |
reference isobaric specific heat of water vapor (J/kg/K)
Useful for the moist air scheme
double cv0 |
reference isochoric specific heat (J/kg/K)
Useful for the compressible module.
double cvl |
reference specific heat for of liquid water (J/kg/K)
double eint0 |
Reference internal energy for the barotropic compressible module.
int icp |
indicates if the isobaric specific heat
int icv |
property field id of the isochoric specific heat
int ipthrm |
uniform variable thermodynamic pressure:
int irovar |
variable density field
int iviscv |
int ivivar |
variable viscosity field
int ivsuth |
Sutherland law for laminar viscosity and thermal conductivity Only useful in gas mix (igmix) specific physics
int ixyzp0 |
filling xyzp0 indicator
double kleak |
Leak head loss (2.9 by default, from Idelcick)
double l00 |
latent heat referenced at 273.15K (J/kg)
double lambda0 |
reference heat conductivity (W/m/K)
Always useful. This was previously only available through the GUI, so in most cases, is set to 1.
double p0 |
double pred0 |
reference value for the reduced pressure
It is especially used to initialise the reduced pressure and as a reference value for the outlet boundary conditions. For an optimised precision in the resolution of
double pther |
Thermodynamic pressure for the current time step.
double pthera |
thermodynamic pressure for the previous time step
double pthermax |
thermodynamic maximum pressure for user clipping, used to model a venting effect
double r_pg_cnst |
Perfect Gas specific constant in J/kg/K
This value depends on the gas since it is equal to R/M where R is the universal gas constant and M is the molar mass
double r_v_cnst |
Water vapor gas constant in J/kg/K
Useful when performing humid air simulations
double ro0 |
reference density
Negative value: not initialized. Its value is not used in gas or coal combustion modelling (it will be calculated following the perfect gas law, with
Always useful otherwise, even if a law defining the density is given by the user subroutines cs_user_physical_properties. Indeed, except with the compressible module, CS does not use the total pressure
double roref |
Initial reference density
double rvsra |
ratio gas constant h2o / dry air
double sleak |
Leak surface
double t0 |
reference temperature
Useful for the specific physics gas or coal combustion (initialization of the density), for the electricity modules to initialize the domain temperature and for the compressible module (initializations). It must be given in Kelvin.
double viscl0 |
reference molecular dynamic viscosity
Negative value: not initialized.
Always useful, it is the used value unless the user specifies the viscosity in the subroutine cs_user_physical_properties.
double viscv0 |
reference volume viscosity
Noted
Used by the compressible model, unless the user specifies a variable volume viscosity in the GUI or cs_user_physical_properties.
double xmasmr |
molar mass of the perfect gas in
Always useful.
double xyzp0[3] |
coordinates of the reference point
Always useful, except with the compressible module.