#include "base/cs_defs.h"#include <assert.h>#include <math.h>#include <stdarg.h>#include <stdlib.h>#include <stdio.h>#include <string.h>#include "bft/bft_error.h"#include "base/cs_boundary.h"#include "base/cs_boundary_conditions.h"#include "cogz/cs_combustion_boundary_conditions.h"#include "cogz/cs_combustion_gas.h"#include "base/cs_field.h"#include "base/cs_field_pointer.h"#include "base/cs_log.h"#include "base/cs_math.h"#include "base/cs_mem.h"#include "mesh/cs_mesh.h"#include "mesh/cs_mesh_location.h"#include "base/cs_physical_constants.h"#include "pprt/cs_physical_model.h"#include "base/cs_prototypes.h"#include "cogz/cs_combustion_ht_convert.h"
Include dependency graph for cs_combustion_ht_convert.cpp: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... | |
| 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... | |
| void | cs_combustion_ht_convert_h_to_t_faces (const cs_real_t h[], cs_real_t t[]) |
| 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... | |
Convert an enthalpy to temperature value for gas combustion.
| [in] | x_sp | mass fraction of constituents |
| [in] | h | enthalpy |
| 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 |