www.mooseframework.org
SimpleCoupledACInterface.h
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 #pragma once
11 
12 #include "Kernel.h"
13 
15 
16 template <>
18 
22 class SimpleCoupledACInterface : public Kernel
23 {
24 public:
25  SimpleCoupledACInterface(const InputParameters & parameters);
26 
27 protected:
28  virtual Real computeQpResidual();
29  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
30 
32  const MaterialProperty<Real> & _L;
34  const MaterialProperty<Real> & _kappa;
36  const VariableGradient & _grad_v;
38  unsigned int _v_var;
39 };
40 
SimpleCoupledACInterface::_v_var
unsigned int _v_var
Index of the coupled variable.
Definition: SimpleCoupledACInterface.h:38
SimpleCoupledACInterface::SimpleCoupledACInterface
SimpleCoupledACInterface(const InputParameters &parameters)
Definition: SimpleCoupledACInterface.C:27
SimpleCoupledACInterface::computeQpOffDiagJacobian
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
Definition: SimpleCoupledACInterface.C:43
SimpleCoupledACInterface::_kappa
const MaterialProperty< Real > & _kappa
Interfacial parameter.
Definition: SimpleCoupledACInterface.h:34
SimpleCoupledACInterface::_L
const MaterialProperty< Real > & _L
Mobility.
Definition: SimpleCoupledACInterface.h:32
validParams< SimpleCoupledACInterface >
InputParameters validParams< SimpleCoupledACInterface >()
Definition: SimpleCoupledACInterface.C:16
SimpleCoupledACInterface::_grad_v
const VariableGradient & _grad_v
Gradient of the coupled variable.
Definition: SimpleCoupledACInterface.h:36
SimpleCoupledACInterface
Compute the Allen-Cahn interface term with constant Mobility and Interfacial parameter.
Definition: SimpleCoupledACInterface.h:22
SimpleCoupledACInterface::computeQpResidual
virtual Real computeQpResidual()
Definition: SimpleCoupledACInterface.C:37