#include "cs_defs.h"#include <stdio.h>#include <stdlib.h>#include <string.h>#include <assert.h>#include "cs_headers.h"Functions | |
| void | cs_user_lagr_boundary_conditions (const int bc_type[]) |
| Define particle boundary conditions. | |
| void | cs_lagr_user_boundary_interaction (cs_lagr_particle_set_t *particles, cs_lnum_t p_id, cs_lnum_t face_id, const cs_real_t face_norm[3], const cs_real_t c_intersect[3], cs_real_t t_intersect, int b_zone_id, int *event_flag, cs_lagr_tracking_state_t *tracking_state) |
| Handling of a particle interaction with a boundary of type CS_LAGR_BC_USER. | |
| void cs_lagr_user_boundary_interaction | ( | cs_lagr_particle_set_t * | particles, |
| cs_lnum_t | p_id, | ||
| cs_lnum_t | face_id, | ||
| const cs_real_t | face_norm[3], | ||
| const cs_real_t | c_intersect[3], | ||
| cs_real_t | t_intersect, | ||
| int | b_zone_id, | ||
| int * | event_flag, | ||
| cs_lagr_tracking_state_t * | tracking_state ) |
Handling of a particle interaction with a boundary of type CS_LAGR_BC_USER.
| [in,out] | particles | pointer to particle set |
| [in] | p_id | particle id |
| [in] | face_id | boundary face id |
| [in] | face_norm | unit face (or face subdivision) normal |
| [in] | c_intersect | coordinates of intersection with the face |
| [in] | t_intersect | relative distance (in [0, 1]) of the intersection point with the face relative to the initial trajectory segment |
| [in] | b_zone_id | boundary zone id of the matching face |
| [in,out] | event_flag | event flag in case events are available |
| [in,out] | tracking_state | particle tracking state |
| void cs_user_lagr_boundary_conditions | ( | const int | bc_type[] | ) |
Define particle boundary conditions.
This is used for the definition of inlet and other boundaries, based on predefined boundary zones (cs_zone_t).
| [in] | bc_type | type of the boundary faces |