My Project
programmer's documentation
|
#include "cs_defs.h"
#include <limits.h>
#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <ctype.h>
#include <float.h>
#include <assert.h>
#include "bft_printf.h"
#include "bft_error.h"
#include "bft_mem.h"
#include "cs_base.h"
#include "cs_halo.h"
#include "cs_log.h"
#include "cs_interface.h"
#include "cs_math.h"
#include "cs_mesh.h"
#include "cs_mesh_adjacencies.h"
#include "cs_mesh_quantities.h"
#include "cs_order.h"
#include "cs_parall.h"
#include "cs_physical_model.h"
#include "cs_random.h"
#include "cs_search.h"
#include "cs_timer_stats.h"
#include "cs_field.h"
#include "cs_field_pointer.h"
#include "cs_lagr_clogging.h"
#include "cs_lagr_deposition_model.h"
#include "cs_lagr_roughness.h"
#include "cs_lagr_dlvo.h"
#include "cs_lagr_stat.h"
#include "cs_lagr.h"
#include "cs_lagr_tracking.h"
#include "cs_lagr_new.h"
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 |
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 |