#include "base/cs_defs.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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. |
Convert an enthalpy to temperature value for gas combustion.
[in] | x_sp | mass fraction of constituents |
[in] | h | enthalpy |
Convert temperature to enthalpy for gas combustion.
[in] | xsp | masss fraction of constituents |
[in] | t | temperature value |
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.
[in] | n_faces | number of selected boundary faces |
[in] | face_ids | list of associated face ids |
[in] | t | temperature values |
[out] | h | enthalpy values |
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.
[in] | z | pointer to selected zone. |
[in] | t | temperature values |
[out] | h | enthalpy values |
Convert a temperature to enthalpy value for gas combustion.
[in] | x_sp | mass fraction of constituents |
[in] | t | temperature at cells |
Convert an enthalpy to temperature value for gas combustion.
[in] | x_sp | mass fraction of constituents |
[in] | h | enthalpy |
Convert a temperature to enthalpy value for gas combustion.
[in] | x_sp | mass fraction of constituents |
[in] | t | temperature at cells |