8.1
general documentation
cs_coolprop.hxx File Reference
#include "cs_physical_properties.h"
#include "cs_base.h"
+ Include dependency graph for cs_coolprop.hxx:

Go to the source code of this file.

Functions

void cs_phys_prop_coolprop (char *coolprop_material, const char *coolprop_backend, 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[])
 Computes physical properties in (P,h,Yi) for compressible flow. More...
 
void cs_coolprop_finalize (void)
 Free state for Coolprop plugin. More...
 

Function Documentation

◆ cs_coolprop_finalize()

void cs_coolprop_finalize ( void  )

Free state for Coolprop plugin.

◆ cs_phys_prop_coolprop()

void cs_phys_prop_coolprop ( char *  coolprop_material,
const char *  coolprop_backend,
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[] 
)

Computes physical properties in (P,h,Yi) for compressible flow.

Computes physical properties in (P,h,Yi) for compressible flow.

Parameters
[in]coolprop_materialCoolProp material
[in]coolprop_backendCoolProp backend ("HEOS" by default, "SRK" for cubic, "TTSE&HEOS" or "BICUBIC&HEOS" for tabulated)
[in]thermo_planetype of thermal plane
[in]propertytype of property to compute
(in]n_vals size of variable and property arrays
[in]var1first variable of thermodynamic plane (pressure)
[in]var2second variable of thermodynamic plane
[out]valcomputed property values
[in]coolprop_materialCoolProp material
[in]coolprop_backendCoolProp backend ("HEOS" by default, "SRK" for cubic, "TTSE&HEOS" or "BICUBIC&HEOS" for tabulated)
[in]thermo_planetype of thermal plane
[in]propertytype of property to compute
(in]n_vals size of variable and property arrays
[in]var1first variable of thermodynamic plane (pressure)
[in]var2second variable of thermodynamic plane
[out]valcomputed property values