Skip to content

Commit be172de

Browse files
committed
summer 2011 version
(1) separated boundary condition handling to a new module; (2) added global water balance computation; (3) added support for 1D model; (4) general re-factoring and code clean-up; (5) added two test examples.
1 parent 9485ec4 commit be172de

35 files changed

+3581
-2062
lines changed

README.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,35 +23,41 @@ Further details on the development, validation, and application of Perfcode are
2323
available in the following references. Please cite these references when using
2424
Perfcode.
2525

26+
BJ Eck, ME Barrett, RJ Charbeneau (2012)
2627
[Coupled Surface-Subsurface Model for Simulating Drainage
2728
from Permeable Friction Course Highways]
2829
(http://ascelibrary.org/doi/abs/10.1061/%28ASCE%29HY.1943-7900.0000474)
29-
30-
BJ Eck, ME Barrett, RJ Charbeneau
31-
3230
Journal of Hydraulic Engineering 138 (1), 13-22
3331

32+
BJ Eck, RJ Charbeneau, ME Barrett (2010)
3433
[Drainage hydraulics of porous pavement: Coupling surface and subsurface flow]
3534
(http://www.crwr.utexas.edu/reports/2010/rpt10-2.shtml)
36-
37-
BJ Eck, RJ Charbeneau, ME Barrett
38-
3935
Center for Research in Water Resources, University of Texas at Austin
4036

4137
A video showing results of a Perfcode simulation is also available at http://bradeck.net/pfc-video/index.htm
4238

39+
## Quick Start for Windows
40+
The easiest way to become familiar with the inputs Perfcode needs and the
41+
outputs it generates is to run one of the test examples included in the
42+
repository.
43+
1. Download the zip file of the repository and Unzip to your preferred location
44+
1. Open a command prompt in one of the \test- directories
45+
2. Invoke the run-test.bat batch file
46+
3. Refer to Appendix A of the report linked above for details on the input and output files.
47+
4348
## Compilation
4449
### Windows
45-
1. Download the zip file of the repository
46-
2. Unzip to your preferred location
50+
A windows binary is included in the \bin directory.
51+
52+
The application may also be compiled as follows:
4753
3. Open a command prompt in the \build directory
4854
4. Confirm that gfortran is installed and can be invoked from the \build
4955
directory with command gfortran
5056
5. Run the batch file compile.bat
5157
6. Find the executable in the \bin directory
58+
5259
### Linux
5360
ToDo
5461

5562

5663

57-

bin/Perfcode.exe

28 KB
Binary file not shown.

build/compile.bat

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ gfortran -c ..\src\pfc1Dfuns.f95
1616
gfortran -c ..\src\pfc1Dsubs.f95
1717
gfortran -c ..\src\pfc2Dsubs.f95
1818
gfortran -c ..\src\BoundCond.f95
19+
gfortran -c ..\src\applyBCs.f95
20+
gfortran -c ..\src\budget.f95
1921

2022
:: Step 2 compile and link the main program
21-
gfortran -o ..\bin\Perfcode ..\src\PERFCODE.f95 shared.o pfc2Dfuns.o utilities.o inputs.o outputs.o geom_funcs.o ConvCoef.o GridGen.o solvers.o pfc1dfuns2.o pfc1dfuns.o pfc1dsubs.o pfc2dsubs.o boundcond.o
23+
gfortran -o ..\bin\Perfcode ..\src\PERFCODE.f95 shared.o pfc2Dfuns.o utilities.o inputs.o outputs.o geom_funcs.o ConvCoef.o GridGen.o solvers.o pfc1dfuns2.o pfc1dfuns.o pfc1dsubs.o pfc2dsubs.o boundcond.o applyBCs.o budget.o

0 commit comments

Comments
 (0)