https://mooseframework.inl.gov
Loading...
Searching...
No Matches
InterfaceReaction.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 "InterfaceKernel.h"
13
19{
20public:
22
24
25protected:
26 virtual Real computeQpResidual(Moose::DGResidualType type) override;
27 virtual Real computeQpJacobian(Moose::DGJacobianType type) override;
28
30 Real _kf;
31
33 Real _kb;
34};
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
InterfaceKernel and VectorInterfaceKernel is responsible for interfacing physics across subdomains.
Implements a reaction to establish ReactionRate=k_f*u-k_b*v at interface.
Real _kf
Forward reaction rate coefficient.
Real _kb
Backward reaction rate coefficient.
static InputParameters validParams()
virtual Real computeQpJacobian(Moose::DGJacobianType type) override
Compute jacobians at quadrature points.
virtual Real computeQpResidual(Moose::DGResidualType type) override
Compute residuals at quadrature points.
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131
const std::string & type() const
Get the type of this class.
Definition MooseBase.h:93
DGResidualType
Definition MooseTypes.h:798
DGJacobianType
Definition MooseTypes.h:804