8.3
general documentation
cs_coal_ht_convert.cpp 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 "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"
+ Include dependency graph for cs_coal_ht_convert.cpp:

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[])
 

Function Documentation

◆ cs_coal_ht_convert_h_to_t_gas()

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.

Parameters
[in]location_idmesh location id (cells or boundary faces)
[in]ehgas enthalpy (j/kg of gaseous mixture)
[out]tpgas temperature in kelvin

◆ cs_coal_ht_convert_h_to_t_gas_by_yi()

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.

Parameters
[in]ehgas enthalpy ( $ j . kg^{-1} $ of mixed gas)
[in]xespmass fraction (yi) of species
Returns
gas temperature (in kelvin)

◆ cs_coal_ht_convert_h_to_t_gas_by_yi_f1f2()

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.

Parameters
[in]ehgas enthalpy ( $ j . kg^{-1} $ of mixed gas)
[in]xespmass fraction (yi) of species
[in]f1mcaverage f1 per coal
[in]f2mcaverage f2 per coal
Returns
gas temperature (in kelvin)

◆ cs_coal_ht_convert_h_to_t_gas_by_yi_with_drying()

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.

Parameters
[in]ehgas enthalpy ( $ j . kg^{-1} $ of mixed gas)
[in]xespmass fraction (yi) of species
Returns
gas temperature (in kelvin)

◆ cs_coal_ht_convert_h_to_t_particles()

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_coal_ht_convert_h_to_t_particles_by_yi()

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.

Remarks
Function not called in code, so should probably be removed, unless useful for advanced postprocessing.
Parameters
[in]enthalmass enthalpy ( $ j . kg^{-1} $)
[in]class_idclass id (0 to n-1)
[in]xespmass fraction of components (size: cm->nsolid)
[in]t1coal inlet/boundary temperature
Returns
temperature (in kelvin)

◆ cs_coal_ht_convert_t_to_h_faces()

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[] 
)

◆ cs_coal_ht_convert_t_to_h_gas_by_yi()

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.

Calculation of the gas enthalpy from gas temperature and given mass fractions for coal combustion and 0 f1 and f2 values.

Parameters
[in]tpgas temperature (in kelvin)
[in]xespmass fraction (yi) of species
Returns
gas enthalpy ( $ j . kg^{-1} $ of mixed gas)

◆ cs_coal_ht_convert_t_to_h_gas_by_yi_f1f2()

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.

Parameters
[in]tpgas temperature (in kelvin)
[in]xespmass fraction (yi) of species
[in]f1mcaverage f1 per coal
[in]f2mcaverage f2 per coal
Returns
gas enthalpy ( $ j . kg^{-1} $ of mixed gas)

◆ cs_coal_ht_convert_t_to_h_gas_by_yi_with_drying()

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.

Parameters
[in]tpgas temperature (in kelvin)
[in]xespmass fraction (yi) of species
Returns
gas enthalpy ( $ j . kg^{-1} $ of mixed gas)

◆ cs_coal_ht_convert_t_to_h_particles_by_yi()

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.

Parameters
[in]tempertemperature (in kelvin)
[in]class_idclass id (0 to n-1)
[in]xespmass fraction of components (size: cm->nsolid)
Returns
mass enthalpy ( $ j . kg^{-1} $)