9.1
general documentation
cs_lagr_tracking.h File Reference
+ Include dependency graph for cs_lagr_tracking.h:

Go to the source code of this file.

Enumerations

enum  cs_lagr_tracking_state_t {
  CS_LAGR_PART_TO_SYNC , CS_LAGR_PART_TO_SYNC_NEXT , CS_LAGR_PART_TREATED , CS_LAGR_PART_STUCK ,
  CS_LAGR_PART_MERGED , CS_LAGR_PART_OUT , CS_LAGR_PART_ERR
}
 

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 tot 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...
 

Enumeration Type Documentation

◆ cs_lagr_tracking_state_t

Enumerator
CS_LAGR_PART_TO_SYNC 
CS_LAGR_PART_TO_SYNC_NEXT 
CS_LAGR_PART_TREATED 
CS_LAGR_PART_STUCK 
CS_LAGR_PART_MERGED 
CS_LAGR_PART_OUT 
CS_LAGR_PART_ERR 

Function Documentation

◆ cs_lagr_integ_track_particles()

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 tot the particle and apply one trajectography step to track the displacement.

Parameters
[in]visc_lengthviscous layer thickness
[in,out]particle_rangestart and past-the-end ids of tracked
[in,out]particle_rangestart and past-the-end ids of tracked
[in]resol_sdetrue the sdes will be resolved false only the trajectography step is done

Integrate or not SDEs associated tot the particle and apply one trajectography step to track the displacement.

Parameters
[in]visc_lengthviscous layer thickness
[in,out]particle_rangestart and past-the-end ids of tracked
[in,out]particle_rangestart and past-the-end ids of tracked
[in]resol_sdetrue the sdes will be resolved false only the trajectography step is done

◆ cs_lagr_test_wall_cell()

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.

Parameters
[in]p_setpointer to particle set
[in]p_idparticle id
[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.