Coal combustion model: source terms computation. More...
#include "cs_defs.h"
#include <assert.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "bft_mem.h"
#include "bft_printf.h"
#include "cs_array.h"
#include "cs_coal.h"
#include "cs_coal_ht_convert.h"
#include "cs_field.h"
#include "cs_field_default.h"
#include "cs_field_pointer.h"
#include "cs_gradient.h"
#include "cs_math.h"
#include "cs_mesh.h"
#include "cs_mesh_quantities.h"
#include "cs_physical_constants.h"
#include "cs_physical_model.h"
#include "cs_thermal_model.h"
#include "cs_time_step.h"
#include "cs_turbulence_model.h"
#include "cs_coal_source_terms.h"
Functions | |
void | cs_coal_source_terms_scalar (int fld_id, cs_real_t smbrs[], cs_real_t rovsdt[]) |
Compute scalar source terms for pulverized coal flame. More... | |
Coal combustion model: source terms computation.
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 , it has to be written:
Here are and
(they contain
) smbrs in kg variable/s:
i.e
.: - for velocity
[in] | fld_id | scalar field id |
[in,out] | smbrs | explicit second member |
[in,out] | rovsdt | implicit diagonal part |