https://mooseframework.inl.gov
Loading...
Searching...
No Matches
GeochemistryDispersion.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.addCoupledVar("porosity", 1.0, "Porosity");
19 params.addClassDescription("Kernel describing grad(porosity * tensor_coeff * "
20 "grad(concentration)), where porosity is an AuxVariable (or just "
21 "a real number), tensor_coeff is the hydrodynamic dispersion tensor "
22 "and concentration is the 'variable' for this Kernel");
23 return params;
24}
25
27 : AnisotropicDiffusion(parameters), _porosity(coupledValue("porosity"))
28{
29}
30
31Real
36
37Real
registerMooseObject("GeochemistryApp", GeochemistryDispersion)
virtual Real computeQpJacobian() override
virtual Real computeQpResidual() override
static InputParameters validParams()
Kernel describing grad(porosity * dispersion * grad(concentration)), where porosity is an AuxVariable...
virtual Real computeQpJacobian() override
const VariableValue & _porosity
static InputParameters validParams()
virtual Real computeQpResidual() override
GeochemistryDispersion(const InputParameters &parameters)
void addClassDescription(const std::string &doc_string)
void addCoupledVar(const std::string &name, const std::string &doc_string)