https://mooseframework.inl.gov
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 
10 #include "GeochemistryDispersion.h"
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 
31 Real
33 {
35 }
36 
37 Real
39 {
41 }
const VariableValue & _porosity
virtual Real computeQpJacobian() override
Kernel describing grad(porosity * dispersion * grad(concentration)), where porosity is an AuxVariable...
static InputParameters validParams()
GeochemistryDispersion(const InputParameters &parameters)
static InputParameters validParams()
virtual Real computeQpJacobian() override
registerMooseObject("GeochemistryApp", GeochemistryDispersion)
virtual Real computeQpResidual() override
void addCoupledVar(const std::string &name, const std::string &doc_string)
virtual Real computeQpResidual() override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void addClassDescription(const std::string &doc_string)