|
programmer's documentation
|
#include "cs_defs.h"
Go to the source code of this file.
Functions | |
| void | cs_lagr_new (cs_lnum_t *npt, cs_lnum_t nznew, int zone_id, const int ifrlag[], cs_lnum_t iworkp[]) |
| Inject a series of particles at random positions on a given zone. More... | |
| void | cs_lagr_new_particle_init (cs_lnum_t p_id_l, cs_lnum_t p_id_u, cs_lnum_t time_id, cs_real_t vislen[]) |
| Initialization for new particles. More... | |
| void cs_lagr_new | ( | cs_lnum_t * | npt, |
| cs_lnum_t | nznew, | ||
| int | zone_id, | ||
| const int | ifrlag[], | ||
| cs_lnum_t | iworkp[] | ||
| ) |
Inject a series of particles at random positions on a given zone.
The fluid velocity and other variables and attributes are computed here.
| [in,out] | npt | current number of particles |
| [in] | nznew | number of added particles |
| [in] | zone_id | zone number (zone index + 1 in arrays) |
| [in] | ifrlag | boundary zone number for lagrangian iworkp array containing injection face number |
| void cs_lagr_new_particle_init | ( | cs_lnum_t | p_id_l, |
| cs_lnum_t | p_id_u, | ||
| cs_lnum_t | time_id, | ||
| cs_real_t | vislen[] | ||
| ) |
Initialization for new particles.
The fluid velocity seen is computed here.
| [in] | p_id_l | lower particle id bound (included) |
| [in] | p_id_u | uppder particle id bound (excluded) |
| [in] | time_id | associated time id (0: current, 1: previous) |
1.8.13