Dear members of the PFLOTRAN mailing list,
I have a question regarding the use of the “RESTART” card in PFLOTRAN for simulating mineral dissolution. To clarify my inquiry, I will describe a very simple scenario where only calcite dissolves in water.
In the initial run, I perform a simulation with the following initial conditions for concentrations (almost pure water) and calcite volume fraction, modeling calcite dissolution. (Primary: H+, HCO3-, Ca++. Secondary: OH-, CO3–, CO2(aq), CaCO3(aq), CaHCO3+, CaOH+)
++++++++++++++++++++
CONSTRAINT initial_constraint
CONCENTRATIONS
H+ 1.d-7 F
HCO3- 1.d-12 F
Ca++ 1.d-12 F
/
MINERALS
Calcite 1.d-5 1.d0 m^2/m^3
/
END
++++++++++++++++++++
During the initial run, I use the CHECKPOINT card to generate a file named “pflotran-restart.h5”(HDF5 file) at the end of the calculation, which I intend to use for the second run.
After the initial run is completed, I want to perform a second run. In this second run, I wish to set only the concentrations of dissolved species to the initial state from the first run (almost pure water), but I want the mineral (calcite) volume fraction to be carried over from the end of the initial run.
Question 1:
Do I need to edit the output HDF5 file (e.g., “pflotran-restart.h5”) generated at the end of the initial run for this purpose?
Question 2:
If editing is necessary, which parts should I modify, and how should I do it? Specifically, should I modify the sections that store concentration data within the HDF5 file to match the initial conditions? Are there any other parts of the file that require modification?
Thank you very much for your assistance.
Koichi Hirata, Ph.D.
Tokyo Electric Power Services CO.,Ltd.
-- ------------------------------------------------------------
平田 光一 / Koichi Hirata
東電設計株式会社
新領域研究開発推進室 高度解析ソリューショングループ
Tel : 090-3439-0143
-------------------------------------------------------------