|
programmer's documentation
|

Go to the source code of this file.
Functions | |
| void | cs_lagr_new (cs_lagr_particle_set_t *particles, cs_lnum_t n_faces, const cs_lnum_t face_ids[], const cs_lnum_t face_particle_idx[]) |
| Inject a series of particles at random positions on given faces. More... | |
| void | cs_lagr_new_v (cs_lagr_particle_set_t *particles, cs_lnum_t n_cells, const cs_lnum_t cell_ids[], const cs_lnum_t cell_particle_idx[]) |
| Inject a series of particles at random positions on given cells. More... | |
| void | cs_lagr_new_particle_init (const cs_lnum_t particle_range[2], int time_id, const cs_real_t visc_length[]) |
| Initialization for new particles. More... | |
| void cs_lagr_new | ( | cs_lagr_particle_set_t * | particles, |
| cs_lnum_t | n_faces, | ||
| const cs_lnum_t | face_ids[], | ||
| const cs_lnum_t | face_particle_idx[] | ||
| ) |
Inject a series of particles at random positions on given faces.
The fluid velocity and other variables and attributes are computed here.
| [in,out] | particles | pointer to particle set |
| [in] | n_faces | number of faces in zone |
| [in] | face_ids | ids of faces in zone |
| [in] | face_particle_idx | starting index of added particles for each face in zone |
| void cs_lagr_new_particle_init | ( | const cs_lnum_t | particle_range[2], |
| int | time_id, | ||
| const cs_real_t | visc_length[] | ||
| ) |
Initialization for new particles.
The fluid velocity seen is computed here.
| [in] | particle_range | start and past-the-end ids of new particles for this zone and class |
| [in] | time_id | associated time id (0: current, 1: previous) |
| [in] | visc_length | viscous layer thickness (size: number of mesh boundary faces) |
| void cs_lagr_new_v | ( | cs_lagr_particle_set_t * | particles, |
| cs_lnum_t | n_cells, | ||
| const cs_lnum_t | cell_ids[], | ||
| const cs_lnum_t | cell_particle_idx[] | ||
| ) |
Inject a series of particles at random positions on given cells.
The fluid velocity and other variables and attributes are computed here.
| [in,out] | particles | pointer to particle set |
| [in] | n_cells | number of cells in zone |
| [in] | cell_ids | ids of cells in zone |
| [in] | cell_particle_idx | starting index of added particles for each cell in zone |
1.8.13