Go to the source code of this file.
|
| 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...
|
| |
◆ 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] | iprev | time step indicator for fields 0: use fields at current time step 1: use fields at previous time step |
| [in] | phase_id | carrier phase id |
| [in] | ip | particle index in set |
| [in] | nor | current step id (for 2nd order scheme) |
| [in] | dt_part | time step associated to the particle |
| [out] | taup | dynamic characteristic time |
| [out] | tlag | fluid characteristic Lagrangian time scale |
| [out] | piil | term in integration of up sde |
| [out] | bx | turbulence characteristics |
| [out] | tempct | thermal characteristic time |
| [out] | beta | for the extended scheme |
| [out] | vagaus | gaussian random variables |
| [out] | br_gaus | gaussian random variables |
| [in] | iprev | time step indicator for fields 0: use fields at current time step 1: use fields at previous time step |
| [in] | phase_id | carrier phase id |
| [in] | p_id | particle id in set |
| [in] | nor | current step id (for 2nd order scheme) |
| [in] | dt_part | time step associated to the particle |
| [out] | taup | dynamic characteristic time |
| [out] | tlag | fluid characteristic Lagrangian time scale |
| [out] | piil | term in integration of up sde |
| [out] | bx | turbulence characteristics |
| [out] | tempct | thermal characteristic time |
| [out] | beta | for the extended scheme |
| [out] | vagaus | gaussian random variables |
| [out] | br_gaus | gaussian random variables |
◆ cs_lagr_get_force_p()
Compute external force impacting the particle.
- Parameters
-
| [in] | dt_part | time step associated to the particle |
| [in] | ip | particle index in set |
| [in] | taup | dynamic characteristic time |
| [in] | tlag | fluid characteristic Lagrangian time scale |
| [in] | piil | term in integration of up sde |
| [in] | bx | turbulence characteristics |
| [in] | tempct | thermal characteristic time |
| [in] | beta | for the extended scheme |
| [in] | tsfext | info for return coupling source terms |
| [in] | vagaus | gaussian random variables |
| [in] | force_p | user external force field (m/s^2)$ |
| [in] | dt_part | time step associated to the particle |
| [in] | p_id | particle id in set |
| [in] | taup | dynamic characteristic time |
| [in] | tlag | fluid characteristic Lagrangian time scale |
| [in] | piil | term in integration of up sde |
| [in] | bx | turbulence characteristics |
| [in] | tempct | thermal characteristic time |
| [in] | beta | for the extended scheme |
| [in] | tsfext | info for return coupling source terms |
| [in] | vagaus | gaussian random variables |
| [in] | force_p | user external force field (m/s^2)$ |