PV/WAVE Version 8.5 at UM/MCSR
PV-WAVE is a comprehensive package for obtaining solutions for linear and non-linear equations and has a powerful graphics feature that is capable of graphing complex functions.
Most if not all the famous mathematical and statistical functions and equations such as Error Function, Gamma Function, FFT, etc, are programmed in pv_wave and are available without much effort.
In this article a non-linear equation is graphed using a function from PV-WAVE. This example intends to show users how to invoke and run pv-wave on willow.
The pv-wave program listed below shows the strength of pv-wave software. By using only a few instructions pv-wave solves a very complex non-linear equation.
You can provide PV-WAVE CDs from Office of IT Helpdesk or you can contact assist at olemiss.edu for more information. The installation instructions of version 8.0 and 8.5 for Windows can be downloaded via the link below:
PV-WAVE 8.0 Installation Manual (PDF)
PV-WAVE 8.5 Installation Manual (PDF)
The following lines show how to run an example pv-wave job called "chen5_ex.pro" that already exists under "/users/local/appl/examples/pv_wave" on willow.
From the willow command prompt, enter:
source /usr/local/vni/wave/bin/wvsetup (For tcsh and csh users)
. /usr/local/vni/wave/bin/wvsetup.sh (For ksh and bash users)
From the sweetgum command prompt, enter:
source /usr/local/vni5/wave/bin/wvsetup (For tcsh and csh users)
. /usr/local/vni5/wave/bin/wvsetup.sh (For ksh and bash users)
Now enter the following command where "chen5_ex.pro" is the name of the pv-wave job:
- Terminal output:
- % Compiled module: F. ;
% Compiled module: CHEN5_EX.
Enter the following to run your job:
- Terminal output:
- PV-WAVE IMSL Mathematics is initialized. % Compiled module ZEROVECT.
When this command appears on the user's terminal, the graph of the function should also appear.
The command "chen5_ex" executes the job and draws the graph for the given function.
This example graphs and solves equation 13 obtained by J. M. Chen et al. in their paper published in Water Resources Research, Vol. 37, No. 4 pp.1091-1093, April, 2001.
The t-axis on the graph represents the time in seconds and f(t) represents the rain fall intensity q(T), the rate at which the rainfall piles up on a certain soil (silt loam).
For more information refer to the above paper by Chen, et al. Results obtained here matches those obtained by Chen and the graph here is his figure 1.
This equation was later used by Sam G. of IT to obtain the graph of certain functions needed in solving Richards' Equation.
Please call Sam Gordji at 5022, e-mail: email@example.com if you have questions about pv-wave. **Please note that this example requires X-win to run.**
See: X-win32 at MCSR.
Listing for pv-wave program follows:
This graphs equation 13 on pg. 1092 of Ap. 2001 of WRR paper by J.M. Chen.
For the case when gama=5 & n=0, F(T)=5. This program should be named "chen5_ex.pro".
THE NEXT LINE IS THE START OF THE PROGRAM.
plot, t, f(t), xrange=[0,2], yrange=[.0018,.0023]
oplot, [zero], [f(zero)], psym=6
You can also type HELP at the WAVE> command line.