www.mooseframework.org
PrimaryDiffusion.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 "PrimaryDiffusion.h"
11 
12 registerMooseObject("ChemicalReactionsApp", PrimaryDiffusion);
13 
16 {
18  params.addClassDescription("Diffusion of primary species");
19  return params;
20 }
21 
23  : Diffusion(parameters), _diffusivity(getMaterialProperty<Real>("diffusivity"))
24 {
25 }
26 
27 Real
29 {
31 }
32 
33 Real
35 {
37 }
virtual Real computeQpJacobian() override
virtual Real computeQpJacobian() override
static InputParameters validParams()
static InputParameters validParams()
Define the Kernel for a CoupledConvectionReactionSub operator that looks like: grad (diff * grad_u) ...
virtual Real computeQpResidual() override
PrimaryDiffusion(const InputParameters &parameters)
virtual Real computeQpResidual() override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void addClassDescription(const std::string &doc_string)
const MaterialProperty< Real > & _diffusivity
Material property of dispersion-diffusion coefficient.
registerMooseObject("ChemicalReactionsApp", PrimaryDiffusion)
unsigned int _qp