My Project
programmer's documentation
Functions
cs_lagr_sde.h File Reference
#include "cs_defs.h"
Include dependency graph for cs_lagr_sde.h:

Go to the source code of this file.

Functions

void cs_lagr_sde (cs_real_t dt_p, 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 gradpr[], const cs_real_33_t gradvf[], cs_real_t terbru[], const cs_real_t vislen[], cs_lnum_t *nresnew)
 Integration of particle equations of motion: More...
 
void cs_lagr_sde_attr (cs_lagr_attribute_t attr, 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_real_t  dt_p,
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  gradpr[],
const cs_real_33_t  gradvf[],
cs_real_t  terbru[],
const cs_real_t  vislen[],
cs_lnum_t nresnew 
)

Integration of particle equations of motion:

  • Standard Model : First or second order
  • Deposition submodel (Guingo & Minier, 2008) if needed
Parameters
[in]dt_plagrangian time step
[in]taupdynamic characteristic time
[in]tlagfluid characteristic time
[in]piilterme in P-U SDE integration
[in]bxturbulence characteristics
[out]tsfextinfo for return coupling source terms
[in]gradprpressure gradient
[in]gradvffluid velocity gradient
[out]terbruFIXME
[in]vislenFIXME
  • Standard Model : First or second order
  • Deposition submodel (Guingo & Minier, 2008) if needed
Parameters
[in]dt_plagrangian time step
[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
[in]gradprpressure gradient
[in]gradvffluid velocity gradient
[out]terbruFIXME
[in]vislenFIXME

◆ cs_lagr_sde_attr()

void cs_lagr_sde_attr ( cs_lagr_attribute_t  attr,
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]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]tcaracvariable characteristic time
[in]pipright-hand side associated with SDE