porosity values are initially set to 1.0 over the entire grid. The program then uses
the "Winding-Number" algorithm of Gordkin and Pulli (1984)1 to set the porosity
values within the porous region boundaries to values specified by the user. The
data in an ASCII file. The program is run interactively from an MS-DOS
command prompt window. An example is as follows:
C:\bouss2d\bin\map_porosity
bathy
# name of input bathymetry file (.grd)
porosity
# name of output porosity file (.grd)
2
# number of porous regions [1]
bw1.xy
# name of boundary file for porous region #1 [.xy]
0.4
# porosity (0-1) [0.4]
bw2.xy
# name of boundary file for porous region #2 [.xy]
0.4
# porosity (0-1) [0.4]
The porosity file is written out as an ASCII file in the grid file format described in
Appendix D.
1
References cited in this appendix are listed in the References at the end of the main text.
E2
Appendix E Utility Programs