Go to the source code of this file.
 | 
| enum   | cs_phys_prop_thermo_plane_type_t {  
  CS_PHYS_PROP_PLANE_PH, 
CS_PHYS_PROP_PLANE_PT, 
CS_PHYS_PROP_PLANE_PS, 
CS_PHYS_PROP_PLANE_PU, 
 
  CS_PHYS_PROP_PLANE_PV, 
CS_PHYS_PROP_PLANE_TS, 
CS_PHYS_PROP_PLANE_TX
 
 } | 
|   | 
| enum   | cs_phys_prop_type_t {  
  CS_PHYS_PROP_PRESSURE, 
CS_PHYS_PROP_TEMPERATURE, 
CS_PHYS_PROP_ENTHALPY, 
CS_PHYS_PROP_ENTROPY, 
 
  CS_PHYS_PROP_ISOBARIC_HEAT_CAPACITY, 
CS_PHYS_PROP_ISOCHORIC_HEAT_CAPACITY, 
CS_PHYS_PROP_SPECIFIC_VOLUME, 
CS_PHYS_PROP_DENSITY, 
 
  CS_PHYS_PROP_INTERNAL_ENERGY, 
CS_PHYS_PROP_QUALITY, 
CS_PHYS_PROP_THERMAL_CONDUCTIVITY, 
CS_PHYS_PROP_DYNAMIC_VISCOSITY, 
 
  CS_PHYS_PROP_SPEED_OF_SOUND
 
 } | 
|   | 
 | 
| void  | cs_thermal_table_set (const char *material, const char *method, const char *reference, cs_phys_prop_thermo_plane_type_t thermo_plane, int temp_scale) | 
|   | Define thermal table.  More...
  | 
|   | 
| void  | cs_thermal_table_finalize (void) | 
|   | finalize thermal table.  More...
  | 
|   | 
| void  | cs_phys_prop_compute (cs_phys_prop_type_t property, cs_lnum_t n_vals, cs_lnum_t var1_stride, cs_lnum_t var2_stride, const cs_real_t var1[], const cs_real_t var2[], cs_real_t val[]) | 
|   | Compute a physical property.  More...
  | 
|   | 
| void  | cs_phys_prop_freesteam (cs_phys_prop_thermo_plane_type_t thermo_plane, cs_phys_prop_type_t property, const cs_lnum_t n_vals, const cs_real_t var1[], const cs_real_t var2[], cs_real_t val[]) | 
|   | Compute properties with Freesteam in a defined thermal plane.  More...
  | 
|   | 
◆ cs_phys_prop_thermo_plane_type_t
| Enumerator | 
|---|
| CS_PHYS_PROP_PLANE_PH  |  | 
| CS_PHYS_PROP_PLANE_PT  |  | 
| CS_PHYS_PROP_PLANE_PS  |  | 
| CS_PHYS_PROP_PLANE_PU  |  | 
| CS_PHYS_PROP_PLANE_PV  |  | 
| CS_PHYS_PROP_PLANE_TS  |  | 
| CS_PHYS_PROP_PLANE_TX  |  | 
 
 
◆ cs_phys_prop_type_t
| Enumerator | 
|---|
| CS_PHYS_PROP_PRESSURE  |  | 
| CS_PHYS_PROP_TEMPERATURE  |  | 
| CS_PHYS_PROP_ENTHALPY  |  | 
| CS_PHYS_PROP_ENTROPY  |  | 
| CS_PHYS_PROP_ISOBARIC_HEAT_CAPACITY  |  | 
| CS_PHYS_PROP_ISOCHORIC_HEAT_CAPACITY  |  | 
| CS_PHYS_PROP_SPECIFIC_VOLUME  |  | 
| CS_PHYS_PROP_DENSITY  |  | 
| CS_PHYS_PROP_INTERNAL_ENERGY  |  | 
| CS_PHYS_PROP_QUALITY  |  | 
| CS_PHYS_PROP_THERMAL_CONDUCTIVITY  |  | 
| CS_PHYS_PROP_DYNAMIC_VISCOSITY  |  | 
| CS_PHYS_PROP_SPEED_OF_SOUND  |  | 
 
 
◆ cs_phys_prop_compute()
Compute a physical property. 
For values var1 and var2, we can use a stride so that accesses for a given element with id i will be of the form: var[i*stride]; this allows regular access with stride 1, and access to constant variables stored as a single-valued array with a stride of 0.
- Parameters
 - 
  
    | [in] | property | property queried  | 
    | [in] | n_vals | number of values  | 
    | [in] | var1_stride | stride between successive values of var1  | 
    | [in] | var2_stride | stride between successive values of var2  | 
    | [in] | var1 | values on first plane axis  | 
    | [in] | var2 | values on second plane axis  | 
    | [out] | val | resulting property values  | 
  
   
 
 
◆ cs_phys_prop_freesteam()
Compute properties with Freesteam in a defined thermal plane. 
- Parameters
 - 
  
    | [in] | thermo_plane | thermodynamic plane  | 
    | [in] | property | property queried  | 
    | [in] | n_vals | number of values  | 
    | [in] | var1 | values on first plane axis  | 
    | [in] | var2 | values on second plane axis  | 
    | [out] | val | resulting property values  | 
  
   
 
 
◆ cs_thermal_table_finalize()
      
        
          | void cs_thermal_table_finalize  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
 
◆ cs_thermal_table_set()