A Graphical User Interface for PHAST
Total Page:16
File Type:pdf, Size:1020Kb
GoPhast: A Graphical User Interface for PHAST Techniques and Methods 6-A20 U.S. Department of the Interior U.S. Geological Survey Cover: GoPhast screen view for Example 2 (p. 74). The grid has been colored to show the distribution of initial hydraulic head. The status bar (at bottom) shows the coordinates of the mouse cursor, the column and row numbers at the cursor position, the value of initial head in the user’s choice of units at the cursor position, and a description of how the initial head value at that location was specified. GoPhast: A Graphical User Interface for PHAST By Richard B. Winston Techniques and Methods 6-A20 U.S. Department of the Interior U.S. Geological Survey U.S. Department of the Interior P. Lynn Scarlett, Acting Secretary U.S. Geological Survey P. Patrick Leahy, Acting Director U.S. Geological Survey, Reston, Virginia: 2006 Any use of trade, product, or firm names in this publication is for descriptive purposes only and does not imply endorsement by the U.S. Government. Suggested citation: Winston, R.B., 2006, GoPhast: A Graphical User Interface for PHAST: U.S. Geological Survey Techniques and Methods 6-A20, 98 p. Contents 1. Abstract..................................................................................................................................... 1 2. Introduction............................................................................................................................... 1 2.1 Reasons for Using Graphical User Interfaces ....................................................................... 2 2.2 Purpose and Scope................................................................................................................. 3 2.3 Distribution............................................................................................................................ 3 3. Basic Concepts.......................................................................................................................... 3 3.1 The Grid ................................................................................................................................3 3.2 Data Sets................................................................................................................................4 3.3 Formulas................................................................................................................................4 3.4 Objects................................................................................................................................... 5 3.5 Assigning Values to Data Sets .............................................................................................. 5 3.6 Boundary Conditions............................................................................................................. 7 4. Initial Dialog Boxes.................................................................................................................. 7 4.1 Start-Up Dialog Box.............................................................................................................. 7 4.2 Initial Grid Dialog Box.......................................................................................................... 7 5. Main Window ........................................................................................................................... 8 5.1 Top, Front, and Side Views................................................................................................... 8 5.1.1 The Selection Cube......................................................................................................... 9 5.1.2 The Ruler ........................................................................................................................ 9 5.1.3 The Working Area ........................................................................................................ 10 5.2 Three-Dimensional View .................................................................................................... 10 5.3 Hints and the Status Bar ...................................................................................................... 10 6. Generating Grids..................................................................................................................... 11 6.1 Specifying a Uniform Initial Grid ....................................................................................... 11 6.2 Specifying a Grid with Numbers......................................................................................... 11 6.3 Drawing the Grid................................................................................................................. 12 6.4 Using Objects to Specify the Grid....................................................................................... 12 7. Interpolation Methods............................................................................................................. 16 8. PHAST-Style Interpolation .................................................................................................... 16 9. Formulas ................................................................................................................................. 17 9.1 Operators ............................................................................................................................. 18 9.2 Functions ............................................................................................................................. 19 9.2.1 GIS................................................................................................................................19 9.2.2 Grid ............................................................................................................................... 20 9.2.3 Logical .......................................................................................................................... 22 9.2.4 Math.............................................................................................................................. 23 9.2.5 Object............................................................................................................................ 24 9.2.6 Text ............................................................................................................................... 27 9.2.7 Trig................................................................................................................................27 10. Creating, Selecting, and Editing Objects in GoPhast ............................................................. 28 10.1 Creating Objects ........................................................................................................... 28 10.1.1 Points ............................................................................................................................ 28 10.1.2 Polylines........................................................................................................................ 28 10.1.3 Polygons........................................................................................................................ 29 10.1.4 Straight-Lines................................................................................................................ 29 iii 10.1.5 Rectangles..................................................................................................................... 29 10.2 Selecting Objects .......................................................................................................... 30 10.3 Editing Objects ............................................................................................................. 31 11. Main Menu and Buttons ......................................................................................................... 31 11.1 File ................................................................................................................................32 11.1.1 Import Shapefile Dialog Box........................................................................................ 33 11.1.2 Import DXF File Dialog Box........................................................................................ 34 11.1.3 Import Points Dialog Box............................................................................................. 35 11.1.4 Import Distributed Data by Zone Dialog Box .............................................................. 35 11.1.5 Import/Edit Bitmap Dialog Box ................................................................................... 36 11.2 Edit................................................................................................................................37 11.2.1 Show or Hide Bitmaps Dialog Box .............................................................................. 37 11.3 Grid ............................................................................................................................... 38 11.3.1 Editing the Grid ............................................................................................................ 38 11.3.2 Subdivide Columns, Rows, and Layers Dialog Box .................................................... 39 11.3.3 Set Widths of Columns, Rows, and Layers Dialog Box............................................... 39 11.3.4 Grid Angle Dialog Box................................................................................................. 39 11.3.5 Generate Grid Dialog Box ...........................................................................................