Code_Saturne
CFD tool
Data Structures | Macros | Enumerations | Functions
cs_lagr_tracking.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <float.h>
#include <assert.h>
#include <bft_printf.h>
#include <bft_error.h>
#include <bft_mem.h>
#include <cs_parall.h>
#include <cs_interface.h>
#include <fvm_periodicity.h>
#include "cs_base.h"
#include "cs_mesh.h"
#include "cs_mesh_quantities.h"
#include "cs_search.h"
#include "cs_lagr_utils.h"
#include "cs_halo.h"
#include "cs_lagr_tracking.h"

Data Structures

struct  face_yplus_t
 
struct  cs_lagr_particle_t
 
struct  cs_lagr_coal_particle_t
 
struct  cs_lagr_heat_particle_t
 
struct  cs_lagr_aux_particle_t
 
struct  cs_lagr_particle_set_t
 
struct  cs_lagr_halo_t
 
struct  cs_lagr_track_builder_t
 
struct  cs_lagr_bdy_condition_t
 
struct  cs_lagr_param_t
 

Macros

#define N_GEOL   13
 
#define CS_LAGR_MIN_COMM_BUF_SIZE   10
 
#define CS_LAGR_MAX_PROPAGATION_LOOPS   30
 
#define N_VAR_PART_STRUCT   20
 
#define N_VAR_PART_COAL   1
 
#define N_VAR_PART_HEAT   1
 
#define N_VAR_PART_AUX   1
 

Enumerations

enum  {
  CS_LAGR_IENTRL = 1, CS_LAGR_ISORTL = 2, CS_LAGR_IREBOL = 3, CS_LAGR_IDEPO1 = 4,
  CS_LAGR_IDEPO2 = 5, CS_LAGR_IENCRL = 7, CS_LAGR_IDEPFA = 13
}
 
enum  {
  CS_LAGR_PART_TO_DELETE = 0, CS_LAGR_PART_TO_SYNC = 1, CS_LAGR_PART_TREATED = 2, CS_LAGR_PART_STICKED = 3,
  CS_LAGR_PART_OUT = 4, CS_LAGR_PART_ERR = 5
}
 
enum  { CS_LAGR_PART_MOVE_OFF = 0, CS_LAGR_PART_MOVE_ON = 1 }
 
enum  { CS_LAGR_SWITCH_OFF = 0, CS_LAGR_SWITCH_ON = 1 }
 
enum  { X, Y, Z }
 

Functions

void lagbeg (const cs_int_t *const n_particles_max, const cs_int_t *const iphyla, const cs_int_t *const nvls, const cs_int_t *const nbclst)
 
void cs_lagr_destroy (void)
 
void prtget (const cs_int_t *const nbpmax, const cs_int_t *const nbpart, const cs_real_t *const dnbpar, cs_int_t liste[], cs_int_t *nbvis, const cs_real_t ettp[], const cs_real_t ettpa[], const cs_int_t itepa[], const cs_real_t tepa[], const cs_int_t ibord[], const cs_int_t indep[], const cs_int_t *const jisor, const cs_int_t *const jrpoi, const cs_int_t *const jrtsp, const cs_int_t *const jdp, const cs_int_t *const jmp, const cs_int_t *const jxp, const cs_int_t *const jyp, const cs_int_t *const jzp, const cs_int_t *const jup, const cs_int_t *const jvp, const cs_int_t *const jwp, const cs_int_t *const juf, const cs_int_t *const jvf, const cs_int_t *const jwf, const cs_int_t *const jtaux, const cs_int_t *const jryplu, const cs_int_t *const jdfac, const cs_int_t *const jimark, cs_int_t *idepst)
 
void prtput (const cs_int_t *const nbpmax, cs_int_t *nbpart, cs_real_t *dnbpar, cs_int_t *nbpout, cs_real_t *dnbpou, cs_int_t *nbperr, cs_real_t *dnbper, cs_int_t liste[], cs_int_t *nbvis, cs_real_t ettp[], cs_real_t ettpa[], cs_int_t itepa[], cs_real_t tepa[], cs_int_t ibord[], const cs_int_t *const jisor, const cs_int_t *const jrpoi, const cs_int_t *const jrtsp, const cs_int_t *const jdp, const cs_int_t *const jmp, const cs_int_t *const jxp, const cs_int_t *const jyp, const cs_int_t *const jzp, const cs_int_t *const jup, const cs_int_t *const jvp, const cs_int_t *const jwp, const cs_int_t *const juf, const cs_int_t *const jvf, const cs_int_t *const jwf, const cs_int_t *const jtaux, const cs_int_t *const jryplu, const cs_int_t *const jdfac, const cs_int_t *const jimark, cs_int_t *idepst)
 
void getbdy (const cs_int_t *const nflagm, const cs_int_t *const nfrlag, const cs_int_t *const injcon, const cs_int_t ilflag[], const cs_int_t iusncl[], const cs_int_t iusclb[], const cs_int_t iusmoy[], const cs_int_t iuslag[], const cs_real_t deblag[], const cs_int_t ifrlag[])
 
void dplprt (cs_int_t *p_n_particles, cs_real_t *p_parts_weight, cs_int_t *p_scheme_order, cs_real_t boundary_stat[], const cs_int_t *const iensi3, const cs_int_t *const nvisbr, const cs_int_t *const inbr, const cs_int_t *const inbrbd, const cs_int_t *const iflm, const cs_int_t *const iflmbd, const cs_int_t *const iang, const cs_int_t *const iangbd, const cs_int_t *const ivit, const cs_int_t *const ivitbd, const cs_int_t *const nusbor, cs_int_t iusb[], cs_real_t visc_length[], cs_real_t dlgeo[], cs_real_t rtp[], const cs_int_t *const iu, const cs_int_t *const iv, const cs_int_t *const iw, cs_int_t *idepst)
 

