Skip to content

Software and Data Associated with "Understanding Fast Adsorption in Single-Solute Breakthrough Curves"

License

Notifications You must be signed in to change notification settings

usnistgov/understanding-btcs

Repository files navigation

Overview

The purpose of this code and data is to enable reproduction (see Reproducing the manuscript) and facilitate extension of the computational results associated with Ref. [1] (see Citing This Work).

Installation of dependencies

The container used in this work can be obtained using

docker pull rfd1/understanding-btcs:final

This requires Docker.

For users without previous Docker experience, we recommend the following steps

  1. Install Docker Desktop.

  2. Install Visual Studio Code.

  3. Start the Docker Desktop application.

  4. Open Visual Studio Code and install the Dev Containers extension.

  5. With the Dev Containers extension installed, you will see the (green) new status bar at the bottom left

  1. Click on the green status bar and then open this folder in a container.

Documentation

A pdf version of the manual can be found at doc/manual.pdf.

Citing This Work

To cite the manuscript, use Ref. [1]. To cite the software or data generated, use Ref. [2].

References

  1. DeJaco, R. F.; Kearsley, A. J. Understanding Fast Adsorption in Single-Solute Breakthrough Curves, Communications in Nonlinear Science and Numerical Simulation, Volume 131, 2024, 107794, ISSN 1007-5704, doi: 10.1016/j.cnsns.2023.107794.

  2. De Jaco, R. F. Sofware and Data Associated with "DeJaco, R. F.; Kearsley, A. J. Understanding Fast Adsorption in Breakthrough-curve Measurements." National Institute of Standards and Technology, 2023, doi: 10.18434/mds2-3103.

Reproducing the Manuscript

Performing the calculations via

bash calc_figureS1.sh

generates the output files

Plotting the results via

python3 plot_figureS1.py

generates the figure out/figureS1.png.

Performing the calculations via

bash calc_figureS2.sh

generates the output files

Plotting the results via

python3 plot_figureS2.py

uses these output files to generate the figure out/figureS2.png.

Performing the calculations via

bash calc_figure3_figure4_figureS3.sh

generates the following output files:

These figures can be generated by

python3 plot_figure3_figureS3.py && python3 plot_figure4.py

and their output .png files found in the out/ folder as before.

Performing the calculations via

bash calc_figure5.sh

generates the output files that can be found in folders

The figure is generated via

python3 plot_figure5.py