9.0
general documentation
cs_combustion_ht_convert.h File Reference
#include "base/cs_defs.h"
+ Include dependency graph for cs_combustion_ht_convert.h:

Go to the source code of this file.

Functions

cs_real_t cs_combustion_h_to_t (const cs_real_t x_sp[], cs_real_t h)
 Convert an enthalpy to temperature value for gas combustion. More...
 
static cs_real_t cs_gas_combustion_h_to_t (const cs_real_t x_sp[], cs_real_t h)
 Convert an enthalpy to temperature value for gas combustion. More...
 
cs_real_t cs_combustion_t_to_h (const cs_real_t x_sp[], cs_real_t t)
 Convert a temperature to enthalpy value for gas combustion. More...
 
static cs_real_t cs_gas_combustion_t_to_h (const cs_real_t x_sp[], cs_real_t t)
 Convert a temperature to enthalpy value for gas combustion. More...
 
void cs_combustion_ht_convert_h_to_t_faces (const cs_real_t h[], cs_real_t t[])
 
cs_real_t cs_combustion_ht_convert_t_to_h (cs_real_t xsp[], cs_real_t t)
 Convert temperature to enthalpy for gas combustion. More...
 
void cs_combustion_ht_convert_t_to_h_faces_l (cs_lnum_t n_faces, const cs_lnum_t face_ids[], const cs_real_t t[], cs_real_t h[])
 Convert temperature to enthalpy at selected boundary faces for gas combustion. More...
 
void cs_combustion_ht_convert_t_to_h_faces_z (const cs_zone_t *z, const cs_real_t t[], cs_real_t h[])
 Convert temperature to enthalpy for a given boundary zone with a gas combustio model, using dense storage for temperature and enthalpy arrays. More...
 

Function Documentation

◆ cs_combustion_h_to_t()

cs_real_t cs_combustion_h_to_t ( const cs_real_t  x_sp[],
cs_real_t  h 
)

Convert an enthalpy to temperature value for gas combustion.

Parameters
[in]x_spmass fraction of constituents
[in]henthalpy
Returns
temperature

◆ cs_combustion_ht_convert_h_to_t_faces()

void cs_combustion_ht_convert_h_to_t_faces ( const cs_real_t  h[],
cs_real_t  t[] 
)

◆ cs_combustion_ht_convert_t_to_h()

cs_real_t cs_combustion_ht_convert_t_to_h ( cs_real_t  xsp[],
cs_real_t  t 
)

Convert temperature to enthalpy for gas combustion.

Parameters
[in]xspmasss fraction of constituents
[in]ttemperature value
Returns
enthalpy value

◆ cs_combustion_ht_convert_t_to_h_faces_l()

void cs_combustion_ht_convert_t_to_h_faces_l ( cs_lnum_t  n_faces,
const cs_lnum_t  face_ids[],
const cs_real_t  t[],
cs_real_t  h[] 
)

Convert temperature to enthalpy at selected boundary faces for gas combustion.

This handles both user and model enthalpy conversions, so can be used safely whenever conversion is needed.

Parameters
[in]n_facesnumber of selected boundary faces
[in]face_idslist of associated face ids
[in]ttemperature values
[out]henthalpy values

◆ cs_combustion_ht_convert_t_to_h_faces_z()

void cs_combustion_ht_convert_t_to_h_faces_z ( const cs_zone_t z,
const cs_real_t  t[],
cs_real_t  h[] 
)

Convert temperature to enthalpy for a given boundary zone with a gas combustio model, using dense storage for temperature and enthalpy arrays.

This handles both user and model enthalpy conversions, so can be used safely whenever conversion is needed.

Parameters
[in]zpointer to selected zone.
[in]ttemperature values
[out]henthalpy values

◆ cs_combustion_t_to_h()

cs_real_t cs_combustion_t_to_h ( const cs_real_t  x_sp[],
cs_real_t  t 
)

Convert a temperature to enthalpy value for gas combustion.

Parameters
[in]x_spmass fraction of constituents
[in]ttemperature at cells
Returns
enthalpy

◆ cs_gas_combustion_h_to_t()

static cs_real_t cs_gas_combustion_h_to_t ( const cs_real_t  x_sp[],
cs_real_t  h 
)
inlinestatic

Convert an enthalpy to temperature value for gas combustion.

Deprecated:
Use cs_combustion_h_to_t instead.
Parameters
[in]x_spmass fraction of constituents
[in]henthalpy
Returns
temperature

◆ cs_gas_combustion_t_to_h()

static cs_real_t cs_gas_combustion_t_to_h ( const cs_real_t  x_sp[],
cs_real_t  t 
)
inlinestatic

Convert a temperature to enthalpy value for gas combustion.

Deprecated:
Use cs_combustion_t_to_h instead.
Parameters
[in]x_spmass fraction of constituents
[in]ttemperature at cells
Returns
enthalpy