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

Go to the source code of this file.

Functions

void cs_lagr_coupling_initialize (void)
 Prepare source terms for Lagrangian 2-way coupling. More...
 
void cs_lagr_coupling_increment_part_contrib (cs_lagr_particle_set_t *p_set, const cs_lnum_t p_id, const cs_real_t dt_part, const bool rebound, const cs_real_t taup, const cs_real_3_t force_p, const cs_real_2_t tempct)
 Increment the source terms for Lagrangian 2-way coupling with quantites attached to a given particle. More...
 
void cs_lagr_coupling_finalize (void)
 Finalize source terms for Lagrangian 2-way coupling by treating cell-attached properties. More...
 

Function Documentation

◆ cs_lagr_coupling_finalize()

void cs_lagr_coupling_finalize ( void  )

Finalize source terms for Lagrangian 2-way coupling by treating cell-attached properties.

◆ cs_lagr_coupling_increment_part_contrib()

void cs_lagr_coupling_increment_part_contrib ( cs_lagr_particle_set_t p_set,
const cs_lnum_t  p_id,
const cs_real_t  dt_part,
const bool  rebound,
const cs_real_t  taup,
const cs_real_3_t  force_p,
const cs_real_2_t  tempct 
)

Increment the source terms for Lagrangian 2-way coupling with quantites attached to a given particle.

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 nor == 2 and the particle interacts with a boundary, then the source terms are computed as if nor == 1.
Parameters
[in]p_setpointer to particle set
[in]p_idparticle id
[in]dt_partremaining time step associated to the particle
[in]reboundtrue if a rebound occured over last trajectory step
[in]taupdynamic characteristic time
[in]force_pforces per mass unit on particles (m/s^2)
[in]tempctthermal characteristic time

◆ cs_lagr_coupling_initialize()

void cs_lagr_coupling_initialize ( void  )

Prepare source terms for Lagrangian 2-way coupling.