#include "cs_defs.h"
#include <assert.h>
#include <math.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "bft_mem.h"
#include "bft_error.h"
#include "cs_coal.h"
#include "cs_field.h"
#include "cs_log.h"
#include "cs_math.h"
#include "cs_mesh.h"
#include "cs_mesh_location.h"
#include "cs_physical_constants.h"
#include "cs_physical_model.h"
#include "cs_prototypes.h"
#include "cs_volume_zone.h"
#include "cs_coal_ht_convert.h"
Functions | |
void | cs_coal_ht_convert_h_to_t_gas (int location_id, const cs_real_t eh[], cs_real_t tp[]) |
Calculation of the gas temperature from gas enthalpy and concentrations at cells for coal combustion. More... | |
cs_real_t | cs_coal_ht_convert_h_to_t_gas_by_yi_f1f2 (cs_real_t eh, const cs_real_t xesp[], const cs_real_t f1mc[], const cs_real_t f2mc[]) |
Calculation of the gas temperature from gas enthalpy and given mass fractions and average f1/f2 for coal combustion. More... | |
cs_real_t | cs_coal_ht_convert_t_to_h_gas_by_yi_f1f2 (cs_real_t tp, const cs_real_t xesp[], const cs_real_t f1mc[], const cs_real_t f2mc[]) |
Calculation of the gas enthalpy from gas temperature and given mass fractions and average f1/f2 for coal combustion. More... | |
cs_real_t | cs_coal_ht_convert_h_to_t_gas_by_yi (cs_real_t eh, const cs_real_t xesp[]) |
Calculation of the gas temperature from gas enthalpy and given mass fractions for coal combustion. More... | |
cs_real_t | cs_coal_ht_convert_t_to_h_gas_by_yi (cs_real_t tp, const cs_real_t xesp[]) |
Calculation of the gas enthalpy from gas temperature and given mass fractions for coal combustion. More... | |
cs_real_t | cs_coal_ht_convert_h_to_t_gas_by_yi_with_drying (cs_real_t eh, const cs_real_t xesp[]) |
Calculation of the gas temperature from gas enthalpy and given mass fractions for coal combustion with drying. More... | |
cs_real_t | cs_coal_ht_convert_t_to_h_gas_by_yi_with_drying (cs_real_t tp, const cs_real_t xesp[]) |
Calculation of the gas enthalpy from gas temperature and given mass fractions for coal combustion with drying. More... | |
void | cs_coal_ht_convert_h_to_t_particles (void) |
Calculation of the particles temperature from particles enthalpy and concentrations at cells for coal combustion. More... | |
cs_real_t | cs_coal_ht_convert_h_to_t_particles_by_yi (cs_real_t enthal, int class_id, const cs_real_t xsolid[], cs_real_t t1) |
Calculation of the particles temperature from particles enthalpy and given mass fractions for coal combustion. More... | |
cs_real_t | cs_coal_ht_convert_t_to_h_particles_by_yi (cs_real_t temper, int class_id, const cs_real_t xsolid[]) |
Calculation of the particles enthalpy from particles temperature and given mass fractions for coal combustion. More... | |
void | cs_coal_ht_convert_t_to_h_faces (cs_lnum_t n_faces, const cs_lnum_t face_ids[], const cs_real_t t_b[], cs_real_t h_b[]) |
Calculation of the gas temperature from gas enthalpy and concentrations at cells for coal combustion.
[in] | location_id | mesh location id (cells or boundary faces) |
[in] | eh | gas enthalpy (j/kg of gaseous mixture) |
[out] | tp | gas temperature in kelvin |
Calculation of the gas temperature from gas enthalpy and given mass fractions for coal combustion.
[in] | eh | gas enthalpy ( ![]() |
[in] | xesp | mass fraction (yi) of species |
cs_real_t cs_coal_ht_convert_h_to_t_gas_by_yi_f1f2 | ( | cs_real_t | eh, |
const cs_real_t | xesp[], | ||
const cs_real_t | f1mc[], | ||
const cs_real_t | f2mc[] | ||
) |
Calculation of the gas temperature from gas enthalpy and given mass fractions and average f1/f2 for coal combustion.
[in] | eh | gas enthalpy ( ![]() |
[in] | xesp | mass fraction (yi) of species |
[in] | f1mc | average f1 per coal |
[in] | f2mc | average f2 per coal |
Calculation of the gas temperature from gas enthalpy and given mass fractions for coal combustion with drying.
[in] | eh | gas enthalpy ( ![]() |
[in] | xesp | mass fraction (yi) of species |
void cs_coal_ht_convert_h_to_t_particles | ( | void | ) |
Calculation of the particles temperature from particles enthalpy and concentrations at cells for coal combustion.
cs_real_t cs_coal_ht_convert_h_to_t_particles_by_yi | ( | cs_real_t | enthal, |
int | class_id, | ||
const cs_real_t | xsolid[], | ||
cs_real_t | t1 | ||
) |
Calculation of the particles temperature from particles enthalpy and given mass fractions for coal combustion.
[in] | enthal | mass enthalpy ( ![]() |
[in] | class_id | class id (0 to n-1) |
[in] | xesp | mass fraction of components (size: cm->nsolid) |
[in] | t1 | coal inlet/boundary temperature |
void cs_coal_ht_convert_t_to_h_faces | ( | cs_lnum_t | n_faces, |
const cs_lnum_t | face_ids[], | ||
const cs_real_t | t_b[], | ||
cs_real_t | h_b[] | ||
) |
Calculation of the gas enthalpy from gas temperature and given mass fractions for coal combustion.
Calculation of the gas enthalpy from gas temperature and given mass fractions for coal combustion and 0 f1 and f2 values.
[in] | tp | gas temperature (in kelvin) |
[in] | xesp | mass fraction (yi) of species |
cs_real_t cs_coal_ht_convert_t_to_h_gas_by_yi_f1f2 | ( | cs_real_t | tp, |
const cs_real_t | xesp[], | ||
const cs_real_t | f1mc[], | ||
const cs_real_t | f2mc[] | ||
) |
Calculation of the gas enthalpy from gas temperature and given mass fractions and average f1/f2 for coal combustion.
[in] | tp | gas temperature (in kelvin) |
[in] | xesp | mass fraction (yi) of species |
[in] | f1mc | average f1 per coal |
[in] | f2mc | average f2 per coal |
Calculation of the gas enthalpy from gas temperature and given mass fractions for coal combustion with drying.
[in] | tp | gas temperature (in kelvin) |
[in] | xesp | mass fraction (yi) of species |
cs_real_t cs_coal_ht_convert_t_to_h_particles_by_yi | ( | cs_real_t | temper, |
int | class_id, | ||
const cs_real_t | xsolid[] | ||
) |
Calculation of the particles enthalpy from particles temperature and given mass fractions for coal combustion.
[in] | temper | temperature (in kelvin) |
[in] | class_id | class id (0 to n-1) |
[in] | xesp | mass fraction of components (size: cm->nsolid) |