Macro Definition Documentation

◆ CS_LAGR_MAX_PROPAGATION_LOOPS

#define CS_LAGR_MAX_PROPAGATION_LOOPS   30

◆ CS_LAGR_MIN_COMM_BUF_SIZE

#define CS_LAGR_MIN_COMM_BUF_SIZE   10

◆ N_GEOL

#define N_GEOL   13

◆ N_VAR_PART_AUX

#define N_VAR_PART_AUX   1

◆ N_VAR_PART_COAL

#define N_VAR_PART_COAL   1

◆ N_VAR_PART_HEAT

#define N_VAR_PART_HEAT   1

◆ N_VAR_PART_STRUCT

#define N_VAR_PART_STRUCT   20

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
CS_LAGR_IENTRL 
CS_LAGR_ISORTL 
CS_LAGR_IREBOL 
CS_LAGR_IDEPO1 
CS_LAGR_IDEPO2 
CS_LAGR_IENCRL 
CS_LAGR_IDEPFA 

◆ anonymous enum

anonymous enum
Enumerator
CS_LAGR_PART_TO_DELETE 
CS_LAGR_PART_TO_SYNC 
CS_LAGR_PART_TREATED 
CS_LAGR_PART_STICKED 
CS_LAGR_PART_OUT 
CS_LAGR_PART_ERR 

◆ anonymous enum

anonymous enum
Enumerator
CS_LAGR_PART_MOVE_OFF 
CS_LAGR_PART_MOVE_ON 

◆ anonymous enum

anonymous enum
Enumerator
CS_LAGR_SWITCH_OFF 
CS_LAGR_SWITCH_ON 

◆ anonymous enum

anonymous enum
Enumerator

Function Documentation

◆ cs_lagr_destroy()

void cs_lagr_destroy ( void  )

◆ dplprt()

void dplprt ( cs_int_t p_n_particles,
cs_real_t p_parts_weight,
cs_int_t p_scheme_order,
cs_real_t  boundary_stat[],
const cs_int_t *const  iensi3,
const cs_int_t *const  nvisbr,
const cs_int_t *const  inbr,
const cs_int_t *const  inbrbd,
const cs_int_t *const  iflm,
const cs_int_t *const  iflmbd,
const cs_int_t *const  iang,
const cs_int_t *const  iangbd,
const cs_int_t *const  ivit,
const cs_int_t *const  ivitbd,
const cs_int_t *const  nusbor,
cs_int_t  iusb[],
cs_real_t  visc_length[],
cs_real_t  dlgeo[],
cs_real_t  rtp[],
const cs_int_t *const  iu,
const cs_int_t *const  iv,
const cs_int_t *const  iw,
cs_int_t idepst 
)

◆ getbdy()

void getbdy ( const cs_int_t *const  nflagm,
const cs_int_t *const  nfrlag,
const cs_int_t *const  injcon,
const cs_int_t  ilflag[],
const cs_int_t  iusncl[],
const cs_int_t  iusclb[],
const cs_int_t  iusmoy[],
const cs_int_t  iuslag[],
const cs_real_t  deblag[],
const cs_int_t  ifrlag[] 
)

◆ lagbeg()

void lagbeg ( const cs_int_t *const  n_particles_max,
const cs_int_t *const  iphyla,
const cs_int_t *const  nvls,
const cs_int_t *const  nbclst 
)

◆ prtget()

void prtget ( const cs_int_t *const  nbpmax,
const cs_int_t *const  nbpart,
const cs_real_t *const  dnbpar,
cs_int_t  liste[],
cs_int_t nbvis,
const cs_real_t  ettp[],
const cs_real_t  ettpa[],
const cs_int_t  itepa[],
const cs_real_t  tepa[],
const cs_int_t  ibord[],
const cs_int_t  indep[],
const cs_int_t *const  jisor,
const cs_int_t *const  jrpoi,
const cs_int_t *const  jrtsp,
const cs_int_t *const  jdp,
const cs_int_t *const  jmp,
const cs_int_t *const  jxp,
const cs_int_t *const  jyp,
const cs_int_t *const  jzp,
const cs_int_t *const  jup,
const cs_int_t *const  jvp,
const cs_int_t *const  jwp,
const cs_int_t *const  juf,
const cs_int_t *const  jvf,
const cs_int_t *const  jwf,
const cs_int_t *const  jtaux,
const cs_int_t *const  jryplu,
const cs_int_t *const  jdfac,
const cs_int_t *const  jimark,
cs_int_t idepst 
)

◆ prtput()

void prtput ( const cs_int_t *const  nbpmax,
cs_int_t nbpart,
cs_real_t dnbpar,
cs_int_t nbpout,
cs_real_t dnbpou,
cs_int_t nbperr,
cs_real_t dnbper,
cs_int_t  liste[],
cs_int_t nbvis,
cs_real_t  ettp[],
cs_real_t  ettpa[],
cs_int_t  itepa[],
cs_real_t  tepa[],
cs_int_t  ibord[],
const cs_int_t *const  jisor,
const cs_int_t *const  jrpoi,
const cs_int_t *const  jrtsp,
const cs_int_t *const  jdp,
const cs_int_t *const  jmp,
const cs_int_t *const  jxp,
const cs_int_t *const  jyp,
const cs_int_t *const  jzp,
const cs_int_t *const  jup,
const cs_int_t *const  jvp,
const cs_int_t *const  jwp,
const cs_int_t *const  juf,
const cs_int_t *const  jvf,
const cs_int_t *const  jwf,
const cs_int_t *const  jtaux,
const cs_int_t *const  jryplu,
const cs_int_t *const  jdfac,
const cs_int_t *const  jimark,
cs_int_t idepst 
)