mgenrad(1) U.S. Geological Survey (wrdapp) mgenrad(1) NAME mgenrad - SUTRA utility program to generate a simple mesh ABSTRACT MGENRAD is an auxiliary program to generate several major data sets for SUTRA. It can be used to generate the nodewise records (data set 14B), elementwise records (data set 15B), and element-incidence records (data set 22). MGENRAD assumes: (1) a two-dimensional rectangular mesh in cylindrical coordinates (R=radius, Z=elevation) composed of rectangles that increase in size with distance from the center axis, and (2) constant parameter values throughout the mesh region. The generated data sets can be modified manually to obtain irregular elements, irregular regions, or non-constant parameters. The mesh consists of rectangular-cylindrical elements. These may be visualized as rectangles that are swept through a 360 degree rotation about the center axis. In the vertical direction, the nodal spacing is constant. In the radial direction, element size increases with each column of elements by a constant factor beginning with the smallest element size in the column nearest the center axis. Element size increases until either the radial boundary is reached or the maximum specified element size is achieved. In the latter case, once the maximum spacing is reached, MGENRAD will generate columns of elements with constant radial size equal to the specified maximum value until the external boundary is reached. The column of elements nearest the axis may be positioned at a specified distance from the axis. DATA REQUIREMENTS MGENRAD requires seven values to be input: NR = Number of nodes along R-coordinate NZ = Number of nodes along Z-coordinate RL = Total mesh length along R ZL = Total mesh length along Z RW = Radial distance to first node (well radius) DRMIN = Shortest radial distance between nodes DRMAX = Longest radial distance between nodes These values are read, free-format, from the standard input unit (normally the keyboard). By free-format it is meant that values may be input in any columns as long as they are input in order (i.e., NR, NZ, RL, RW, ZL, DRMIN, DRMAX); they are valid (integer values for NR and NZ, floating point values for RL, ZL, RW, DRMIN, and DRMAX); and a blank(s), a comma, or a carriage return separates each value. OUTPUT OPTIONS MGENRAD creates the file MESHOUT.DAT in the user's current directory. DOCUMENTATION This program is provided without documentation. 7 Jul 1998 1 mgenrad(1) U.S. Geological Survey (wrdapp) mgenrad(1) CONTACTS Operation: U.S. Geological Survey Office of Hydrologic Research Clifford I. Voss 431 National Center Reston, VA 20192 cvoss@usgs.gov Distribution: U.S. Geological Survey Hydrologic Analysis Software Support Program 437 National Center Reston, VA 20192 h2osoft@usgs.gov Official versions of U.S. Geological Survey water-resources analysis software are available for electronic retrieval via the World Wide Web (WWW) at: http://water.usgs.gov/software/ and via anonymous File Transfer Protocol (FTP) from: water.usgs.gov (path: /pub/software). The WWW page and anonymous FTP directory from which the SUTRA software can be retrieved are, respectively: http://water.usgs.gov/software/sutra.html --and-- /pub/software/ground_water/sutra If you would like to obtain the price of and (or) order paper copies of USGS reports, contact the USGS Branch of Information Services at: U.S. Geological Survey Branch of Information Services Denver Federal Center, Box 25286 Denver CO 80225-0286 To inquire about Open-File Reports or Water-Resources Investigations Reports: Tel: 303-202-4210; Fax 303-202-4695 To inquire about other USGS reports: Tel: 303-202-4700; Fax 303-202-4693 SEE ALSO mgenrec(1) - SUTRA utility program to generate a simple mesh pbcgen(1) - SUTRA utility program to generate hydrostatic pressure 7 Jul 1998 2 mgenrad(1) U.S. Geological Survey (wrdapp) mgenrad(1) sutra(1) - Saturated and (or) unsaturated, constant or variable-density fluid flow, and solute or energy transport (2-dimensional finite-element code) sutraplt(1) - Graphics postprocessor program for SUTRA 7 Jul 1998 3