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

Go to the source code of this file.

Functions

void cs_lagr_car (int iprev, int phase_id, cs_lnum_t ip, int nor, const cs_real_t dt_part, cs_real_t *taup, cs_real_3_t tlag, cs_real_3_t piil, cs_real_33_t bx, cs_real_2_t tempct, cs_real_3_t beta, cs_real_3_t *vagaus, cs_real_6_t br_gaus)
 Compute particle characteristics (except force_p): Tp, TL and PI as well as covariance and variance tensors for the stochastic model. More...
 
void cs_lagr_get_force_p (const cs_real_t dt_part, cs_lnum_t ip, cs_real_t *taup, cs_real_3_t *tlag, cs_real_3_t *piil, cs_real_33_t *bx, cs_real_t tsfext, cs_real_3_t *vagaus, cs_real_3_t force_p)
 Compute external force impacting the particle. More...
 

Function Documentation

◆ cs_lagr_car()

void cs_lagr_car ( int  iprev,
int  phase_id,
cs_lnum_t  p_id,
int  nor,
const cs_real_t  dt_part,
cs_real_t taup,
cs_real_3_t  tlag,
cs_real_3_t  piil,
cs_real_33_t  bx,
cs_real_2_t  tempct,
cs_real_3_t  beta,
cs_real_3_t vagaus,
cs_real_6_t  br_gaus 
)

Compute particle characteristics (except force_p): Tp, TL and PI as well as covariance and variance tensors for the stochastic model.

Parameters
[in]iprevtime step indicator for fields 0: use fields at current time step 1: use fields at previous time step
[in]phase_idcarrier phase id
[in]ipparticle index in set
[in]norcurrent step id (for 2nd order scheme)
[in]dt_parttime step associated to the particle
[out]taupdynamic characteristic time
[out]tlagfluid characteristic Lagrangian time scale
[out]piilterm in integration of up sde
[out]bxturbulence characteristics
[out]tempctthermal characteristic time
[out]betafor the extended scheme
[out]vagausgaussian random variables
[out]br_gausgaussian random variables
[in]iprevtime step indicator for fields 0: use fields at current time step 1: use fields at previous time step
[in]phase_idcarrier phase id
[in]p_idparticle id in set
[in]norcurrent step id (for 2nd order scheme)
[in]dt_parttime step associated to the particle
[out]taupdynamic characteristic time
[out]tlagfluid characteristic Lagrangian time scale
[out]piilterm in integration of up sde
[out]bxturbulence characteristics
[out]tempctthermal characteristic time
[out]betafor the extended scheme
[out]vagausgaussian random variables
[out]br_gausgaussian random variables

◆ cs_lagr_get_force_p()

void cs_lagr_get_force_p ( const cs_real_t  dt_part,
cs_lnum_t  p_id,
cs_real_t taup,
cs_real_3_t tlag,
cs_real_3_t piil,
cs_real_33_t bx,
cs_real_t  tsfext,
cs_real_3_t vagaus,
cs_real_3_t  force_p 
)

Compute external force impacting the particle.

Parameters
[in]dt_parttime step associated to the particle
[in]ipparticle index in set
[in]taupdynamic characteristic time
[in]tlagfluid characteristic Lagrangian time scale
[in]piilterm in integration of up sde
[in]bxturbulence characteristics
[in]tempctthermal characteristic time
[in]betafor the extended scheme
[in]tsfextinfo for return coupling source terms
[in]vagausgaussian random variables
[in]force_puser external force field (m/s^2)$
[in]dt_parttime step associated to the particle
[in]p_idparticle id in set
[in]taupdynamic characteristic time
[in]tlagfluid characteristic Lagrangian time scale
[in]piilterm in integration of up sde
[in]bxturbulence characteristics
[in]tempctthermal characteristic time
[in]betafor the extended scheme
[in]tsfextinfo for return coupling source terms
[in]vagausgaussian random variables
[in]force_puser external force field (m/s^2)$