idaholab / moose

Multiphysics Object Oriented Simulation Environment
https://www.mooseframework.org
GNU Lesser General Public License v2.1
1.77k stars 1.05k forks source link

Geochemistry: add a piecewise linear interpolator for logK, etc #15577

Closed WilkAndy closed 4 years ago

WilkAndy commented 4 years ago

Reason

Currently we do a 4th-order least-squares or Maier-Kelly fit, as directed by the database. These are pertinent to real-life simulations, however, for testing purposes it's annoying that log10(K) and Debye-Huckel parameters can't be easily calculated easily by hand. So, include a piecewise-linear interpolator in EquilibriumConstantInterpolator that does no least-squares stuff.

Design

Impact

Much easier unit testing

WilkAndy commented 4 years ago

Notifying @cpgr