Coal combustion model: source terms computation. More...
#include "base/cs_defs.h"
#include <assert.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "bft/bft_mem.h"
#include "bft/bft_printf.h"
#include "base/cs_array.h"
#include "comb/cs_coal.h"
#include "comb/cs_coal_ht_convert.h"
#include "base/cs_field.h"
#include "base/cs_field_default.h"
#include "base/cs_field_pointer.h"
#include "alge/cs_gradient.h"
#include "base/cs_math.h"
#include "mesh/cs_mesh.h"
#include "mesh/cs_mesh_quantities.h"
#include "base/cs_physical_constants.h"
#include "pprt/cs_physical_model.h"
#include "base/cs_thermal_model.h"
#include "base/cs_time_step.h"
#include "turb/cs_turbulence_model.h"
#include "comb/cs_coal_source_terms.h"
Functions | |
void | cs_coal_source_terms_scalar (cs_field_t *fld_scal, cs_real_t smbrs[], cs_real_t rovsdt[]) |
Compute scalar source terms for pulverized coal flame. |
Coal combustion model: source terms computation.
void cs_coal_source_terms_scalar | ( | cs_field_t * | fld_scal, |
cs_real_t | smbrs[], | ||
cs_real_t | rovsdt[] ) |
Compute scalar source terms for pulverized coal flame.
We solve:
rovsdt and smbrs already contain eventual user source terms. So they have to be incremented and not erased.
For stability reasons, only positive terms can be added in rovsdt. There is no contraint for smbrs.
In the case of a source term in
Here are i.e
.: - for velocity
[in] | fld_scal | pointer to scalar field |
[in,out] | smbrs | explicit second member |
[in,out] | rovsdt | implicit diagonal part |