#include "base/cs_defs.h"#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 "base/cs_array.h"#include "alge/cs_balance.h"#include "alge/cs_face_viscosity.h"#include "base/cs_field.h"#include "base/cs_field_default.h"#include "base/cs_field_operator.h"#include "base/cs_field_pointer.h"#include "base/cs_math.h"#include "base/cs_mem.h"#include "lagr/cs_lagr.h"#include "lagr/cs_lagr_tracking.h"#include "lagr/cs_lagr_stat.h"#include "mesh/cs_mesh.h"#include "base/cs_parameters.h"#include "base/cs_physical_constants.h"#include "pprt/cs_physical_model.h"#include "turb/cs_turbulence_model.h"#include "base/cs_velocity_pressure.h"#include "lagr/cs_lagr_aux_mean_fluid_quantities.h"
Include dependency graph for cs_lagr_aux_mean_fluid_quantities.cpp:Functions | |
| static char * | _field_name_aux (const char *field_radical, const int index) |
| Create a field name based on a radical and a phase, scalar, or a non condensable index. More... | |
| void | compute_particle_covariance_gradient (int phase_id, cs_real_3_t *grad_cov_skp[9], cs_real_3_t *grad_cov_sk[6]) |
| Compute gradient of particle covariance. More... | |
| void | compute_anisotropic_prop (int iprev, int phase_id, cs_real_3_t *anisotropic_lagr_time, cs_real_3_t *anisotropic_bx, cs_real_3_t *grad_lagr_time_r_et, cs_real_3_t *grad_lagr_time) |
| Compute anisotropic fluid quantities for complete model (modpl == 1). More... | |
| void | cs_lagr_aux_mean_fluid_quantities (int iprev, int phase_id, cs_field_t *lagr_time, cs_real_3_t *grad_pr, cs_real_33_t *grad_vel, cs_real_3_t *grad_tempf, cs_real_3_t *anisotropic_lagr_time, cs_real_3_t *anisotropic_bx, cs_real_3_t *grad_lagr_time_r_et, cs_real_3_t *grad_lagr_time) |
| Compute auxilary mean fluid quantities. More... | |
|
static |
Create a field name based on a radical and a phase, scalar, or a non condensable index.
| [in] | field_radical | pointer to a string containing the radical |
| [in] | index | int containing an index value |
| void compute_anisotropic_prop | ( | int | iprev, |
| int | phase_id, | ||
| cs_real_3_t * | anisotropic_lagr_time, | ||
| cs_real_3_t * | anisotropic_bx, | ||
| cs_real_3_t * | grad_lagr_time_r_et, | ||
| cs_real_3_t * | grad_lagr_time | ||
| ) |
Compute anisotropic fluid quantities for complete model (modpl == 1).
| [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 |
| [out] | anisotropic_lagr_time | anisotropic Lagragian time scale (modcpl) |
| [out] | anisotropic_bx | anisotropic diffusion term (if modcpl) |
| [out] | grad_lagr_time_r_et | anisotropic Lagrangian time gradient in relative basis |
| [in] | grad_lagr_time | Lagrangian time gradient |
| void compute_particle_covariance_gradient | ( | int | phase_id, |
| cs_real_3_t * | grad_cov_skp[9], | ||
| cs_real_3_t * | grad_cov_sk[6] | ||
| ) |
Compute gradient of particle covariance.
| [in] | phase_id | carrier phase id |
| [out] | grad_cov_skp | gradient of particle velocity and particle velocity seen covariance |
| [out] | grad_cov_sk | gradient of particle velocity seen covariance |
| void cs_lagr_aux_mean_fluid_quantities | ( | int | iprev, |
| int | phase_id, | ||
| cs_field_t * | lagr_time, | ||
| cs_real_3_t * | grad_pr, | ||
| cs_real_33_t * | grad_vel, | ||
| cs_real_3_t * | grad_tempf, | ||
| cs_real_3_t * | anisotropic_lagr_time, | ||
| cs_real_3_t * | anisotropic_bx, | ||
| cs_real_3_t * | grad_lagr_time_r_et, | ||
| cs_real_3_t * | grad_lagr_time | ||
| ) |
Compute auxilary mean fluid quantities.
| [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 |
| [out] | lagr_time | Lagragian time scale |
| [out] | grad_pr | pressure gradient |
| [out] | grad_vel | velocity gradient |
| [out] | grad_tempf | fluid temperature gradient |
| [out] | anisotropic_lagr_time | anisotropic Lagrangian time scale (modcpl) |
| [out] | anisotropic_bx | anisotropic diffusion term (if modcpl) |
| [out] | grad_lagr_time_r_et | anisotropic Lagrangian time gradient in relative basis |
| [out] | grad_lagr_time | Lagrangian time gradient |