#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 "bft/bft_printf.h"#include "bft/bft_error.h"#include "fvm/fvm_periodicity.h"#include "base/cs_base.h"#include "base/cs_boundary_zone.h"#include "base/cs_physical_constants.h"#include "mesh/cs_geom.h"#include "base/cs_halo.h"#include "base/cs_interface.h"#include "base/cs_math.h"#include "base/cs_mem.h"#include "mesh/cs_mesh.h"#include "mesh/cs_mesh_adjacencies.h"#include "mesh/cs_mesh_quantities.h"#include "base/cs_order.h"#include "base/cs_parall.h"#include "base/cs_porous_model.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_turbomachinery.h"#include "turb/cs_turbulence_model.h"#include "base/cs_field.h"#include "base/cs_field_pointer.h"#include "lagr/cs_lagr.h"#include "lagr/cs_lagr_car.h"#include "lagr/cs_lagr_clogging.h"#include "lagr/cs_lagr_coupling.h"#include "lagr/cs_lagr_deposition_model.h"#include "lagr/cs_lagr_dlvo.h"#include "lagr/cs_lagr_orientation.h"#include "lagr/cs_lagr_event.h"#include "lagr/cs_lagr_particle.h"#include "lagr/cs_lagr_porosity.h"#include "lagr/cs_lagr_prototypes.h"#include "lagr/cs_lagr_post.h"#include "lagr/cs_lagr_resuspension.h"#include "lagr/cs_lagr_roughness.h"#include "lagr/cs_lagr_sde.h"#include "lagr/cs_lagr_sde_model.h"#include "lagr/cs_lagr_stat.h"#include "lagr/cs_lagr_tracking.h"Functions | |
| void | cs_lagr_tracking_initialize (void) |
| Initialize particle tracking subsystem. More... | |
| void | cs_lagr_integ_track_particles (const cs_real_t visc_length[], cs_lnum_t particle_range[2], const bool resol_sde) |
| Integrate or not SDEs associated to the particle and apply one trajectography step to track the displacement. More... | |
| void | cs_lagr_tracking_finalize (void) |
| Finalize Lagrangian module. More... | |
| void | cs_lagr_test_wall_cell (const cs_lagr_particle_set_t *p_set, cs_lnum_t p_id, const cs_real_t visc_length[], cs_real_t *yplus, cs_lnum_t *face_id) |
| Determine the number of the closest wall face from the particle as well as the corresponding wall normal distance (y_p^+) More... | |
| void cs_lagr_integ_track_particles | ( | const cs_real_t | visc_length[], |
| cs_lnum_t | particle_range[2], | ||
| const bool | resol_sde | ||
| ) |
Integrate or not SDEs associated to the particle and apply one trajectography step to track the displacement.
Integrate or not SDEs associated tot the particle and apply one trajectography step to track the displacement.
| [in] | visc_length | viscous layer thickness |
| [in,out] | particle_range | start and past-the-end ids of tracked |
| [in,out] | particle_range | start and past-the-end ids of tracked |
| [in] | resol_sde | true the sdes will be resolved false only the trajectography step is done |
| void cs_lagr_test_wall_cell | ( | const cs_lagr_particle_set_t * | p_set, |
| cs_lnum_t | p_id, | ||
| const cs_real_t | visc_length[], | ||
| cs_real_t * | yplus, | ||
| cs_lnum_t * | face_id | ||
| ) |
Determine the number of the closest wall face from the particle as well as the corresponding wall normal distance (y_p^+)
Used for the deposition model.
| [in] | p_set | pointer to particle set |
| [in] | p_id | particle id |
| [in] | visc_length | viscous layer thickness |
| [out] | yplus | associated yplus value |
| [out] | face_id | associated neighbor wall face, or -1 |
| void cs_lagr_tracking_finalize | ( | void | ) |
Finalize Lagrangian module.
| void cs_lagr_tracking_initialize | ( | void | ) |
Initialize particle tracking subsystem.