https://mooseframework.inl.gov
Loading...
Searching...
No Matches
GeochemistryTimeIndependentReactor.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
12#include "GeochemicalSolver.h"
14
19{
20public:
23 virtual void initialize() override;
24
25 virtual void finalize() override;
26
27 virtual void initialSetup() override;
28 virtual void execute() override;
29
30 virtual const GeochemicalSystem & getGeochemicalSystem(dof_id_type node_id) const override;
31 virtual const std::stringstream & getSolverOutput(dof_id_type node_id) const override;
32 virtual unsigned getSolverIterations(dof_id_type node_id) const override;
33 virtual Real getSolverResidual(dof_id_type node_id) const override;
34 virtual const DenseVector<Real> & getMoleAdditions(dof_id_type node_id) const override;
35 virtual Real getMolesDumped(dof_id_type node_id, const std::string & species) const override;
36
37protected:
38 const Real _temperature;
44 DenseVector<Real> _mole_additions;
45};
This class contains methods to solve the algebraic system in GeochemicalSystem.
This class holds information about bulk composition, molalities, activities, activity coefficients,...
Base class that controls the spatio-temporal solution of geochemistry reactions.
Class that controls the time independent (and spatially independent) geochemistry reactions.
virtual Real getMolesDumped(dof_id_type node_id, const std::string &species) const override
virtual unsigned getSolverIterations(dof_id_type node_id) const override
virtual const DenseVector< Real > & getMoleAdditions(dof_id_type node_id) const override
virtual const GeochemicalSystem & getGeochemicalSystem(dof_id_type node_id) const override
GeochemicalSystem _egs
The equilibrium geochemical system that holds all the molalities, activities, etc.
virtual Real getSolverResidual(dof_id_type node_id) const override
virtual const std::stringstream & getSolverOutput(dof_id_type node_id) const override
DenseVector< Real > _mole_additions
mole additions: these are always zero but are used in getMoleAdditions and the solve
const InputParameters & parameters() const