Client Programs

You can download on this page each of the client programs developed in the ChemPlugin User's Guide. Each of the client programs is available below in C++, FORTRAN, and Python.

C++

Client Description Chapter
Simple.cpp A first client program Overview
Titration1.cpp A client program for simulating titration Titration Simulator
Titration2.cpp A client showing how to retrieve results Retrieving Results
Titration3.cpp Alternative method for retrieving results Retrieving Results
Titration4.cpp Client using direct output, first variant Direct Output
Titration5.cpp Client using direct output, second variant Direct Output
Titration6.cpp Client using direct output, third variant Direct Output
Extend1.cpp Example of extending a simulation Extending Runs
mReact.cpp Client emulates React using ChemPlugin React Emulator
Links1.cpp Client links ChemPlugin instances, first variant Linking Instances
Links2.cpp Client links ChemPlugin instances, second variant Linking Instances
Links3.cpp Client links ChemPlugin instances, third variant Linking Instances
FlowThrough1.cpp Model of a flow-through reactor Flow and Transport
Diffusion1.cpp Model of solute diffusion Diffusion and Dispersion
Advection1.cpp Model of advection and dispersion of a solute Advection-Dispersion Model
HeatConduction1.cpp Client models heat conduction Heat Transfer
HeatTransfer1.cpp Model of advective and conductive heat transfer Heat Transfer
RTM1.cpp Fully implemented reactive transport model Reactive Transport Model
RTM2.cpp* RTM1 implemented for multicore processing Multithreading
RTM3.cpp* RTM1 implemented for cluster computing Cluster Computing
RTM4.cpp* RTM1 multithreaded for a cluster computer Hybrid Parallelization

*RTM2, RTM3, and RTM4 exist in only C++ and FORTRAN.


FORTRAN

Client Description Chapter
Simple.f90 A first client program Overview
Titration1.f90 A client program for simulating titration Titration Simulator
Titration2.f90 A client showing how to retrieve results Retrieving Results
Titration3.f90 Alternative method for retrieving results Retrieving Results
Titration4.f90 Client using direct output, first variant Direct Output
Titration5.f90 Client using direct output, second variant Direct Output
Titration6.f90 Client using direct output, third variant Direct Output
Extend1.f90 Example of extending a simulation Extending Runs
mReact.f90 Client emulates React using ChemPlugin React Emulator
Links1.f90 Client links ChemPlugin instances, first variant Linking Instances
Links2.f90 Client links ChemPlugin instances, second variant Linking Instances
Links3.f90 Client links ChemPlugin instances, third variant Linking Instances
FlowThrough1.f90 Model of a flow-through reactor Flow and Transport
Diffusion1.f90 Model of solute diffusion Diffusion and Dispersion
Advection1.f90 Model of advection and dispersion of a solute Advection-Dispersion Model
HeatConduction1.f90 Client models heat conduction Heat Transfer
HeatTransfer1.f90 Model of advective and conductive heat transfer Heat Transfer
RTM1.f90 Fully implemented reactive transport model Reactive Transport Model
RTM2.f90* RTM1 implemented for multicore processing Multithreading
RTM3.f90* RTM1 implemented for cluster computing Cluster Computing
RTM4.f90* RTM1 multithreaded for a cluster computer Hybrid Parallelization

*RTM2, RTM3, and RTM4 exist in only C++ and FORTRAN.


Python

Client Description Chapter
Simple.py A first client program Overview
Titration1.py A client program for simulating titration Titration Simulator
Titration2.py A client showing how to retrieve results Retrieving Results
Titration3.py Alternative method for retrieving results Retrieving Results
Titration4.py Client using direct output, first variant Direct Output
Titration5.py Client using direct output, second variant Direct Output
Titration6.py Client using direct output, third variant Direct Output
Extend1.py Example of extending a simulation Extending Runs
mReact.py Client emulates React using ChemPlugin React Emulator
Links1.py Client links ChemPlugin instances, first variant Linking Instances
Links2.py Client links ChemPlugin instances, second variant Linking Instances
Links3.py Client links ChemPlugin instances, third variant Linking Instances
FlowThrough1.py Model of a flow-through reactor Flow and Transport
Diffusion1.py Model of solute diffusion Diffusion and Dispersion
Advection1.py Model of advection and dispersion of a solute Advection-Dispersion Model
HeatConduction1.py Client models heat conduction Heat Transfer
HeatTransfer1.py Model of advective and conductive heat transfer Heat Transfer
RTM1.py Fully implemented reactive transport model Reactive Transport Model

Running Python 2? Please replace "input()" calls in the Python client programs with "raw_input()".

Some Python installations (e.g. Microsoft Store versions or embeddable or ARM versions from Python.org) may have security limitations that prevent them from working properly with The GWB. We support the full Windows installer from Python.org's download pages. You should always install the 32-bit or 64-bit Python that matches your GWB installation.