AHGW:Build Cell3D Features: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
m (Jmonson moved page Test:Build Cell3D Features to AHGW:Build Cell3D Features without leaving a redirect)
(redirect)
Tag: New redirect
 
Line 1: Line 1:
{{TOC right}}
#REDIRECT [[AHGW:Create MODFLOW Cell3D]]
The Build Cell3D tool is part of the [[AHGW:MODFLOW Analyst|MODFLOW analyst]] toolset. The tool creates 3D cells (multipatches) based on existing Cell2D features (polygons) and information on the discretization of the MODFLOW grid stored in the modflow data model tables.
 
[[File:AHGW MODFLOW Cell2D and Cell3D features example.jpg|thumb|400px|none|Cell2D and Cell3D features.]]
Data from the Discretization and Basic components are used to create three-dimensional Cell3D features from two-dimensional Cell2D polygons.
 
The following tables from the Discretization (DIS) component are used by the Build Cell3D tool:
 
[[File:AHGW BAS6 component used by the Build MODFLOW Cell3D tool.jpg|thumb|600px|none|Tables from the DIS component used by the Build Cell3D tool.]]
 
'''DISVars''' – Defines the model dimension. The following fields must be populated:
* NLAY: number of layers.
* NROW: number of rows.
* NCOL:  number of columns.
 
'''TopElev''' – Contains the top elevations of the model cells:
* TopElev: top elevation value must be specified for each active cell in the top layer (layer 1). It is optional to have elevation values for inactive cells as well.
'''BotmElev''' – Contains the bottom elevations of cells and confining beds (CBD):
*BotmElev: bottom elevation must be defined for each active cell (optional to also have elevations for inactive cells). 
*BotmElevCBD: represents the bottom elevation of confining beds (optional).
'''DISLayers''' – Contains layer multipliers. The table should be fully populated (a row for each layer in the model):
* LAYCBD: flag for turning on/off confining beds. LAYCBD = 0 confining beds are turned off, LAYCBD = 1 confining beds are turned on.
* AM_TopElev: top elevation array multipler. 
* AM_BotmElev: bottom elevation array multiplier.
* AM_BotmElevCBD: bottom elevation of confining beds array multiplier.
 
The following tables from the Basic (BAS6) component are used by the Build Cell3D tool:
 
[[File:AHGW Basic tables for the BuildMODFLOW Cell3D tool.jpg|thumb|300px|none|Tables from the BAS6 component used by the Build Cell3D tool.]]
 
'''Basic''' – Contains the IBOUND and starting head arrays:
* IBOUND: defines if cells are active (IBOUND > 0), Inactive (IBOUND = 0), or constant head cells (IBOUND < 0). An IBOUND value should exist for each cell in the model.
 
'''BasicArrayMult''' – Contains IBOUND and starting head layer multipliers. For each layer of the model an IBOUND multiplier should be populated. This value can be used to activate/deactivate selected layers:
* IBOUND: A layer multiplier that is appliaed to IBOUND values from the Basic table.
 
== Usage Tips ==
* Make sure the Cell2D and Cell3D feature classes have the same length units as the modflow model.
 
== Command Line Syntax ==
 
BuildCell3D <in_cell2d> <in_cell3d> <in_gdb> {active_cells | all_cells}
 
== Parameters ==
* Cell2D feature class
* Cell3D feature class
* Geodatabase file containing the modflow data model tables.
* Create Cell3D features for all cells or only active cells (default only active cells)
 
==Examples==
Command Line:
<pre>
BuildCell3D Cell2D Cell3D in_gdb2 active_cells
</pre>
 
Script:
<pre>
# Build Cell3D features
# Requirements: None
# Date: 03/21/2008
# Import system modules
import arcgisscripting, sys, os
# Create the Geoprocessor object
gp = arcgisscripting.create()
gp.AddToolbox("C:/ArcHydroGroundwater/ArcHydroGroundwater.tbx ")
try:
# set the Cell2D feature class
In_cell2d = “C:/Aquaveo/MODFLOW_Simulation.mdb/Cell2D”
# set the Cell3D feature class
In_cell3d = "C:/Aquaveo/MODFLOW_Simulation.mdb/Cell3D"
# set the input geodatabase
in_gdb = "C:/Aquaveo/MODFLOW_Simulation.mdb"
# Set the Boundary feature class
in_active = “true”
gp.BuildCell3D(in_cell2d, in_cell3d, in_gdb, in_active)
except:
# If an error occurred while running the tool, then print the messages
print gp.GetMessages()
</pre>
 
==See also==
* [[AHGW:MODFLOW Analyst|MODFLOW Analyst]]
* [[AHGW:MODFLOW Data Model|MODFLOW Data Model]]
 
 
{{Navbox AHGW}}
[[Category:AHGW MODFLOW Analyst]]

Latest revision as of 20:36, 12 November 2019