dfnTrans
Code for Particle Tracking simulations in 3D DFN
contam Struct Reference

#include <FuncDef.h>

Data Fields

double velocity [2]
 
double position [2]
 
double prev_pos [2]
 
unsigned int fracture
 
unsigned int cell
 
unsigned int intcell
 
double weight [3]
 
double time
 
double fl_weight
 
double pressure
 
double t_adv_diff
 
double t_diff
 

Detailed Description

contam structure contains all parameters of the particles

Definition at line 177 of file FuncDef.h.

Field Documentation

◆ cell

◆ fl_weight

double contam::fl_weight

weight of particle according to flow fluxes in in-flow boundary or according to initial fracture/cell aperture

Definition at line 204 of file FuncDef.h.

Referenced by FlowInWeight(), InitInMatrix(), InitInWell(), InitParticles_eq(), InitParticles_flux(), InitParticles_np(), InitParticles_ones(), InitPos(), and ParticleTrack().

◆ fracture

unsigned int contam::fracture

◆ intcell

unsigned int contam::intcell

intcell=1 if cell is on intersection; =0 if not

Definition at line 195 of file FuncDef.h.

Referenced by AcrossIntersection(), InitInMatrix(), InitParticles_eq(), InitParticles_flux(), InitParticles_np(), InitParticles_ones(), and InsideCell().

◆ position

◆ pressure

double contam::pressure

interpolated fluid pressure at particles location

Definition at line 207 of file FuncDef.h.

Referenced by InitInMatrix(), InitInWell(), InitParticles_eq(), InitParticles_flux(), InitParticles_np(), InitParticles_ones(), InitPos(), ParticleOutput(), ParticleTrack(), and PredictorStep().

◆ prev_pos

double contam::prev_pos[2]

x and y particle position in previous time step

Definition at line 186 of file FuncDef.h.

Referenced by AcrossIntersection(), CalculateLagrangian(), CalculateWeights(), CheckDistance(), CorrectorStep(), InitInMatrix(), and PredictorStep().

◆ t_adv_diff

double contam::t_adv_diff

in case of TDRW: total travel time = advection plus diffusion

Definition at line 210 of file FuncDef.h.

Referenced by CheckDistance(), and ParticleTrack().

◆ t_diff

double contam::t_diff

in case of TDRW: accumulative diffusion time

Definition at line 213 of file FuncDef.h.

Referenced by CheckDistance(), and ParticleTrack().

◆ time

double contam::time

◆ velocity

double contam::velocity[2]

velocity of particle, interpolated from triangular cell

Definition at line 180 of file FuncDef.h.

Referenced by CalculateWeights(), CorrectorStep(), InitInMatrix(), InitInWell(), InitParticles_eq(), InitParticles_flux(), InitParticles_np(), InitParticles_ones(), InitPos(), and PredictorStep().

◆ weight

double contam::weight[3]

weights, that are calculated for velocity interpolation from cell vertices

Definition at line 198 of file FuncDef.h.

Referenced by CalculateCurrentDT(), CalculateWeights(), FlowInWeight(), InitInMatrix(), InsideCell(), and PredictorStep().


The documentation for this struct was generated from the following file: