#include "cs_defs.h"
#include <assert.h>
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include "bft_mem.h"
#include "bft_error.h"
#include "bft_printf.h"
#include "cs_base.h"
#include "cs_file.h"
#include "cs_log.h"
#include "cs_math.h"
#include "cs_physical_constants.h"
#include "cs_physical_model.h"
#include "cs_combustion_gas.h"
#include "cs_coal.h"
#include "cs_combustion_model.h"
Macros | |
#define | MAX_ELEMENTARY_COMPONENTS 20 |
Functions | |
void | cs_combustion_enthalpy_and_cp_from_janaf (int ncoel, int ngazem, int npo, const char nomcoel[][13], double ehcoel[], double cpcoel[], const double wmolce[], const double th[]) |
Compute Enthalpy and Cp based on the JANAF band. More... | |
Combustion model selection parameters.
#define MAX_ELEMENTARY_COMPONENTS 20 |
void cs_combustion_enthalpy_and_cp_from_janaf | ( | int | ncoel, |
int | ngazem, | ||
int | npo, | ||
const char | nomcoel[][13], | ||
double | ehcoel[], | ||
double | cpcoel[], | ||
const double | wmolce[], | ||
const double | th[] | ||
) |
Compute Enthalpy and Cp based on the JANAF band.
[in] | ncoel | number of elementary constituents |
[in] | ngazem | number of elementary constituents |
[in] | npo | number of interpolation points |
[in] | nomcoel | names of elementary constituants |
[out] | ehcoel | enthalpy for each elementary species (for point i and species j, ehcoel[i*ngazem + j]) |
[out] | cpcoel | cp for each elementary species (for point i and species j, cpcoel[i*ngazem + j]) |
[in] | wmolce | molar mass of each species |
[in] | th | temperature in K |