Skip to main content

mf6Voronoi

The friendly way to create awesome Voronoi meshes for MODFLOW6 DISV

flopy3

Introduction

Groundwater modeling with several boundary conditions and complex hydrogeological setups require advanced tools for mesh discretizacion that ensures adequate refinement in the zone of interest while preserving a minimal cell account. Type of mesh has to be engineered in a way to preserve computational resources and represent adequately the groundwater flow regime.

Package

This python package creates a Voronoi mesh for MODFLOW6 with the DISV (discretized by vertices) option. The package work with geospatial files and has options for selective refinement based on the boundary condition.

These are the main python package characteristics:

  • Works with geospatial files on ESRI Shapefile format
  • Progressive refinement can be modified with a multiplier
  • Summary of the point cloud generated for the Voronoi meshing
  • Tested on more than 5 groundwater model datasets
  • Output as polygon ESRI Shapefile
  • Few steps and arguments for mesh generation

Requirements

There are few requirements for the package. The most important one is that all the input files has to be in the same system of reference (CRS) and the CRS length unit has to be in meters or feet.

Example

The package has been designed with a simple and user friendly approach allowing to create awesome meshes on a short amount of steps.

# Import the mf6Voronoi package
from mf6Voronoi.geoVoronoi import createVoronoi

# Create mesh object specifying the coarse mesh and the multiplier
vorMesh = createVoronoi(meshName='regionalModel',maxRef = 200, multiplier=1.5)

# Open limit layers and refinement definition layers
vorMesh.addLimit('basin','../../examples/regionalModel/shp/Angascancha_Basin_Extension.shp')
vorMesh.addLayer('river','../../examples/regionalModel/shp/rios.shp',50)

# Generate point pair array
vorMesh.generateOrgDistVertices()

# Generate the point cloud and voronoi
vorMesh.createPointCloud()
vorMesh.generateVoronoi()

# Export generated voronoi mesh
vorMesh.getVoronoiAsShp(outputPath='output')

Metadata

Release files for mf6Voronoi 0.0.38

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mf6Voronoi 0.0.38
File Size Uploaded
mf6voronoi-0.0.38.tar.gz 44.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mf6Voronoi 0.0.38
File Interpreter ABI Platform
mf6voronoi-0.0.38-py3-none-any.whl Python 3 none any Details

Total release size: 99.8 kB

Release files / mf6voronoi-0.0.38.tar.gz

Download URL mf6voronoi-0.0.38.tar.gz
Size 44.6 kB
Tags Source
SHA-256 checksum
How to use checksums
80924d5aa70dfd3ba58e9c39955d354d37e924fd3de6d2c0eae1dfc92498d424
BLAKE2b-256 checksum
How to use checksums
72b9ea1399b18314b58c63c86cafa8ed16577191ee1630b3745aa1c3d7f92534
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release files / mf6voronoi-0.0.38-py3-none-any.whl

Download URL mf6voronoi-0.0.38-py3-none-any.whl
Size 55.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77f54d1772a7836e61fdab9894702c75856c7cc289b9f66be18ddf3ce331abc6
BLAKE2b-256 checksum
How to use checksums
a79e394c2a7acc8b470e765c78c72b92176373bb1a7b8b480ae7c59dd571bd0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.0.38 This release

2 release files

0.0.37

2 release files

0.0.36

2 release files

0.0.35

2 release files

0.0.34

2 release files

0.0.31

2 release files

0.0.30

2 release files

0.0.29

2 release files

0.0.27

2 release files

0.0.26

2 release files

0.0.25

2 release files

0.0.24

2 release files

0.0.21

2 release files

0.0.20

2 release files

0.0.19

2 release files

0.0.18

2 release files

0.0.17

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page