Program VGPest3

(c)  R. Muñoz-Carpena & J. Alvarez Benedí
1996, University of Florida - Tenerife  &  SIA - Valladolid

 

Download VGPest3 program (DOS GUI, sample inputs, source code and documentation) (212 Kb)

1. Description

This program estimates the 3 parameters (a,n,r) for the van Genuchten's Mualem soil-water characteristic curve formula by using the optimization  subroutine LMDIF1 from the math library MINPACK (Argonne National Laboratory).
VGPest3 reads the Soil and Water Characteristic Curve (SWCC) laboratory values, water content (, cm3/cm3) vs suctions (h, -cm water) and calculates the parameters such as:

_c(h) = r + (s-r)*[1+(a.h)^n]^(-m); m=1 -1/n (1)

and then calculates the unsaturated conductivity curve as:

_c(h)- r

Se= ---------------- (2)
s - r

Kr(Se)=Ku/Ks = Se^0.5 [1-(1-Se^(1/m))^m]^2 (3)

where:

(h),_c(h)  =  Measured and predicted water contents
Se(i,2)  =  effective saturation (j=2) for each pressure step(j=1)
SWCC(i,2)=  Water content (j=2)for each suction step(j=1)
s, r, r_c =  Saturated and Residual water content (_c=predicted)
Ks (cm/h)=  Saturated hydraulic conductivity.



2. Program usage and output

The program runs in DOS mode and is written in FORTRAN (main engine) and C++ (interface). Command line UNIX and DOS versions are available from the authors.

Unpack the contents of the ZIP package on a directory. To run the program write "vg" at the command line and a graphical interfase will open in the screen. Follow instructions as given. The program allows to select the initial parameters for the optimization. After convergence is reached, the program shows the results on a graphic mode.

3. Input file example

Before starting the program the input file must be written. The program input is contained in the input file "swcc.in" written in ASCII format. The user should edit this file replacing the contents with the values from the case to analyze. Please notice that this file must be saved in ACSII format for the program to run properly. This is a sample input file:

'Lysimeter Soil 2-35cm 28/4/94' <----- Title (30 charac. max)
1.000    1.000    0.1 <----- alpha,n,r
4.8 <----- Ks(cm/h)
0.      0.475108 <----- (hi,i);NOTE: For i=1 -> (0, s)
3.81    0.442734
13.81   0.401439
28.81   0.372662
53.81   0.343165
103.81  0.315827
203.81  0.292086
403.81  0.274101
15000   0.2056


4. Program License

This program is distributed as FREEWARE/ PUBLIC DOMAIN under the terms of GNU-License. If the program is found useful the authors ask that acknowledgment is given to its use in any resulting publication and the authors notified. The source code is available from the authors upon request.

Dr. Rafael Munoz-Carpena
Associate Professor, Hydrology & Water Quality
Agricultural and Biological Engineering
University of Florida
287 Frazier Rogers Hall, PO Box 110570
Gainesville, FL 32611-0570
tel: (352) 392-1864 x287; fax: (352) 392-4092
e-mail: carpena@ufl.edu

Top of Page

The design of this website has been provided by the University of Florida's Center for Tropical Agriculture

For IFAS-related questions or information, please contact IFAS External Relations.
Copyright © 1994-2003 | University of Florida | Institute of Food and Agricultural Sciences | Gainesville, FL 32611
For Web site problems or suggestions, contact the site Web Master