Download ParFlow User`s Manual
Transcript
2.2. RUNNING THE SAMPLE PROBLEM
7
1. We first create a directory in which to run the problem, then copy into it some supplied
default input files. So, do the following anywhere in your $HOME directory:
mkdir foo
cd foo
cp $PARFLOW_DIR/test/default_single.tcl .
chmod 640 *
We used the directory name foo above; you may use any name you wish. The last line
changes the permissions of the files so that you may write to them.
2. Run ParFlow using the pftcl file as a TCL script
tclsh default_single.tcl
You have now successfully run a simple ParFlow problem. For more information on running
ParFlow, see § 3.2.
Adding a Pumping Well
Let us change the input problem by adding a pumping well:
1. Edit the file default_single.tcl using your favorite text editor.
2. Add the following lines to the input file near where the existing well information is in the
input file. You need to replace the “Wells.Names” line with the one included here to get both
wells activated (this value lists the names of the wells):
pfset Wells.Names {snoopy new_well}
pfset Wells.new_well.InputType
pfset Wells.new_well.Cycle
Recirc
constant
pfset Wells.new_well.ExtractionType
pfset Wells.new_well.InjectionType
pfset
pfset
pfset
pfset
pfset
pfset
Wells.new_well.X
10.0
Wells.new_well.Y
10.0
Wells.new_well.ExtractionZLower
Wells.new_well.ExtractionZUpper
Wells.new_well.InjectionZLower
Wells.new_well.InjectionZUpper
pfset Wells.new_well.ExtractionMethod
Flux
Flux
5.0
5.0
2.0
2.0
Standard