Registrations currently disabled due to excessive spam. Please email phreeqcusers at gmail.com to request an account.
Welcome
Guest
Forum Home
Login
Register
PhreeqcUsers Discussion Forum
»
Processes
»
Reactive transport modelling
»
How does the mineral precipitation considered during transport?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: How does the mineral precipitation considered during transport? (Read 430 times)
Yongqiang
Top Contributor
Posts: 123
How does the mineral precipitation considered during transport?
«
on:
10/06/25 04:27 »
Hi David,
When the PHREEQCRM is coupled for reactive transport modelling, the GetConcentration and SetConcentration functions are applied. I wonder how the precipitated mineral is considered in this case. I am confused that the Getconcentration and Setconcentration methods can still retrieve the element in the precipitated minerals.
Thanks,
Logged
dlparkhurst
Global Moderator
Posts: 4069
Re: How does the mineral precipitation considered during transport?
«
Reply #1 on:
10/06/25 05:24 »
GetConcentrations retrieves only the concentrations in the aqueous phase, and SetConcentrations applies only to the aqueous phase. GetConcentrations does not retrieve element moles or concentrations from other reactants: equilibrium phases, exchange, gas phase, solid solutions, surfaces, or kinetics.
If you use SetConcentrations, then RunCells, and say calcite precipitates, then the concentrations of Ca, C, and O will be less when you use GetConcentrations after RunCells.
If you use BMIPhreeqcRM, then you can use GetValue("equilibrium_phases_moles_Calcite") to retrieve the moles (not concentration) of calcite in each cell, and GetValue("equilibrium_phases_delta_moles_Calcite") to retrieve the change in moles of calcite in each cell that occurred in the RunCells calculation. Other strings can be used to retrieve data related to exchange, surface, etc. A list of the data items that can be retrieved by GetValue for a model system can be obtained by the BMI method GetOutputVarNames.
Alternatively, you can write to selected output using SELECTED_OUTPUT and USER_PUNCH definitions. You will need to use the PhreeqcRM methods related to selected output to select and retrieve the selected output information (SetCurrentSelectedOutputUserNumber, GetSelectedOutput, and related methods).
Logged
Yongqiang
Top Contributor
Posts: 123
Re: How does the mineral precipitation considered during transport?
«
Reply #2 on:
10/06/25 05:28 »
Many thanks, David.
May I ask if the method RM_GetSpeciesConcentrations can do a similar job to retrieve the amount of mineral precipitation?
Logged
dlparkhurst
Global Moderator
Posts: 4069
Re: How does the mineral precipitation considered during transport?
«
Reply #3 on:
10/06/25 16:11 »
RM_GetSpeciesConcentrations returns the concentrations of all aqueous species for all cells. It does not return amounts of mineral precipitation.
If you run RM_GetSpeciesConcentrations and sum all of the Ca species, like Ca+2, CaHCO3+, and others, you will get the same value that is returned for calcium for RM_GetConcentrations.
Logged
Yongqiang
Top Contributor
Posts: 123
Re: How does the mineral precipitation considered during transport?
«
Reply #4 on:
11/06/25 01:49 »
Many thanks, David.
This is indeed a new knowledge to me.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
PhreeqcUsers Discussion Forum
»
Processes
»
Reactive transport modelling
»
How does the mineral precipitation considered during transport?