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

#include <FuncDef.h>

Data Fields

unsigned int typeN
 
unsigned int fracture [2]
 
double coord [3]
 
double coord_xy [6]
 
double pvolume
 
double pressure
 
unsigned int numneighb
 
double velocity [4][2]
 
double timestep [4]
 
unsigned int * indnodes
 
unsigned int ** cells
 
unsigned int ** fracts
 
unsigned int * type
 
double * flux
 
double * area
 
double residtime
 
double aperture
 

Detailed Description

Vertex is a node structure and contains all the information about the node/vertex of the DFN mesh

Definition at line 106 of file FuncDef.h.

Field Documentation

◆ aperture

double vertex::aperture

fracture aperture at the control volume cell

Definition at line 157 of file FuncDef.h.

Referenced by InitInWell(), InitPos(), ParticleOutput(), ParticleTrack(), ReadAperture(), ReadDataFiles(), ReadPFLOTRANfile(), and TimeDomainRW().

◆ area

double* vertex::area

dynamic array of 2D areas of the edges of the control volume cell

Definition at line 151 of file FuncDef.h.

Referenced by HalfPolygonVelocity(), ReadDataFiles(), ReadInit(), and ReadPFLOTRANfile().

◆ cells

◆ coord

double vertex::coord[3]

node's x,y,z coordinations

Definition at line 115 of file FuncDef.h.

Referenced by Convertto2d(), InitInMatrix(), InitPos(), and ParticleTrack().

◆ coord_xy

double vertex::coord_xy[6]

XYZ plane coordination of node; if the node is on intersection then two sets of XYZ coordinations are defined (each set for each intersecting fracture

Definition at line 118 of file FuncDef.h.

Referenced by AcrossIntersection(), BoundaryCells(), CalculateLagrangian(), CheckDistance(), Convertto2d(), Coordinations2D(), CornerVelocity(), DarcyVelocity(), HalfPolygonVelocity(), InitInMatrix(), InitInWell(), InitParticles_eq(), InitParticles_flux(), InitParticles_np(), InOutFlowCell(), and Moving2Center().

◆ flux

double* vertex::flux

dynamic array of flow fluxes at the edges of the control volume cell

Definition at line 148 of file FuncDef.h.

Referenced by InitParticles_flux(), ReadBoundaryNodes(), ReadDataFiles(), ReadInit(), ReadPFLOTRANfile(), VelocityExteriorNode(), and VelocityInteriorNode().

◆ fracts

unsigned int** vertex::fracts

dynamic array of fractures ID

Definition at line 142 of file FuncDef.h.

Referenced by AdjacentCells(), ReadDataFiles(), and ReadInit().

◆ fracture

◆ indnodes

unsigned int* vertex::indnodes

dynamic array of neighboring nodes ID

Definition at line 136 of file FuncDef.h.

Referenced by BoundaryCells(), CalculateLagrangian(), CheckDistance(), DarcyVelocity(), HalfPolygonVelocity(), ReadDataFiles(), and ReadInit().

◆ numneighb

◆ pressure

double vertex::pressure

fluid pressure defined at the node by flow solver

Definition at line 124 of file FuncDef.h.

Referenced by BoundaryCells(), PredictorStep(), ReadFEHMfile(), and ReadPFLOTRANfile().

◆ pvolume

double vertex::pvolume

Voronoi polygon vlue associated with the cell center

Definition at line 121 of file FuncDef.h.

Referenced by ReadPFLOTRANfile().

◆ residtime

double vertex::residtime

residential time of particles inside the control volume cell

Definition at line 154 of file FuncDef.h.

◆ timestep

double vertex::timestep[4]

appropriate time step for particles is defined at the node according to the volume of control volume cell

Definition at line 133 of file FuncDef.h.

Referenced by CalculateCurrentDT(), and DefineTimeStep().

◆ type

unsigned int* vertex::type

dynamic array of types of neighbouring nodes

Definition at line 145 of file FuncDef.h.

Referenced by HalfPolygonVelocity(), ReadDataFiles(), and ReadInit().

◆ typeN

unsigned int vertex::typeN

node type: 0 - interior node; 10 - boundary (exterior) node; 2 - intersection (interface) node; 12 - intersection boundary node; 300, 310, 302, 312 - node in in-flow boundary; 200, 210, 202, 212 - node in out-flow boundary

Definition at line 109 of file FuncDef.h.

Referenced by HalfPolygonVelocity(), ReadBoundaryNodes(), and ReadDataFiles().

◆ velocity

double vertex::velocity[4][2]

reconstructed Darcy velocity at the node, four velocities are defined at intersection nodes

Definition at line 130 of file FuncDef.h.

Referenced by AcrossIntersection(), BoundaryCells(), CalculateVelocity3D(), CornerVelocity(), DarcyVelocity(), DefineBoundaryAngle(), DefineTimeStep(), InOutFlowCell(), PredictorStep(), VelocityExteriorNode(), and VelocityInteriorNode().


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