Questions tagged [flopy]

Flopy is a Python package for creating, running and post-processing MODFLOW-based models.

About FloPy

FloPy is a package for pre- and post-processing MODFLOW-based models with python. FloPy includes support for MODFLOW 6, MODFLOW-2005, MODFLOW-NWT, MODFLOW-USG, and MODFLOW-2000. Other supported MODFLOW-based models include MODPATH (version 6 and 7), MT3DMS, MT3D-USGS, and SEAWAT. More information on MODFLOW-based models can be found on the MODFLOW homepage.

Latest Stable Release

FloPy version 3.29 - 19 February 2018

Resources

69 questions
0
votes
1 answer

How do I in FloPy Modflow6 output MAW head values for all timesteps?

I am creating a MAW well and want to use it as an observation well to compare it later to field data, it should be screened over multiple layers. However, I am only getting the head value in the well of the very last timestep in my output file. Any…
Cjestmir
  • 3
  • 4
0
votes
1 answer

Is it possible to use the modflow package RT3d in Python?

Is it possible to use the modflow package RT3d, or another chemical reaction packgae in Python?
0
votes
1 answer

flopy The program mf6 does not exist or is not executable

when I execute sim.run_simulation() error is showing "The program mf6 does not exist or is not executable".
0
votes
1 answer

Example creating a MF-USG model in flopy

I am interested in creating a MF-USG model in flopy with a quadtree grid. I have created the disu using gridgen, but now I am stuck on how to assign properties and boundaries to the model, as the all examples of unstructured grids I can find are for…
0
votes
1 answer

PyEMU - add_parameters() from a MODFLOW6 2D cross section model

I am trying to setup parameters in a PyEMU setup, using external array files for a MODLFOW 6 model generated using Flopy. The model is a 2D cross section (50 layers, 1 row and 200 columns). Using this code: filenames =…
toica
  • 3
  • 3
0
votes
1 answer

Flopy MF6 Plotting specific discharge in cross-section view

How to plot discharge vectors in cross-section view in Flopy MF6? I know this plots for plan view: quiver = mapview.plot_specific_discharge(spdis[0]) I tried to get specific discharge using the following code but got error: AttributeError: module…
0
votes
1 answer

Loading USG-Transport models into FloPy from file

I have built a MODFLOW USG-Transport model with FloPy and I want to load the model from file. I tried using: Load model from nam file mu = flopy.modflow.Modflow.load('%s.nam'%(model_name)) but I get the following error: File…
0
votes
1 answer

How to simulate pumping well in SEAWAT using flopy with a salinity constrain?

I want to simulate a pumping well above seawater intrusion in SEAWAT using flopy and want to cease automaticly pumping when the salinity concentration in the well's cell reaches to a certain level, for example, 5% of relative salinity. In other…
0
votes
0 answers

I have followed exactly what the instructor in a pre recorded webinar has entered a name error occured

here is a screenshot of the name error i am talking about. I have entered what the instructor in a pre-recorded webinar has entered in his screen. i can't ask follow-up questions to the instructor since webinar has already passed.
0
votes
1 answer

FloPy/Python warning when running river package MODFLOW?

I'm trying to add rivers to my model but this warning happens to be there when after I run it: WARNING: Unable to resolve dimension of ('gwf6', 'riv', 'period', 'stress_period_data', 'cellid') based on shape "ncelldim" What I'm doing is I get the…
Supernova
  • 87
  • 5
0
votes
0 answers

How to solve this error in Flopy for head table boundary?

I've been trying to put my head data in my model using MODFLOW6 but I get the following error: MFDataException: An error occurred in data element "strt" model "model" package "ic". The error occurred while setting data in the "__init__"…
Supernova
  • 87
  • 5
0
votes
1 answer

Transforming different arrays into a loop

I was wondering if it was possible to transform these next process into a loop so that I can use one word for this (not as a vector): Data0 = np.zeros(dem0.shape, dtype=np.int32) Data0[zipp[0] >= 0 ] = 1 Data1 = np.zeros(dem1.shape,…
Supernova
  • 87
  • 5
0
votes
1 answer

Loading existing MODFLOW-USG model w/ Voronoi Mesh in FloPy

I am trying to load an existing MODFLOW-USG model with FloPy (Windows environment). The model has a Voronoi mesh, and this seems to trip the "load"…
0
votes
0 answers

How to re-create DDN file or georeference output HDS

I have used the binary utility to read the .HDS out put files from two models to calculate the difference (the drawdown), and I was wondering if there is a way to re-convert that into a .DDN binary file to reimport it into modflow. Alternatively,…
Astro
  • 11
  • 1
0
votes
1 answer

Load existing mf2005 model into flopy and change parameters

I have an existing MODFLOW2005 model that was created in Processing Modflow gui. I would like to import this model into flopy to be able to conduct a sensivitiy analysis on model parameters, something that I believe should be much quicker using…
Under2
  • 23
  • 3