My Project
programmer's documentation
|
#include "cs_defs.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "bft_mem.h"
#include "bft_error.h"
#include "bft_printf.h"
#include "cs_base.h"
#include "cs_volume_zone.h"
#include "cs_math.h"
#include "cs_notebook.h"
#include "cs_parall.h"
#include "cs_parameters.h"
#include "cs_prototypes.h"
#include "cs_random.h"
#include "cs_mesh.h"
#include "cs_mesh_quantities.h"
#include "cs_log.h"
#include "cs_lagr.h"
#include "cs_lagr_new.h"
#include "cs_lagr_tracking.h"
#include "cs_lagr_prototypes.h"
Functions | |
void | cs_user_lagr_volume_conditions (void) |
Define particle volume conditions. More... | |
void | cs_lagr_user_internal_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, cs_lagr_tracking_state_t *tracking_state) |
Handling of a particle interaction with a interior face of type CS_LAGR_BC_USER. More... | |
void cs_lagr_user_internal_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, | ||
cs_lagr_tracking_state_t * | tracking_state | ||
) |
Handling of a particle interaction with a interior face of type CS_LAGR_BC_USER.
[in,out] | particles | pointer to particle set |
[in] | p_id | particle id |
[in] | face_id | interior 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,out] | tracking_state | particle tracking state |
void cs_user_lagr_volume_conditions | ( | void | ) |
Define particle volume conditions.
This is used for the definition of volume injections, based on predefined volume zones (cs_zone_t).