Hi James-
Thanks for your question. I have two questions and a request that might help diagnose what is going on.
If it’s (1) can you provide the version of ParFlow for which this ran, which will help identify changes that are now breaking things. The metadata bug may not be stopping execution and is listed as an issue here, thanks for also bringing it up again. If this is (2), or in any case, can you include the exact version of PF that you are running, compilers used to build, OS, etc, that it’s running on? Can you also include your python or TCL script that is setting up the problem and what code / workflow was used to create the solid file? The origin coordinates for the solid file *should* be the same as the origin coordinates for the computational grid, and you are correct that this should match other inputs that have an origin as well.
Thanks in advance for providing additional information and hopefully this will help us diagnose what is going on.
Reed
Reed M. Maxwell, Ph.D.
Professor
Department of Civil and Environmental Engineering
High Meadows Environmental Institute
Director, Integrated GroundWater Modeling Center
Princeton University
--
You received this message because you are subscribed to the Google Groups "ParFlow" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
parflow+u...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/parflow/f71198cc-df72-4643-a4e1-a8890a6e76b4n%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Also, as an additional follow up / clarification. Each of the points in the solid file need to be placed in the computational grid so it depends on the origin. If the origin doesn’t match what is used to create the PFSOL there is no way for ParFlow to match these up. You can use the mask-to-pfsol and pfsol-to-vtk tools to generate your solid files and VTK files that can be easily visualized either with the patches (shown here) or the vertices and lines of the mesh (shown below) in e.g. ParaView.
To view this discussion on the web visit https://groups.google.com/d/msgid/parflow/DM6PR04MB6697CABFB80DA6EB9C2A2ED0A6439%40DM6PR04MB6697.namprd04.prod.outlook.com.
Hi James-
Thanks for the clarification and for sending the script. Can you send along the pfsolid file too? To visualize the patches you just select “patch index” in Paraview
Thanks
To view this discussion on the web visit https://groups.google.com/d/msgid/parflow/72079996-62de-445b-9df9-4584537101eb%40pjdf-m71.hsd1.ca.comcast.net.
Thanks James. I have the file. How did you generate it? The Z range of the file runs from 0 to 500 so this will only work with the PF Z origin (you have this set as a TCL variable then set in the computational grid) of Zero, not the 2910 value I think you want. The issue here is likely some solid file / computational grid synch up. Have you plotted the mask output by PF in Paraview too?
Happy to help
Hi Reed,
I didn’t generate this file—I’m trying to get the details on how it was done, but haven’t been able to get those yet.
The 0 value for z is actually correct—my apologies, the note about “Should be” is from some previous work. The problem for the location is with the ComputationalGrid.Lower.X,Y values — the problem runs if those are 0.0, but not with the correct x0,y0 values of 619696.3427 and 4220655.0278. I will note that these x0,y0 values don’t match the solid file exactly because the setup had that solid file in a slightly larger background box, but I find it odd that I get the KINSOL_KRYLOV_FAILURE when the solid file is inside the ComputationalGrid but not when it isn’t.
I’ve attached here the mask created during the ParFlow run. It looks to have the right min and max x and y values (and z values, but that isn’t a problem), and the mask looks to be of the correct solid file area. However, this is the case where the KINSOL_KRYLOV_FAILURE happens. I can take a look at what happens with the mask when running with the ComputationalGrid.Lower.X,Y values are 0,0 but I’ll need to do that in a bit. Let me know what else I might be able to do to diagnose this.
Thanks,James
Hi James-
Thanks, got it.
Reed
Reed M. Maxwell, Ph.D.
Professor
Department of Civil and Environmental Engineering
High Meadows Environmental Institute
Director, Integrated GroundWater Modeling Center
Princeton University
From: P. James Dennedy-Frank <pj...@lbl.gov>
Date: Wednesday, December 29, 2021 at 3:47 PM
To: P. James Dennedy-Frank <pj...@lbl.gov>