www.mooseframework.org
SimpleCHInterface.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 SIMPLECHINTERFACE_H
8 #define SIMPLECHINTERFACE_H
9 
10 #include "Kernel.h"
11 
12 class SimpleCHInterface;
13 
14 template <>
15 InputParameters validParams<SimpleCHInterface>();
16 
20 class SimpleCHInterface : public Kernel
21 {
22 public:
23  SimpleCHInterface(const InputParameters & parameters);
24 
25 protected:
26  virtual Real computeQpResidual();
27  virtual Real computeQpJacobian();
28 
30  const VariableSecond & _second_u;
31  const VariableTestSecond & _second_test;
32  const VariablePhiSecond & _second_phi;
34 
36  const MaterialProperty<Real> & _M;
38  const MaterialProperty<Real> & _kappa_c;
39 };
40 
41 #endif // SIMPLECHINTERFACE_H
const VariableSecond & _second_u
Variables for second order derivatives.
const MaterialProperty< Real > & _kappa_c
Interfacial parameter.
virtual Real computeQpJacobian()
const VariablePhiSecond & _second_phi
Compute the Cahn-Hilliard interface term with constant Mobility and Interfacial parameter.
SimpleCHInterface(const InputParameters &parameters)
const VariableTestSecond & _second_test
const MaterialProperty< Real > & _M
Mobility.
virtual Real computeQpResidual()
InputParameters validParams< SimpleCHInterface >()