7.1
general documentation
cs_lagr_coupling.h File Reference
#include "cs_defs.h"
+ Include dependency graph for cs_lagr_coupling.h:

Go to the source code of this file.

Functions

void cs_lagr_coupling (const cs_real_t taup[], const cs_real_t tempct[], cs_real_t tsfext[], const cs_real_t cpgd1[], const cs_real_t cpgd2[], const cs_real_t cpght[])
 Compute source terms for Lagrangian 2-way coupling. More...
 

Function Documentation

◆ cs_lagr_coupling()

void cs_lagr_coupling ( const cs_real_t  taup[],
const cs_real_t  tempct[],
cs_real_t  tsfext[],
const cs_real_t  cpgd1[],
const cs_real_t  cpgd2[],
const cs_real_t  cpght[] 
)

Compute source terms for Lagrangian 2-way coupling.

Remarks
Source terms are computed for the starting cell of a particle during a given iteration. Even if particle exits the domain, it s necessary to compute a source term matching the exchange between the carrier fluid and the particle at the beginning of the time step. If cs_glob_lagr_time_step->nor == 2 and the particle interacts with a boundary, then the source terms are computed as if nor == 1.
Parameters
[in]taupdynamic characteristic time
[in]tempctthermal charactersitic time
[out]tsfextexternal forces
[in]cpgd1devolatization term 1 for heterogeneous coal
[in]cpgd2devolatization term 2 for heterogeneous coal
[in]cpghtcombustion term for heterogeneous coal