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

Go to the source code of this file.

Functions

void cs_sde_vels_pos_1_st_order_time_integ (cs_lnum_t p_id, cs_real_t dt_part, int nor, const cs_real_t *taup, const cs_real_3_t *tlag, const cs_real_3_t *piil, const cs_real_33_t *bx, const cs_real_3_t *vagaus, const cs_real_6_t brgaus, const cs_real_3_t force_p, const cs_real_3_t beta)
 Integration of SDEs by 1st order time scheme for one particle. More...
 
void cs_lagr_sde (cs_lnum_t p_id, cs_real_t dt_part, int nor, const cs_real_t *taup, const cs_real_3_t *tlag, const cs_real_3_t *piil, const cs_real_33_t *bx, cs_real_t *tsfext, const cs_real_3_t force_p, const cs_real_t vislen[], const cs_real_3_t beta, cs_real_3_t *vagaus, cs_real_6_t brgaus, cs_lnum_t *nresnew)
 Integration of particle equations of motion: More...
 
void cs_lagr_sde_attr (cs_lagr_attribute_t attr, const cs_lnum_t p_id, int nor, const cs_real_t dt_part, cs_real_t tcarac, cs_real_t pip)
 Integration of a stochastic differential equation (SDE) for a user particle variable (attribute). More...
 

Function Documentation

◆ cs_lagr_sde()

void cs_lagr_sde ( cs_lnum_t  p_id,
cs_real_t  dt_part,
int  nor,
const cs_real_t taup,
const cs_real_3_t tlag,
const cs_real_3_t piil,
const cs_real_33_t bx,
cs_real_t tsfext,
const cs_real_3_t  force_p,
const cs_real_t  vislen[],
const cs_real_3_t  beta,
cs_real_3_t vagaus,
cs_real_6_t  brgaus,
cs_lnum_t n_new_particles 
)

Integration of particle equations of motion:

  • Standard Model : First or second order
  • Deposition submodel (Guingo & Minier, 2007) if needed
Parameters
[in]p_idparticle index in set
[in]dt_partremaining time step associated to the particle
[in]norcurrent step id (for 2nd order scheme)
[in]taupdynamic characteristic time
[in]tlagfluid characteristic time
[in]piilterm in integration of U-P SDEs
[in]bxturbulence characteristics
[out]tsfextinfo for return coupling source terms
[out]force_pforces per mass unit on particles (m/s^2)
[in]vislennu/u* = y/y+
[in]betaproportional to the gradient of T_lag
[out]vagausgaussian random variables
[out]brgausgaussian random variables
[in]nresnew
  • Standard Model : First or second order
  • Deposition submodel (Guingo & Minier, 2007) if needed
Parameters
[in]p_idparticle index in set
[in]dt_partremaining time step associated to the particle
[in]norcurrent step id (for 2nd order scheme)
[in]taupdynamic characteristic time
[in]tlagfluid characteristic time
[in]piilterm in integration of U-P SDEs
[in]bxturbulence characteristics
[out]tsfextinfo for return coupling source terms
[out]force_pforces per mass unit on particles (m/s^2)
[in]vislennu/u* = y/y+
[in]betaproportional to the gradient of T_lag
[out]vagausgaussian random variables
[out]brgausgaussian random variables
[in]n_new_particles

◆ cs_lagr_sde_attr()

void cs_lagr_sde_attr ( cs_lagr_attribute_t  attr,
const cs_lnum_t  p_id,
int  nor,
const cs_real_t  dt_part,
cs_real_t  tcarac,
cs_real_t  pip 
)

Integration of a stochastic differential equation (SDE) for a user particle variable (attribute).

\[
  \frac{dV}{dt} = \frac{V - PIP}{TCARAC}
 \]

When there is interaction with a boundary face, the integration degenerates to order 1 (even if the 2nd order scheme is active).

Parameters
[in]attrattribute/variable
[in]p_idparticle id
[in]norcurrent step id (for 2nd order scheme)
[in]dt_partremaining time step associated to the particle
[in]tcaracvariable characteristic time

\param[in] pip right-hand side associated with SDE

\[
 \frac{dV}{dt} = \frac{V - PIP}{TCARAC}
\]

When there is interaction with a boundary face, the integration degenerates to order 1 (even if the 2nd order scheme is active).

Parameters
[in]attrattribute/variable
[in]p_idparticle id
[in]norcurrent step id (for 2nd order scheme)
[in]dt_partremaining time step associated to the particle
[in]tcaracvariable characteristic time
[in]pipright-hand side associated with SDE

◆ cs_sde_vels_pos_1_st_order_time_integ()

void cs_sde_vels_pos_1_st_order_time_integ ( cs_lnum_t  p_id,
cs_real_t  dt_part,
int  nor,
const cs_real_t taup,
const cs_real_3_t tlag,
const cs_real_3_t piil,
const cs_real_33_t bx,
const cs_real_3_t vagaus,
const cs_real_6_t  brgaus,
const cs_real_3_t  force_p,
const cs_real_3_t  beta 
)

Integration of SDEs by 1st order time scheme for one particle.

Parameters
[in]p_idparticle index in set
[in]dt_partremaining time step associated to the particle
[in]norcurrent step id (for 2nd order scheme)
[in]taupdynamic characteristic time
[in]tlaglagrangian fluid characteristic time
[in]piilterm in integration of up sdes
[in]bxturbulence characteristics
[in]vagausgaussian random variables
[in]brgausgaussian random variables
[in]force_pforces per mass unit on particles (m/s^2)
[in]betaproportional to the gradient of T_lag