www.mooseframework.org
SimpleCoupledACInterface.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef SIMPLECOUPLEDACINTERFACE_H
8 #define SIMPLECOUPLEDACINTERFACE_H
9 
10 #include "Kernel.h"
11 
13 
14 template <>
16 
20 class SimpleCoupledACInterface : public Kernel
21 {
22 public:
23  SimpleCoupledACInterface(const InputParameters & parameters);
24 
25 protected:
26  virtual Real computeQpResidual();
27  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
28 
30  const MaterialProperty<Real> & _L;
32  const MaterialProperty<Real> & _kappa;
34  const VariableGradient & _grad_v;
36  unsigned int _v_var;
37 };
38 
39 #endif // SIMPLECOUPLEDACINTERFACE_H
const MaterialProperty< Real > & _L
Mobility.
const VariableGradient & _grad_v
Gradient of the coupled variable.
Compute the Allen-Cahn interface term with constant Mobility and Interfacial parameter.
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
InputParameters validParams< SimpleCoupledACInterface >()
const MaterialProperty< Real > & _kappa
Interfacial parameter.
SimpleCoupledACInterface(const InputParameters &parameters)
unsigned int _v_var
Index of the coupled variable.