#include <limits.h>#include <stdio.h>#include <stddef.h>#include <stdlib.h>#include <string.h>#include <math.h>#include <ctype.h>#include <float.h>#include <assert.h>#include "bft/bft_printf.h"#include "bft/bft_error.h"#include "fvm/fvm_periodicity.h"#include "atmo/cs_atmo.h"#include "base/cs_base.h"#include "base/cs_defs.h"#include "base/cs_field_operator.h"#include "base/cs_halo.h"#include "base/cs_interface.h"#include "base/cs_math.h"#include "base/cs_mem.h"#include "base/cs_order.h"#include "base/cs_parall.h"#include "base/cs_random.h"#include "base/cs_rotation.h"#include "base/cs_search.h"#include "base/cs_timer_stats.h"#include "base/cs_thermal_model.h"#include "base/cs_velocity_pressure.h"#include "turb/cs_turbulence_model.h"#include "base/cs_field.h"#include "base/cs_physical_constants.h"#include "pprt/cs_physical_model.h"#include "lagr/cs_lagr.h"#include "lagr/cs_lagr_new.h"#include "lagr/cs_lagr_particle.h"#include "lagr/cs_lagr_stat.h"#include "lagr/cs_lagr_precipitation_model.h"#include "lagr/cs_lagr_prototypes.h"#include "lagr/cs_lagr_car.h"
Include dependency graph for cs_lagr_car.cpp:Functions | |
| 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. More... | |
| 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. More... | |
| 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.
| [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 |
| 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.
| [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)$ |