Skip to content

Commit f604327

Browse files
author
Darth Vader
committed
Merge commit '509824754503cb169642ae092126bfcf9a249c78'
2 parents 4a7efb7 + 5098247 commit f604327

File tree

9 files changed

+28
-19
lines changed

9 files changed

+28
-19
lines changed

src/phast/PhreeqcRM/database/Amm.dat

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# PHREEQC.DAT for calculating temperature and pressure dependence of reactions, and the specific conductance and viscosity of the solution. Based on:
1+
# Amm.dat for calculating temperature and pressure dependence of reactions, and the specific conductance and viscosity of the solution. Based on:
22
# diffusion coefficients and molal volumina of aqueous species, solubility and volume of minerals, and critical temperatures and pressures of gases in Peng-Robinson's EOS.
33
# Details are given at the end of this file.
44

src/phast/PhreeqcRM/database/Kinec.v2.dat

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# KINEC.v2.dat - last edited April 18, 2024 by MA and EHO.
1+
# Kinec.v2.dat - last edited April 18, 2024 by MA and EHO.
22
#
33
# This database contains the parameters for calculating mineral dissolution rates for primary and secondary silicate minerals using the equations and parameters reported by Hermanska et al. (2022, 2023),
44
# and dissolution rates for other non)-silicate mineral systems using the equations and parameters reported by Oelkers and Addassi (2024, in preparation).

src/phast/PhreeqcRM/database/Kinec_v3.dat

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# KINEC_v3.dat - last edited July 23, 2024 by MA and EHO.
1+
# Kinec_v3.dat - last edited July 23, 2024 by MA and EHO.
22
#
33
# This database contains the parameters for calculating mineral dissolution rates for primary and secondary silicate minerals using the equations and parameters reported by Hermanska et al. (2022, 2023),
44
# and dissolution rates for other mineral systems using the equations and parameters reported by Oelkers and addassi (2024*).

src/phast/PhreeqcRM/database/Tipping_Hurley.dat

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# Created 17 May 2024 14:30:44
33
# c:\3rdParty\lsp\lsp.exe -f2 -k="asis" -ts "Tipping_Hurley.dat"
44

5-
# $Id: wateq4f.dat 6895 2012-08-21 18:10:05Z dlpark $
65
# Revised arsenic data from Archer and Nordstrom (2002)
76

87
SOLUTION_MASTER_SPECIES

src/phast/PhreeqcRM/database/phreeqc.dat

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# File 1 = C:\GitPrograms\phreeqc3-1\database\Amm.dat, 22/05/2024 19:38, 1948 lines, 55817 bytes, md5=78b3659799b73ddca128328b6ee7533b
1+
# File 1 = C:\GitPrograms\phreeqc3-1\database\phreeqc.dat, 22/05/2024 19:38, 1948 lines, 55817 bytes, md5=78b3659799b73ddca128328b6ee7533b
22
# Created 22 May 2024 19:55:37
3-
# C:\3rdParty\lsp\lsp.exe -f2 -k=asis -ts Amm.dat
3+
# C:\3rdParty\lsp\lsp.exe -f2 -k=asis -ts phreeqc.dat
44

5-
# PHREEQC.DAT for calculating temperature and pressure dependence of reactions, and the specific conductance and viscosity of the solution. Based on:
5+
# phreeqc.dat for calculating temperature and pressure dependence of reactions, and the specific conductance and viscosity of the solution. Based on:
66
# diffusion coefficients and molal volumina of aqueous species, solubility and volume of minerals, and critical temperatures and pressures of gases in Peng-Robinson's EOS.
77
# Details are given at the end of this file.
88

src/phast/PhreeqcRM/database/phreeqc_rates.dat

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# PHREEQC.DAT for calculating temperature and pressure dependence of reactions, and the specific conductance and viscosity of the solution. Augmented with kinetic rates for minerals from compilations. Based on:
1+
# phreeqc_rates.dat for calculating temperature and pressure dependence of reactions, and the specific conductance and viscosity of the solution. Augmented with kinetic rates for minerals from compilations. Based on:
22
# diffusion coefficients and molal volumina of aqueous species, solubility and volume of minerals, and critical temperatures and pressures of gases in Peng-Robinson's EOS.
33
# Details are given at the end of this file.
44

src/phast/PhreeqcRM/database/pitzer.dat

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Pitzer.DAT for calculating temperature and pressure dependence of reactions, and the specific conductance and viscosity of the solution, using
1+
# pitzer.dat for calculating temperature and pressure dependence of reactions, and the specific conductance and viscosity of the solution, using
22
# diffusion coefficients of species, molal volumina of aqueous species and minerals, and critical temperatures and pressures of gases used in Peng-Robinson's EOS.
33
# Details are given at the end of this file.
44

src/phast/PhreeqcRM/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/mainsubs.cpp

+9-3
Original file line numberDiff line numberDiff line change
@@ -681,9 +681,15 @@ initial_gas_phases(int print)
681681
if (pr.user_print)
682682
print_user_print();
683683
if (PR /*&& use.Get_gas_phase_ptr()->total_p > 1.0*/)
684-
warning_msg("While initializing gas phase composition by equilibrating:\n"
685-
" Found definitions of gas` critical temperature and pressure.\n"
686-
" Going to use Peng-Robinson in subsequent calculations.\n");
684+
{
685+
std::ostringstream msg;
686+
msg << "\nWhile initializing gas phase composition by equilibrating:\n";
687+
msg << " Found definitions of gas critical temperature and pressure.\n";
688+
msg << " Going to use Peng-Robinson in subsequent calculations.\n";
689+
screen_msg(msg.str().c_str());
690+
output_msg(msg.str().c_str());
691+
log_msg(msg.str().c_str());
692+
}
687693
xgas_save(n_user);
688694
punch_all();
689695
/* free_model_allocs(); */

src/phast/PhreeqcRM/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/transport.cpp

+11-7
Original file line numberDiff line numberDiff line change
@@ -508,13 +508,17 @@ transport(void)
508508
/*
509509
* Now transport
510510
*/
511-
if (implicit)
512-
snprintf(token, sizeof(token), "\nCalculating implicit transport: %d (mobile) cells, %d shifts, %d mixruns, max. mixf = %g.\n\n",
513-
count_cells, count_shifts - transport_start + 1, nmix, max_mixf);
514-
else
515-
snprintf(token, sizeof(token), "\nCalculating transport: %d (mobile) cells, %d shifts, %d mixruns...\n\n",
516-
count_cells, count_shifts - transport_start + 1, nmix);
517-
warning_msg(token);
511+
{
512+
if (implicit)
513+
snprintf(token, sizeof(token), "\nCalculating implicit transport: %d (mobile) cells, %d shifts, %d mixruns, max. mixf = %g.\n\n",
514+
count_cells, count_shifts - transport_start + 1, nmix, max_mixf);
515+
else
516+
snprintf(token, sizeof(token), "\nCalculating transport: %d (mobile) cells, %d shifts, %d mixruns...\n\n",
517+
count_cells, count_shifts - transport_start + 1, nmix);
518+
screen_msg(token);
519+
output_msg(token);
520+
log_msg(token);
521+
}
518522
max_iter = 0;
519523
for (transport_step = transport_start; transport_step <= count_shifts;
520524
transport_step++)

0 commit comments

Comments
 (0)