This page is an interface for on-line moc2d implementation. Users upload sets of input files and then can run moc2d and then recover the output files.
View Uploaded Models using the link below. The link is to a directory of models. Each directory contains the multiple input and output files used by the on-line implementation of modflow on this server. The file names are specific, so the models are only kept separate by using different directory names. Users can also store other files (like documentation and reports) with the individual input models.
Run uploaded model (user needs to enter an I/O directory, directory must exist. The supervisor file name is static (see the user guide below). The model directories can also store reports and other files as needed to support a modeling project. File size is limited to 2MB/file.
System is functional. File uploads are in bundles of 5 files. Need to modify for an entire bundle so user does not have to return to a login page. Need to write a user manual.
To add a new model you must login to the server to create a new directory, then upload the necessary files to the new directory. It is a two-step process; first create a new directory, then populate the directory.
Create New Directory You will login once here
Upload File(s) to New Directory You will login again here
The links below are to documentation for use of the on-line tool as well as the original modflow program
MOC On-Line User Manual A user manual for running moc2d models using this server.
MOC Manual A scanned copy of the original USGS MODFLOW use (and technical) manual. This manual and others are available directly from the USGS website.
The links below are to source code used and binaries used for this on-line project.
usgsmocARM7.exe A compiled executible load module based on source code below. Compiled and tested on odroid-hc2; raspberry pi 3B+; raspberry pi 0. Input files are static and module must reside in same directory as input files
usgsmocMAC.exe A compiled executible load module based on source code below. Compiled for x86-64 MacOS computers (to be run from a terminal window). Input files are static and module must reside in same directory as input files.
WINMOC_32.exe A compiled executible load module based on source code below. Compiled for 32-bit Windows computers (WinXP era). Recently tested (2019-0419) on Windows 10 and the program runs as expected. It uses interactive input/output -- supply an input file name and output file name. Input file must exist. Filename is limited to 11 characters. Otherwise code is identical to the On-Line Implementation.
usgsmoc-fortran-source Source codes in multiple files. A simple makefile is included. An alternative is to cat all the files into a single source file, and compile that file. Source code is from 1988.