PhreeqcUsers Discussion Forum

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 »
  • Regarding the effect of RM_SetUnitsKinetics
« previous next »
  • Print
Pages: [1]   Go Down

Author Topic: Regarding the effect of RM_SetUnitsKinetics  (Read 8991 times)

adityain2003

  • Frequent Contributor
  • Posts: 14
Regarding the effect of RM_SetUnitsKinetics
« on: 17/08/25 07:30 »
Hello Everyone,

I am working with a variably saturated flow model linked with PhreeqcRM

I have doubt about the effect of RM_SetUnitsKinetics. I am providing the initial concentration of some species, while passing some though set_concentration and get_concentrations, and performing kinetics with the species. How does the RM_SetUnitsKinetics with argument of 0,1 and 2 influences the moles of reactants in a cell?
Logged

dlparkhurst

  • Global Moderator
  • *****
  • Posts: 4296
Re: Regarding the effect of RM_SetUnitsKinetics
« Reply #1 on: 17/08/25 14:24 »
SetUnitsKinetics only affects the initial moles of the kinetic reactants when InitialKinetics2Module is called. The value has no effect during time stepping, and does not affect the concentrations of aqueous species, only the initial moles of kinetic reactants.

SetUnitsSolution does determine the units that are used in converting the species concentrations from the transport model to the moles used in PhreeqcRM in SSetConcentrations, and in the reverse calculation GetConcentrations. All other SetUnits... methods only affect the initial conditions.
Logged

adityain2003

  • Frequent Contributor
  • Posts: 14
Re: Regarding the effect of RM_SetUnitsKinetics
« Reply #2 on: 06/10/25 02:08 »
Thank you, Parkhurst, for your reply.

I also want to ask that which equation does Phreeqc uses to compute new concentrations based on the moles transferred in a kinetic reactions. Say, 'm' moles are produced of species A, how is the new concentration computed?
Logged

dlparkhurst

  • Global Moderator
  • *****
  • Posts: 4296
Re: Regarding the effect of RM_SetUnitsKinetics
« Reply #3 on: 06/10/25 16:29 »
If your rate equation has

Code: [Select]
100 SAVE mol

and the formula is

Code: [Select]
-formula Doc -1 CH2O 1

If mol is positive, then the moles of Doc in solution is decreased by mol; C, H, and O moles in solution are increased by mol, 2*mol, and mol, respectively; and the moles of the kinetic reactant (M or KIN("name")) are decreased by mol.

If mol is negative, then Doc is increased; C, H, and O are decreased; and M is increased.

Note that the changes are in moles, not concentration. The change in molality would be mol times coefficients divided the mass of water currently in the calculation (mass of water is given by the Basic Function TOT("water")).
Logged

adityain2003

  • Frequent Contributor
  • Posts: 14
Re: Regarding the effect of RM_SetUnitsKinetics
« Reply #4 on: 06/10/25 17:28 »
Thank you!
Logged

  • Print
Pages: [1]   Go Up
« previous next »
  • PhreeqcUsers Discussion Forum »
  • Processes »
  • Reactive transport modelling »
  • Regarding the effect of RM_SetUnitsKinetics
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies
  • XHTML
  • RSS
  • WAP2