Skip to main content
UF Institute of Food and Agricultural Sciences logo
Give      University of Florida
Resources
    Toggle Search Form
    GIVE UNIVERSITY OF FLORIDA
    • HOME
    • Research
        • Topics
        • Dissertations and Theses
    • Teaching
    • Biocomplexity Seminar Series
    • Software
    • VFSMOD
        • Item 1
        • Item 2
        • Item 3
        • Item 4
        • Item 5
        • Item 6
        • Item 7
        • Item 8
        • Item 9
        • Item 10
        • Item 11
        • Item 12
    • Publications
        • Item 1
        • Item 2
        • Item 3
        • Item 4
        • Item 5
        • Item 6
        • Item 7
        • Item 8
        • Item 9
        • Item 10
        • Item 11
        • Item 12
    • People
        • Item 1
        • Item 2
        • Item 3
        • Item 4
        • Item 5
        • Item 6
        • Item 7
        • Item 8
        • Item 9
        • Item 10
        • Item 11
        • Item 12

    ABE Hydrology and Water Quality Program

    ABE Hydrology and Water Quality Program

    MGAR 1D/3D


    MGAR 1D/3D


    Download MGAR program, sample inputs and documentation:

    • MGAR for DOS/Windows, Fortran source code, DOS executable and sample files

    Description

    Program to calculate soil infiltration and redistribution during a series of storms for 1D (vertical) and 3D (point source, drip/trickle) using Muñoz-Carpena and Gowdish (2009, 2018) MGAR method. The program is written in fortran 90 and compiled with Fortran intel 2018 (note that incompatibilities with gfortran or gf95 might exist). Fortran source code, windows executables and sample files are included in the package.

    Program Use

    For Windows/DOS installations, unpack the contents of the ZIP package on a directory. The program (MGAR.exe) and sample files will be written into this directory. There is a makefile for UNIX compilation and a compile version (linux 64 and MacOS 64) is available from the authors upon request.

    The type of problem to run (1D or 3D) is given as argument in the DOS or UNIX command line. A short description of the program use can be obtained by executing the program with no arguments:

    • > mgar <return>

      Screencapture of MGAR command line

    To run the desired case you would type:

    • > mgar 1 <return>
    • or
    • > mgar 3 <return>

    This will produce the program output files in the working directory (see below).

    Input/Output

    The program input file must be written in ASCII or text format (be sure to select this option when saving the file with the editor of your choice). See journal papers for additional details on the structure of the files and also in the notes inside the program package (PDF).

    a) 1D case

    • Soil_In.txt: Input file, Soil MGAR 1D parameters
    • Rain_In.txt: Input file, Rainfall time series. Units: Length [cm], Timestep [h].
    • 1DInfilOutput.txt: Output file from 1D case
    • Other files not used (deprecated). They will be cleaned up in a future release

    b) 3D case

    • Soil_In3D.txt: Input file, Soil MGAR 3D parameters and multistorm time series. Units: Length [cm], Timestep [h].
    • 3DInfilOutput.txt: Output file from 3D case
    • Other files not used (deprecated). They will be cleaned up in a future release

    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 to the References listed below is given to its use in any ensuing publications and the authors notified.

    • Leslie Gowdish & Rafael Muñoz-Carpena
      Hydrology & Water Quality
      Department of Agricultural
       & Biological Engineering
      University of Florida
      P.O. Box 110570
      287 Frazier Rogers Hall
      Gainesville, FL  32611-0570

      (352) 392-1864 x287
      (352) 392-4092 (fax)
      carpena@ufl.edu

    References

    • Gowdish, L. and R. Muñoz-Carpena. 2018. 3DMGAR: A transient quasi-3D point source Green-Ampt infiltration and redistribution model. Vadose Zone J. 17:180032. doi:10.2136/vzj2018.02.0032
    • Gowdish, L. and R. Muñoz-Carpena. 2009. An improved Green-Ampt infiltration on and redistribution method for uneven multistorm series. Vadose Zone J. 8(2):470-479. doi:10.2136/vzj2008.0049
    University of Florida Logo
    Contact

    Feedback
    Hydrology & Water Quality
    1741 Museum Road, Gainesville, Florida 32611-0570
    (352) 294 - 6747

    Land Grant Mission
    • Teaching
    • Research
    • Extension
    Information
    • Ask IFAS (EDIS)
    • UF/IFAS Experts
    • UF/IFAS Blogs
    • UF/IFAS Bookstore
    Policy
    • Accessible UF
    • EEO Statement
    • IFAS Web Policy
    • SSN & UF Privacy
    • Analytics (Google Privacy)

    © 2025 University of Florida, IFAS Last Modified:Fri, 27 Mar 2026 13:40:26 EDT