GMS:HydroGeoSphere: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
 
(36 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOINDEX__
{{HGS Links}}
{{Current development}}
HydroGeoSphere (HGS) is a three-dimensional control-volume finite element simulator created by [https://www.aquanty.com/ Aquanty]. HGS can be used to model the entire terrestrial portion of the hydrologic cycle. It uses a globally-implicit approach to simultaneously solve the 2D diffusive-wave equation for overland/surface water flow and the 3D form of Richards’ equation for variably saturated groundwater flow. GMS allows multiple HGS simulations to exist in a single GMS project. Users should note that while GMS uses the terms “points” and “cells” for UGrids, HGS uses the terms “nodes” and “elements” regarding this tool.


HydroGeoSphere (HGS) is a three-dimensional control-volume finite element simulator created by [https://www.aquanty.com/ Aquanty]. HGS can be used to model the entire terrestrial portion of the hydrologic cycle. It uses a globally-implicit approach to simultaneously solve the 2D diffusive-wave equation for overland/surface water flow and the 3D form of Richards’ equation for variably saturated groundwater flow.
==HydroGeoSphere Simulations==
 
==Graphical Interface==
The GMS interface for HydroGeoSphere contains multiple components. These components include:
The GMS interface for HydroGeoSphere contains multiple components. These components include:
* An unstructured grid (UGrid)
* An unstructured grid (UGrid)
* HGS coverages
* [[GMS:HydroGeoSphere Coverages|HydroGeoSphere coverages]]
* HGS simulation, including the Simulation Control
* HydroGeoSphere simulation, including the [[GMS:HydroGeoSphere Simulation Control|Simulation Control]]
==Building a HydroGeoSphere Simulation ==
[[File:MODFLOW6 Sim.png|thumb|250 px|Example of a MODFLOW 6 simulation in the Project Explorer]]
Before building a HydroGeoSphere (HGS) simulation, a 3D UGrid of the project area is required. While the project can contain multiple UGrids, only one UGrid can be attached to each HGS simulation.


To create a MODFLOW simulation:
===Creating a New HydroGeoSphere Simulation ===
[[File:Hgs simulation.png|thumb|250 px|Example of a HydroGeoSphere simulation in the Project Explorer]]
To create a HydroGeoSphere simulation:
# Right-click on an empty space in the Project Explorer, or right-click on "[[File:Project Icon.svg|16 px]] Project" in the Project Explorer, and select ''New Simulation'' | '''HydroGeoSphere'''.
# Right-click on an empty space in the Project Explorer, or right-click on "[[File:Project Icon.svg|16 px]] Project" in the Project Explorer, and select ''New Simulation'' | '''HydroGeoSphere'''.


When the simulation has been initially created, the selected UGrid will be linked to the simulation and the simulation packages will appear in the Project Explorer.  
A 3D UGrid of the project area is required. While the project can contain multiple UGrids, only one UGrid can be attached to each HGS simulation. The desired UGrid will need to be linked to the HGS simulation.


===HGS Simulation Right-Click Menus===
===HGS Simulation Right-Click Menus===
Line 22: Line 19:
*"[[File:Mf6sim data.svg|16 px]] Simulation Data"
*"[[File:Mf6sim data.svg|16 px]] Simulation Data"
**'''Simulation Run Queue''' – Opens the ''Simulation Run Queue'' dialog which shows all current simulation runs.  
**'''Simulation Run Queue''' – Opens the ''Simulation Run Queue'' dialog which shows all current simulation runs.  
*"[[File:MF6 Simulation Folder.svg|16 px]] HydroGeoSphere Simulations"
*"[[File:Hgs-sim-folder icon.png|16 px]] HydroGeoSphere Simulations"
** '''New Simulation''' – Creates a new MODFLOW 6 simulation in the Project Explorer. This simulation will not contain any of the packages in any existing simulations and therefor the packages must be added. Also, creating a new simulation using this method requires linking a UGrid to the simulation.  
** '''New Simulation''' – Creates a new HGS simulation in the Project Explorer. This simulation will not contain any of the packages in any existing simulations and therefor the packages must be added. Also, creating a new simulation using this method requires linking a UGrid to the simulation.  
**'''Simulation Run Queue''' – Opens the ''Simulation Run Queue'' dialog which shows all current simulation runs.  
** '''Save Multiple Simulations''' – Saves all HGS simulations in the project and exports all files needed for the model run.
** '''Save All and Run''' – Saves all MODFLOW 6 simulations in the project and exports all files needed for the model run. It then will launch the ''Simulation Run Queu'' dialog and begin the model runs for all simulations in the project.
*[[File:HydroGeoSphere Simulation Icon.png|16 px]] Model
*[[File:MODFLOW Folder.svg|16 px]] Model
**'''Simulation Control''' – Opens the [[GMS:HydroGeoSphere Simulation Control|''Simulation Control'']] dialog where the HGS simulation parameters are set.
**'''Simulation Run Queue''' – Opens the ''Simulation Run Queue'' dialog which shows all current simulation runs.  
**'''Materials''' – Opens the HGS [[GMS:HydroGeoSphere Materials|''Materials'']] dialog.
**''New Package'' – Opens a sub-menu listing all available packages that can be added to the simulation. Selecting a package will add it to the simulation. Some packages cannot be added until certain packages have already been added to the simulation and therefore will not be available until the prerequisite package has been added.
**'''Export''' – Saves out the simulation files.
**'''Check Simulation''' – Checks the simulation for model errors and brings up the ''Model Check'' dialog if any errors are found.
**'''Run grok''' – Opens the ''Run grok.exe'' dialog where GMS will generate the GROK file. The GROK file contains all of the information and instructions required for the HGS simulation.
**'''Run phgs''' – Opens the ''Run phgs.exe'' dialog where the HGS simulation will run.
**'''Run hsplot''' – Opens the ''Run hsplot.exe'' dialog which will post-process the simulation results for viewing.
**'''Solution Plots''' – Opens the ''Solution Plots'' dialog which will display plots generated from the HGS solution.
**'''Save Simulation''' – Saves the simulation and exports all files needed for the model run.
**'''Save Simulation''' – Saves the simulation and exports all files needed for the model run.
**'''Run Simulation''' – Starts the simulation model run and opens the ''Simulation Run Queue'' dialog.
**'''Save Project and Simulation''' – Saves the simulation and exports all files needed for the model run.  
**'''Save Project, Simulation and Run''' – Saves the simulation and exports all files needed for the model run. It then will launch the ''Simulation Run Queu'' dialog and begin the model runs for the simulation.
**'''Read Solution''' – Loads the solution file for the associated simulation. Requires that the simulation has had a successful run.
**'''Read Solution''' – Loads the solution file for the associated simulation. Requires that the simulation has had a successful run.


===Simulation Right-Click Menu Commands===
==HGS Executables==
{{Anchor|Simulation Menu}}
Running HGS requires multiple executable. These include:
Right-clicking on any simulation object [[File:Simulation Icon.svg|16 px]] in the Project Explorer will bring up a menu for that simulation. Some of the commands are specific for the simulation model type. The simulation right-click menu has the following commands that are used by all simulations.
* grok.exe – A pre-processor that uses the Grok input file containing the information and instructions for the HGS simulation.  
* '''Rename''' – Allows changing the simulation name.
* phgs.exe – Performs the model simulation.
* '''Duplicate''' – Creates a copy of the selected simulation. All components linked to selected simulation will be linked to the duplicate simulation. Adding, or removing the components in the duplicate simulation will not change the original simulation.
* hsplot.exe – A post-processor that generates the simulations results.
* '''Delete''' – Removes the selected simulation. This command does not delete or modify components linked to the simulation.
* '''Properties''' – Brings up a ''Properties'' dialog that shows which model the simulation is using and what components have been applied.
 
Right-clicking on the simulation folder [[File:Simulation Folder Icon.svg|16 px]] always includes the following commands:
* '''New Simulation''' – This command will create a new simulation of the same model type as the simulation folder.
* '''Simulation Run Queue''' – Opens the [[SMS:Simulations#Simulation_Run_Queue|''Simulation Run Queue'']] dialog.
 
Additional commands appear in the simulation right-click menu depend on the settings in the ''Simulation Menu Preferences'' dialog as described above.
If any of the ''Multiple'' simulation commands are invoked, a dialog appears listing the simulations in this folder with toggle box next to each as shown. The user may then select which simulations should be included in this command.
 
These optional commands should be self explanatory based on their name. In general, their function can be described as:
*A command that says '''Save Simulation''' generates the files for the numeric model simulation run, but does not save the project files.
*A command that says '''Save Project''' saves the project such as mesh and map data, but doesn't generate the files needed for the simulation run. This command is typically used with the ''Save Simulation'' command.
*A command that says '''Run Simulation''' runs the simulation. It is necessary to save the simulation files as part of or before using a run command.
All of the above applies equally to multiple simulations commands and single simulations commands.
 
==Modeling Notes==
*GMS allows multiple HGS simulations to exist in a single GMS project.


==HGS Files==
Note: Executables are not shipped and installed with GMS, and as such users are required to install HydroGeoSphere in order to access executables.


Boundary conditions are defined on feature objects in GMS coverages. When the model is saved, GMS intersects the features with the UGrid to find the grid components (nodes, cells, faces, or segments) that should be associated with the boundary conditions, and writes the boundary conditions to the GROK file. Furthermore, when model native files are saved, the feature objects are intersected with the grid, similar to Map to Modflow. For boundary condition coverages, the type of feature object and the type of boundary condition determines the type of UGrid component (point, face, or segment) that the BC is mapped to.


==External Links==
==External Links==
Line 69: Line 51:


{{Navbox GMS}}
{{Navbox GMS}}
[[Category:Under Development]]
{{stub}}
[[Category:HydroGeoSphere]]
[[Category:HydroGeoSphere]]
[[Category:External Links]]
[[Category:External Links]]

Latest revision as of 22:16, 7 July 2024

HydroGeoSphere
Models & Tools
HGS Simulation Control
HGS Materials
HGS Coverages
HGS Arc Properties
HGS Point Properties
HGS Polygon Properties
HGS Renumber UGrid

HydroGeoSphere (HGS) is a three-dimensional control-volume finite element simulator created by Aquanty. HGS can be used to model the entire terrestrial portion of the hydrologic cycle. It uses a globally-implicit approach to simultaneously solve the 2D diffusive-wave equation for overland/surface water flow and the 3D form of Richards’ equation for variably saturated groundwater flow. GMS allows multiple HGS simulations to exist in a single GMS project. Users should note that while GMS uses the terms “points” and “cells” for UGrids, HGS uses the terms “nodes” and “elements” regarding this tool.

HydroGeoSphere Simulations

The GMS interface for HydroGeoSphere contains multiple components. These components include:

Creating a New HydroGeoSphere Simulation

Example of a HydroGeoSphere simulation in the Project Explorer

To create a HydroGeoSphere simulation:

  1. Right-click on an empty space in the Project Explorer, or right-click on "Project Icon.svg Project" in the Project Explorer, and select New Simulation | HydroGeoSphere.

A 3D UGrid of the project area is required. While the project can contain multiple UGrids, only one UGrid can be attached to each HGS simulation. The desired UGrid will need to be linked to the HGS simulation.

HGS Simulation Right-Click Menus

In the Project Explorer, right-clicking on a HGS simulation brings up a menu with several commands. Some of these commands are common to other Project Explorer In the Project Explorer, right-clicking on HGS simulation brings up a menu with several commands. Some of these commands are common to other Project Explorer right-click menus. Others are unique to the simulation right-click menus. Some of these unique commands are:

  • "Mf6sim data.svg Simulation Data"
    • Simulation Run Queue – Opens the Simulation Run Queue dialog which shows all current simulation runs.
  • "Hgs-sim-folder icon.png HydroGeoSphere Simulations"
    • New Simulation – Creates a new HGS simulation in the Project Explorer. This simulation will not contain any of the packages in any existing simulations and therefor the packages must be added. Also, creating a new simulation using this method requires linking a UGrid to the simulation.
    • Save Multiple Simulations – Saves all HGS simulations in the project and exports all files needed for the model run.
  • HydroGeoSphere Simulation Icon.png Model
    • Simulation Control – Opens the Simulation Control dialog where the HGS simulation parameters are set.
    • Materials – Opens the HGS Materials dialog.
    • Export – Saves out the simulation files.
    • Run grok – Opens the Run grok.exe dialog where GMS will generate the GROK file. The GROK file contains all of the information and instructions required for the HGS simulation.
    • Run phgs – Opens the Run phgs.exe dialog where the HGS simulation will run.
    • Run hsplot – Opens the Run hsplot.exe dialog which will post-process the simulation results for viewing.
    • Solution Plots – Opens the Solution Plots dialog which will display plots generated from the HGS solution.
    • Save Simulation – Saves the simulation and exports all files needed for the model run.
    • Save Project and Simulation – Saves the simulation and exports all files needed for the model run.
    • Read Solution – Loads the solution file for the associated simulation. Requires that the simulation has had a successful run.

HGS Executables

Running HGS requires multiple executable. These include:

  • grok.exe – A pre-processor that uses the Grok input file containing the information and instructions for the HGS simulation.
  • phgs.exe – Performs the model simulation.
  • hsplot.exe – A post-processor that generates the simulations results.

Note: Executables are not shipped and installed with GMS, and as such users are required to install HydroGeoSphere in order to access executables.

Boundary conditions are defined on feature objects in GMS coverages. When the model is saved, GMS intersects the features with the UGrid to find the grid components (nodes, cells, faces, or segments) that should be associated with the boundary conditions, and writes the boundary conditions to the GROK file. Furthermore, when model native files are saved, the feature objects are intersected with the grid, similar to Map to Modflow. For boundary condition coverages, the type of feature object and the type of boundary condition determines the type of UGrid component (point, face, or segment) that the BC is mapped to.

External Links