Soil-Water Infiltration & Movement
SWIM is a software package for simulating water infiltration and movement in soils. As in the real world, SWIM allows addition of water to the system as precipitation and removal by run-off, drainage, evaporation from the soil surface and transpiration by vegetation.
Soil Water Infiltration & Movement (Version 1)
SWIM helps researchers and consultants understand the soil water balance so they can assess possible effects of such practices as tree clearing, strip mining and irrigation management.
SWIM is valuable for scientists and consultants involved in land planning and land management. For example, if a development is being considered which involves tree clearing, SWIM can be used to indicate salinity or surface run-off problems that could result from a change in the soil water balance associated with the removal of the trees.
SWIM is an easy-to-use menu-driven system ideal for teaching students about the soil water balance. With the aid of a computer, students can simulate real world situations and gain a feel for how the systems behave. They can investigate particular systems such as how water movement through a clay soil differs from water movement through a sandy soil, given the same rainfall conditions. This helps to provide a quick and accurate understanding of various water systems and the effects that different management practices have on the soil water balance.
SWIM consists of a menu-driven suite of three programs that allow the user to simulate soil water balances using numerical solutions of the basic soil water flow equations.
The SWIM simulation program obeys the basic physical law of conservation of mass while making the following assumptions:
- conditions can be treated as horizontally uniform
- flow is described by Richards' equation
- soil hydraulic properties can be described simply
While a working knowledge of soil physics and computing offer an advantage in using SWIM, efforts have been made to provide a user-friendly package with extensive help facilities. The three main modules comprising SWIM are:
1. SWIMFILE - input data preparation program.
2. SWIMEV - the simulation program
3. SWIMPLOT - output data presentation program
SWIMFILE - data preparation program
SWIMFILE is a menu-driven program which allows the user to edit an input data file interactively. Both the values and units of parameters can be altered, with error flagging occurring for incorrect editing.
Parameters that can be altered include those describing:
Simulation - starting time, finishing time, print interval (simulation results will be output at this interval) and water increment (simulation integration time steps are chosen so that the greatest water flux in the system, excluding transpiration, will move approximately this amount of water in one time step; a smaller increment gives better accuracy).
Vegetation characteristics - the model allows up to four vegetation types to grow together. Each type has certain characteristics that determine its water extraction pattern. A fraction of the total potential evapotranspiration (PET) is assigned to each type, with any left over being used for soil evaporation. The fraction of the potential that a type intercepts, and its root length density increase sigmoidally with time. The distribution of roots with depth is assumed to be exponential, with a fixed depth constant.
Soil surface conductance - initial soil surface conductance, minimum soil surface conductance, precipitation constant and effectiveness parameter. Although SWIM can cope with thin impeding layers, there is special allowance for those at the surface. A surface seal or crust can be represented as a surface conductance, and its value may decrease exponentially with cumulative rainfall energy. Alteration of these parameters will alter the surface conductance characteristics of the soil.
Surface storage - initial soil surface storage, minimum soil surface storage, precipitation constant. Runoff occurs when the surface water depth is greater than the surface storage. To allow for a reduction of surface roughness due to rainfall, the storage decreases exponentially with precipitation energy from the given initial value towards the given minimum in exactly the same way as the surface conductance. Variable initial surface water depth allows the simulation to begin with the surface ponding.
Runoff - runoff rate factor and runoff rate power. For a water depth that is dh above the storage, the runoff rate is equal to the given runoff rate factor times dh^P, where P is the given runoff rate power. This crudely simulates overland flow.
Soil properties - hydraulic properties together with soil depths and initial matric potential values. The hydraulic properties available include thetas (water content at field concentration), psie (air entry potential), b (minus the slope of a straight line approximating the water retention curve on a log - log plot), and ks (hydraulic conductivity at field saturation). Soil depths are those used for the simulation. Increasing the number of soil depths increases accuracy, but at the expense of simulation execution speed.
Precipitation and potential evapotranspiration - cumulative precipitation and cumulative PET are given functions of time. SWIMEV uses linear interpolation to find values between those given in both cases.
SWIMFILE offers extensive help screens providing background information, examples, suggested values and assistance with general editing procedures. A data file is created on completion of this program which is then used as an input file to the simulation program, SWIMEV.
SWIMEV - the simulation program
SWIMEV solves Richards' equation numerically using recently developed techniques that ensure efficient computation (Ross, P.J. 1990. Efficient numerical methods for infiltration using Richards' equation. Water Resources Research 26(2), 279-290). The methods ensure that mass is conserved, even when fast, approximate solutions are obtained. Although Richards' equation does not accurately describe every flow situation, it is the accepted basis of soil water flow. Within its limitations, a user can simulate infiltration, redistribution, deep drainage, simultaneous evapotranspiration by up to four types of vegetation, transient surface water storage and runoff. Soils may be vertically inhomogeneous, but must be horizontally uniform. Macroporosity can be included if water in the macropores can move quickly to other pores.
SWIMEV accepts data input from an ASCII file created by the data preparation program SWIMFILE, on a standard text editor.
Output from SWIMEV is written to a binary file, to the screen, and optionally to an ASCII file. The binary output file can be viewed graphically using SWIMPLOT. The FORTRAN source code for SWIMEV is printed as an appendix to the manual.
SWIMEV Data Input
Some input parameters are required by SWIMEV while others are optional. Required parameters include:
Optional parameters include:
- simulation control parameters
- soil depths (and associated soil parameters)
- conductance parameters
- runoff parameters
Help screens can be used for guidance in selecting values for entries where there is uncertainty.
- number of vegetation types (and associated vegetation data)
- precipitation data
- evaporation data
SWIMEV Data Output
Printout occurs at the times with the print interval parameter in the "Times" menu. The program adjusts its timesteps to reach each print time exactly. Output is as follows:
Time - The current print time.
Balance - Computational error in solving the water balance equation. This value should always be small.
Work - The number of linear equations solved so far. The program solves the non-linear water balance equations used to approximate Richards' equation by an iterative method that uses sets of simultaneous linear equations. Execution time is proportional to this value.
Evaporation rates - The actual and potential evaporation rates for the soil are followed by the actual and potential transpiration rates for vegetation type 1, vegetation type 2, etc. Rates for the most recent day (or print interval, if this is less than one day). Potential rates are calculated from the given evaporation data and parameters in the "Vegetation" menus.
ET - The cumulative actual and potential evaporation for the soil are followed by the cumulative actual and potential transpiration for vegetation type 1, vegetation type 2, etc.
Water balance - Cumulative precipitation, runoff, infiltration, drainage and evapotranspiration are given together with current values of surface water depth and total water in the soil profile. The balance error given above is calculated from these values plus initial values of surface and profile water.
Water variables - Values of soil water potential, volumetric water content, soil hydraulic conductivity at that water content, and downward soil water flow rate are given at each depth.
SWIMPLOT - data presentation program
SWIMPLOT pictorially displays the data from SWIMEV for each print step. VGA color displays are supported.
SWIMPLOT displays a plot of volumetric water content with depth for available and unavailable water, evaporation rates, and water balance components relative to the overall water budget.
The user has control over the display speed and the facilities to restart the display at any screen number, alter increments between screens, pause the screen and print an individual screen. Printer support is provided for Epson-FX and Hewlett Packard Laserjet II and compatible printers.
Features OF SWIMv1
- Numerical solution of Richards' equation.
- Fast and accurate.
- Conservation of mass, even in fast, approximate solutions.
- Ability to handle non-uniform and layered soils.
- Ability to handle unsaturated, saturated and ponded conditions.
- Caters for transient soil surface conductance and storage.
- Calculates runoff and drainage.
- Allows simultaneous transpiration by several vegetation types.
- Extensive help screens.
- Ability to accept data in your preferred units.
- Color graphic output.
Soil Water Infiltration & Movement (Version 2)
SWIMv2 (Soil Water Infiltration and Movement model version 2) is a mechanistically-based model designed to address soil water and solute balance issues associated with both production and the environmental consequences of production. SWIMv2 employs fast, numerically efficient techniques for solving Richards' equation for water flow and the Convection-Dispersion Equation for solute transport and is suitable for personal computer applications. The model deals with a one-dimensional vertical soil profile which may be vertically inhomogeneous, but is assumed to be horizontally uniform. It can be used to simulate runoff, infiltration, redistribution, solute transport and redistribution of solutes, plant uptake and transpiration, evaporation, deep drainage and leaching. The physical system and the associated flows addressed by the model are shown schematically in Fig.1. Thermally induced vapor flow and the temperature dependence of liquid water movement are ignored. Soil water and solute transport properties, initial conditions, and time dependent boundary conditions (e.g., precipitation, evaporative demand, solute input) need to be supplied by the user in order to run the model. SWIMv2 uses a self adjusting time step to meet specified error criteria and the user need only specify the maximum time step allowed. There is no real limitation to the space and time steps that can be used but they should be chosen to reflect the particular processes being studied and the questions being addressed. It is common to use one hour as the maximum time step when addressing diurnal issues, and one day for most other cropping issues that are likely to be addressed with SWIMv2. The option of going both higher (weeks, months, years) and lower (minutes, seconds) is available to the user. The SWIMv2 model conserves mass, no matter how large the space or time steps that are used in the simulation. Additional details of the SWIMv2 model and its use are included in the User Manual (Verburg et al. 1996).
Fig.1. Schematic showing the soil-plant-atmosphere system modeled by SWIMv2.
Features of SWIMv2
SWIMv2 is based on a fundamental description of the conservation of mass (water and solutes) within soils and allows the user to address a wide range of issues associated with the soil water and solute balance. The major features of the model which provide this capability include the ability to deal with:
layered and gradational soils such as occur in field soils where hydraulic properties may vary with depth down the profile, either abruptly or gradually.
a wide range of soil hydraulic property functions which provide the user with flexibility for dealing with almost any kind of material.
saturated/unsaturated conditions as can occur at the soil surface, at layer interfaces which result in locally perched water, and at the interface with water tables.
surface ponding as can occur under high intensity rainfall.
bypass flow, where surface water is transported rapidly to depth.
surface runoff, where 'excess' water can be removed from the system.
surface roughness where properties of the surface layer may vary directly as a function of rainfall energy, and hence indirectly as a function of time, thereby affecting the partitioning between runoff and surface storage.
surface sealing, where properties of the surface layer may vary directly as a function of rainfall energy, and hence indirectly as a function of time, thereby affecting the partitioning between runoff and infiltration.
rainfall dynamics, so that real storm intensities (down to one-minute resolution) can be dealt with in the simulations.
boundary conditions which reflect a wide range of field conditions.
various vegetation types, including up to four types at one time such as could occur in intercropping or mixed species research.
various management options such as cycling of a specified practice for many years, fertilizer additions at specified times, or impacts of cultivation where various parameters such as surface conductance and surface roughness are reset.
Water Flow - the basic mathematical model
The key soil hydraulic properties required by SWIMv2 in order to solve Richards' equation are the storage (soil water retention curve) and transmission (soil hydraulic conductivity function) properties. SWIMv2 offers the user considerable freedom of choice in terms of the type of function that can be used to describe these properties. For the hydraulic conductivity, these include: the Mualem model, the Brooks-Corey model, the van Genuchten model, the sum of simple functions, and tabulated data.
For the water retention function, these include: the Brooks-Corey function, smoothed Brooks-Corey, modified Brooks-Corey, modified smoothed Brooks Corey, van Genuchten, exponential, sums of simple functions, and tabulated water retention data described in terms of simple polynomials. Hysteresis in the soil water retention function can also be included if required.
A program called HYPROPS is used to generate the required hydraulic property tables used by SWIMv2.
Solute Flow - the basic mathematical model
In order to apply the equation for reactive solutes one needs to specify both the adsorption isotherm, SWIMv2 allows the Freundlich isotherm, and the dispersion coefficient. For nonreactive solutes one only needs the dispersion coefficient. Accurate determination of these solute transport properties is not trivial.
Vegetation, Transpiration and Evaporation
SWIMv2 can accommodate up to four vegetation types in any one simulation. This enables one to address issues associated with single crops, intercropping or mixed species (trees and grasses). The time trends in potential evaporation for each vegetation type and root density distributions are the main information required and there is some flexibility in terms of how they are supplied (as simple functional forms or as discrete data points in time).
Potential evapotranspiration is used to determine the evaporative demand placed on the system and needs to be supplied by the user. A fraction of the total potential evapotranspiration is assigned to each vegetation type, with any remaining acting as the demand on the soil. The potential demand is exerted on the root system and simple electrical circuit analogies used to determine root water uptake for each soil layer. These calculations are based on steady-state radial flow to roots and take into account the soil and root resistances. If water supply is unable to satisfy the demand then an iterative procedure is followed to determine the actual water that can be taken up as transpiration.
A similar approach is used for evaporation from the soil surface. If the surface is wet and supply can meet demand then evaporation takes place at the potential rate. Once the soil starts to dry and the atmospheric demand cannot be met then actual evaporation is governed by the soil's ability to supply water to the surface.
It is important to note that while SWIMv2 can include up to four types of vegetation it is not a crop growth model. There is no feedback between the plant and soil processes, and care will therefore be needed when applying SWIMv2 in a stand alone form. This limitation can be overcome by using SWIMv2 in a cropping system framework such as APSIM, and this capability is now available.
Various management options are available to the user including: cultivation on a regular basis over consecutive years (cycling) or at specified times, where various parameters such as surface conductance and surface roughness are reset, and adding fertilizer or other solutes at specified times.
There is also an ability to make use of 'discontinuities' to examine effects of major impacts such as might occur following harvesting on very wet soils, or deep ripping. To achieve this the simulation can be stopped at a specified time and then restarted with new soil property values to reflect the 'new' soil conditions.
Inputs and Boundary Conditions
Inputs required by SWIMv2 are used to specify the site and conditions for the simulation and include the initial conditions, boundary conditions, soil hydraulic properties, soil solute properties, vegetation characteristics, management practices, cumulative precipitation (rainfall + irrigation), and cumulative potential evapotranspiration.
The two key boundaries within the system of interest are the top or upper boundary (taken as the soil surface) and the bottom or lower boundary, taken as some specified depth in the soil below which water and nutrients are considered to have been leached and therefore inaccessible by plant roots. Conditions at these boundaries need to be specified so that the numerical solution procedure works, and the user has a wide range of choices for this. At the top boundary the user can specify infinite surface conductance, a constant potential (such as occurs when using a disk infiltrometer), specified surface conductance function, surface ponding, no ponding (i.e., any water that cannot infiltrate runs off immediately), or a specified runoff function. At the bottom boundary one has the choice of gravity drainage, specified gradient, specified water potential (e.g., zero for a water table surface), zero flux, or free drainage (such as occurs during dripping from large cores exposed to atmospheric pressure).
The key outputs provided by SWIMv2 are the soil water potential, soil water content, solute concentration, and associated fluxes as a function of depth and time. In addition to these outputs both instantaneous and cumulative values of transpiration, evaporation, infiltration, storage, drainage, leaching, and plant uptake are provided.
The output of SWIMv2 consists of the output to the screen and a binary output file. The screen output can be redirected to a file if need be. The binary file data can be viewed using the SWIMPLOT program, or converted to ASCII tables with the SWIMREAD program and the data then used in any one of a range of analysis and/or plotting packages.
An example output obtained using SWIMPLOT is given in Fig.2.
Fig.2. Example SWIMv2 output displayed. Shows cumulative soil water balance components and soil water content and solute concentration as a function of depth.
Συνδεθείτε με τα επόμενα ενδιαφέροντα Sites και δεν θα χάσετε!
Κατάλογος εργαλείων προγραμματισμού σε Windows και για τον Web
Κατάλογος επιστημονικών προγραμμάτων της MP & Associates που είτε δεν υπάρχει αντιπρόσωπος στην Ελλάδα και έτσι τα εισάγουμε είτε υπάρχει και μπορούμε να σας τα προμηθεύσουμε μέσω αυτού.
Τελευταία Ενημέρωση 27 Ιουλίου 2004 - Last Revised on July 27, 2004
Copyright 1998-2005 MP & Associates - Φορμίωνος 119-121 - ΑΘΗΝΑ 16121 - Τηλ: (210) 7600955 - Fax: (210) 7600956