My Project
programmer's documentation
Functions
cs_coolprop.cxx File Reference
#include "cs_defs.h"
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <math.h>
#include "CoolProp.h"
#include "bft_error.h"
#include "bft_mem.h"
#include "bft_printf.h"
#include "cs_fp_exception.h"
#include "cs_coolprop.hxx"
Include dependency graph for cs_coolprop.cxx:

Functions

void cs_phys_prop_coolprop (char *CoolPropMaterial, 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...
 

Function Documentation

◆ cs_phys_prop_coolprop()

void cs_phys_prop_coolprop ( char *  CoolPropMaterial,
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.

Parameters
[in]CoolPropMaterialtype of material
[in]thermo_planetype of thermal plane
[in]propertytype of property to compute
[in]n_valssize of properties arrays
[in]var1array of pressure
[in]var2array of thermal properties
[out]valarray of property