Skip to content

Yuchen971/Contaminant_model_brisbane_airport

Repository files navigation

How to Compile Flopy on Mac

(Note: The installation of Anaconda is step 6-8. Ignore these steps if you already have python environments)

Preparation

  1. Make sure you have the CLT for Xcode on your Mac. If not, try to type this command in your Terminal:

xcode-select --install

or follow the installation instructions for Xcode CLT: https://www.ics.uci.edu/~pattis/common/handouts/macmingweclipse/allexperimental/macxcodecommandlinetools.html

  1. Go to: /Applications/Utilities/Terminal to open terminal.
  2. Install Homebrew (a package manager, more info: https://brew.sh) Copy-paste this command into your Terminal:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

(note: you have to copy every character, Once it finishes, type brew into your Terminal, if this message appears, go to next step.)

  1. Type brew install gcc (This step is time consuming depands on your internet condition.)
  2. Type gcc --version to check if the installation of GCC success. (You should see the following message)
Screen Shot 2021-03-24 at 2 14 55 pm

Install anaconda

  1. Run brew install --cask anaconda to install Anaconda
  2. To setup the environment path, paste this command in your Terminal:
export PATH="/usr/local/anaconda3/bin:$PATH"
  1. Restart your Terminal and type spyder, the IDLE should appear.

Compile swtv4 file

  1. Download the pymake by this link https://github.com/modflowpy/pymake
  2. For those who don't know how to download files through Github:
Screen Shot 2021-03-24 at 2 27 29 pm
  1. Copy the pathname of the pymake-master and type cd xxx (xxx is your pathname just copied)
  2. Run python setup.py install
  3. Copy the pathname of the 'make_swtv4.py' (its in the 'examples' folder)
  4. Run python xxx (xxx is your path name of make_swtv4.py). It will download the seawat source code and compile it on your computer
  5. Once it finishes, you will see the Unix executable file named 'swtv4' in pymake folder.
  6. Repeat step 14-15 for other scripts in the 'example' directory if needed.

Contaminant model brisbane airport

During the period from 1988 to 2010 (22 years) it is estimated that approximately 700-750 L of a chemical leaked into ground at the site. The chemical release was not constant and is thought to have occurred over a 1- hour period at least once a month during the 22-year period in which it was used at the site. The chemical was released at the ground surface is thought to have rapidly infiltrated the soil profile and entered the underlying unconfined groundwater system. It is estimated that approximately 2.75 L per month was released at the site in this way (i.e., pulse loading of 2.75 L of chemical each month for the 22-year period from 1988 to 2010).

About

Brisbane airpot Contaminant model (Flopy)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages