https://mooseframework.inl.gov
Loading...
Searching...
No Matches
TotalMineralVolumeFraction.C
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
11
13
16{
18 params.addRequiredParam<Real>("molar_volume", "Molar volume of coupled mineral species");
19 params.addClassDescription("Total volume fraction of coupled mineral species");
20 return params;
21}
22
24 : ElementAverageValue(parameters), _molar_volume(getParam<Real>("molar_volume"))
25{
26}
27
28Real
registerMooseObject("ChemicalReactionsApp", TotalMineralVolumeFraction)
static InputParameters validParams()
unsigned int _qp
const VariableValue & _u
void addRequiredParam(const std::string &name, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)
Calculates the total volume fraction of the coupled solid mineral species (volume of mineral species ...
virtual Real computeQpIntegral() override
static InputParameters validParams()
const Real _molar_volume
Molar volume of coupled mineral species (molar mass / density)
TotalMineralVolumeFraction(const InputParameters &parameters)