My Project
programmer's documentation
Functions
cs_lagr_tracking.c File Reference
#include "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_printf.h"
#include "bft_error.h"
#include "bft_mem.h"
#include "fvm_periodicity.h"
#include "cs_base.h"
#include "cs_boundary_zone.h"
#include "cs_physical_constants.h"
#include "cs_geom.h"
#include "cs_halo.h"
#include "cs_interface.h"
#include "cs_math.h"
#include "cs_mesh.h"
#include "cs_mesh_adjacencies.h"
#include "cs_mesh_quantities.h"
#include "cs_order.h"
#include "cs_parall.h"
#include "cs_random.h"
#include "cs_rotation.h"
#include "cs_search.h"
#include "cs_timer_stats.h"
#include "cs_turbomachinery.h"
#include "cs_field.h"
#include "cs_field_pointer.h"
#include "cs_lagr.h"
#include "cs_lagr_deposition_model.h"
#include "cs_lagr_event.h"
#include "cs_lagr_particle.h"
#include "cs_lagr_prototypes.h"
#include "cs_lagr_post.h"
#include "cs_lagr_clogging.h"
#include "cs_lagr_roughness.h"
#include "cs_lagr_dlvo.h"
#include "cs_lagr_stat.h"
#include "cs_lagr_tracking.h"
Include dependency graph for cs_lagr_tracking.c:

Functions

void cs_lagr_tracking_initialize (void)
 Initialize particle tracking subsystem. More...
 
void cs_lagr_tracking_particle_movement (const cs_real_t visc_length[])
 Apply one particle movement step. More...
 
void cs_lagr_tracking_finalize (void)
 Finalize Lagrangian module. More...
 
void cs_lagr_test_wall_cell (const void *particle, const cs_lagr_attribute_map_t *p_am, 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_get_cell_face_connectivity (cs_lnum_t **cell_face_idx, cs_lnum_t **cell_face_lst)
 Get pointers to cell face connectivity used in particle tracking. More...
 

Function Documentation

◆ cs_lagr_get_cell_face_connectivity()

void cs_lagr_get_cell_face_connectivity ( cs_lnum_t **  cell_face_idx,
cs_lnum_t **  cell_face_lst 
)

Get pointers to cell face connectivity used in particle tracking.

Parameters
[out]cell_face_idxcell face index
[out]cell_face_lstcell face connectivity (signed 1-to-n based, negative for boundary faces, positive for interior faces)

◆ cs_lagr_test_wall_cell()

void cs_lagr_test_wall_cell ( const void *  particle,
const cs_lagr_attribute_map_t p_am,
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.

Parameters
[in]particleparticle attributes for current time step
[in]p_ampointer to attributes map for current time step
[in]visc_lengthviscous layer thickness
[out]yplusassociated yplus value
[out]face_idassociated neighbor wall face, or -1

◆ cs_lagr_tracking_finalize()

void cs_lagr_tracking_finalize ( void  )

Finalize Lagrangian module.

◆ cs_lagr_tracking_initialize()

void cs_lagr_tracking_initialize ( void  )

Initialize particle tracking subsystem.

◆ cs_lagr_tracking_particle_movement()

void cs_lagr_tracking_particle_movement ( const cs_real_t  visc_length[])

Apply one particle movement step.

Parameters
[in]visc_lengthviscous layer thickness