WellRTSim is a MATLAB wellbore reactive transport simulator for coupled flow, heat transfer, and chemistry calculations.
- Install the external
PhreeqcMatlabpackage from https://github.com/simulkade/PhreeqcMatlab. - In MATLAB, run the
startup.mfile from thatPhreeqcMatlabcheckout soIPhreeqcand the PHREEQC databases are added to the MATLAB path. - Open
main.min MATLAB. - Set
SimDirinmain.mto the simulation case you want to run. - Verify the PHREEQC database entry in the selected case
chemistry.mdfile. - Run
main.m.
Simulation inputs live under Simulation/, results are written to the selected case directory, and the plotting/viewer utilities are in viewer/.
- The default configured case in
main.misSimulation/Krafla/KJ-9/. - The default chemistry setup uses
phreeqc.dat, which WellRTSim resolves from the active MATLAB path afterPhreeqcMatlab/startup.mhas been run. user_manual.pdfcontains additional project documentation.
WellRTSim is licensed under CC BY-NC-SA 4.0 for academic and research use.
For commercial licensing inquiries, contact oleg.melnik@earth.ox.ac.uk or oemelnik@gmail.com.