setBoundaryWaterLevel utility
Description
Utility to set up head Pressure (3D) or potential (2D) on a specified patch
Can be used to set up water level for all groundwater solvers.
Usage
to impose uniform head pressure (unsaturated solvers):
setBoundaryWaterLevel -patch patchName -value 50.3
to impose uniform potential (saturated solvers):
setBoundaryWaterLevel -patch patchName -value 50.3 -field potential
initialize pressure head with DEM file (unsaturated solvers):
setBoundaryWaterLevel -patch patchName -DEM stl_file
initialize potential with DEM file (saturated solvers):
setBoundaryWaterLevel -patch patchName -DEM stl_file -field potential
initialize pressure head with STL file (unsaturated solvers):
setBoundaryWaterLevel -patch patchName -STL stl_file
Options
-patch : required to specificy the patch to set up water level
-field : optional <h> to specificy the field to initialize (h or potential)
-value : optional <0> for uniform initialization
-DEM : optional <fileName> file for DEM initialization
-STL : optional <fileName> file for STL initialization
-threshold : optional <0> minimum height for points to look in STL file
-offset : optional <0> specify the constant offset from the STL/DEM file
Restrictions
STL initialization can be only used for unsaturated solvers.