programmer's documentation
Functions
cs_physical_properties.c File Reference
#include "cs_defs.h"
#include <assert.h>
#include <math.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <dlfcn.h>
#include "bft_error.h"
#include "bft_mem.h"
#include "bft_printf.h"
#include "cs_physical_properties.h"
Include dependency graph for cs_physical_properties.c:

Functions

void cs_thermal_table_set (const char *material, const char *method, const char *phas, const char *reference, cs_phys_prop_thermo_plane_type_t thermo_plane, const 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, const cs_lnum_t n_vals, const cs_real_t var1[], const cs_real_t var2[], cs_real_t val[])
 Compute a 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...
 

Function Documentation

void cs_phys_prop_compute ( 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 a property.

Parameters
[in]propertyproperty queried
[in]n_valsnumber of values
[in]var1values on first plane axis
[in]var2values on second plane axis
[out]valresulting property values
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.

Parameters
[in]thermo_planethermodynamic plane
[in]propertyproperty queried
[in]n_valsnumber of values
[in]var1values on first plane axis
[in]var2values on second plane axis
[out]valresulting property values
void cs_thermal_table_finalize ( void  )

finalize thermal table.

void cs_thermal_table_set ( const char *  material,
const char *  method,
const char *  phas,
const char *  reference,
cs_phys_prop_thermo_plane_type_t  thermo_plane,
const int  temp_scale 
)

Define thermal table.