dfnTrans
Code for Particle Tracking simulations in 3D DFN
|
#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 |
Vertex is a node structure and contains all the information about the node/vertex of the DFN mesh
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().
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().
unsigned int** vertex::cells |
dynamic array of triangular cells ID
Definition at line 139 of file FuncDef.h.
Referenced by AcrossIntersection(), AdjacentCells(), BoundaryCells(), CalculateLagrangian(), CheckDistance(), CompleteMixingRandomSampling(), HalfPolygonVelocity(), InitCell(), Moving2NextCell(), Moving2NextCellBound(), NeighborCells(), ReadDataFiles(), ReadInit(), and StreamlineRandomSampling().
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().
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().
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().
unsigned int** vertex::fracts |
dynamic array of fractures ID
Definition at line 142 of file FuncDef.h.
Referenced by AdjacentCells(), ReadDataFiles(), and ReadInit().
unsigned int vertex::fracture[2] |
fracture ID where node is
Definition at line 112 of file FuncDef.h.
Referenced by AcrossIntersection(), AdjacentCells(), CalculateVelocity3D(), CheckDistance(), Convertto2d(), DarcyVelocity(), InitInMatrix(), InitInWell(), InitParticles_eq(), InitParticles_flux(), InitParticles_np(), InitPos(), ParticleTrack(), ReadAperture(), and ReadDataFiles().
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().
unsigned int vertex::numneighb |
number of nodes connections
Definition at line 127 of file FuncDef.h.
Referenced by AdjacentCells(), BoundaryCells(), CalculateLagrangian(), CalculateWeights(), CheckDistance(), CheckGrid(), DarcyVelocity(), FlowInWeight(), InitCell(), InitParticles_flux(), ReadBoundaryNodes(), ReadDataFiles(), ReadPFLOTRANfile(), and WritingInit().
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().
double vertex::pvolume |
Voronoi polygon vlue associated with the cell center
Definition at line 121 of file FuncDef.h.
Referenced by ReadPFLOTRANfile().
double vertex::residtime |
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().
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().
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().
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().