pydfnworks: Well Package
DFN Class functions used for well package
dfnWorks - Well Package
- cleanup_wells(self, wells)[source]
Moves working files created while making wells into well_data directory
- Parameters
self (object) – DFN Class
well –
dictionary of information about the well. Contains the following:
- well[“name”]string
name of the well
- well[“filename”]string
- filename of the well coordinates. “well_coords.dat” for example.
Format is : x0 y0 z0 x1 y1 z1 … xn yn zn
- well[“r”]float
radius of the well
- Return type
None
Notes
Wells can be a list of well dictionaries
- combine_well_boundary_zones(self, wells)[source]
Processes zone files for particle tracking. All zone files are combined into allboundaries.zone
- Parameters
None –
- Return type
None
Notes
None
- find_well_intersection_points(self, wells)[source]
Identifies points on a DFN where the well intersects the network. These points are used in meshing the network to have higher resolution in the mesh in these points. Calls a sub-routine run_find_well_intersection_points.
- Parameters
self (object) – DFN Class
well –
dictionary of information about the well. Contains the following:
- well[“name”]string
name of the well
- well[“filename”]string
- filename of the well coordinates. “well_coords.dat” for example.
Format is : x0 y0 z0 x1 y1 z1 … xn yn zn
- well[“r”]float
radius of the well
- Return type
None
Notes
Wells can be a list of well dictionaries. Calls the subroutine run_find_well_intersection_points to remove redundant code.
- tag_well_in_mesh(self, wells)[source]
Identifies nodes in a DFN for nodes the intersect a well with radius r [m]
Well coordinates in well[“filename”] are converted to a polyline that are written into “well_{well[‘name’]}_line.inp”
Well is expanded to a volume with radius well[“r”] and written into the avs file well_{well[“name”]}_volume.inp
Nodes in the DFN that intersect with the well are written into the zone file well_{well[“name”]}.zone
If using PFLOTRAN, then an ex file is created from the well zone file
- Parameters
self (object) – DFN Class
well –
Dictionary of information about the well that contains the following attributes
- well[“name”]string
name of the well
- well[“filename”]string
filename of the well coordinates with the following format x0 y0 z0
x1 y1 z1
…
xn yn zn
- Return type
None
Notes
Wells can be a list of well dictionaries