www.mooseframework.org
SimpleCHInterface.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 
14 class SimpleCHInterface;
15 
16 template <>
17 InputParameters validParams<SimpleCHInterface>();
18 
22 class SimpleCHInterface : public Kernel
23 {
24 public:
25  SimpleCHInterface(const InputParameters & parameters);
26 
27 protected:
28  virtual Real computeQpResidual();
29  virtual Real computeQpJacobian();
30 
32  const VariableSecond & _second_u;
33  const VariableTestSecond & _second_test;
34  const VariablePhiSecond & _second_phi;
36 
38  const MaterialProperty<Real> & _M;
40  const MaterialProperty<Real> & _kappa_c;
41 };
42 
SimpleCHInterface::_second_u
const VariableSecond & _second_u
Variables for second order derivatives.
Definition: SimpleCHInterface.h:32
validParams< SimpleCHInterface >
InputParameters validParams< SimpleCHInterface >()
Definition: SimpleCHInterface.C:16
SimpleCHInterface::computeQpJacobian
virtual Real computeQpJacobian()
Definition: SimpleCHInterface.C:45
SimpleCHInterface::_kappa_c
const MaterialProperty< Real > & _kappa_c
Interfacial parameter.
Definition: SimpleCHInterface.h:40
SimpleCHInterface
Compute the Cahn-Hilliard interface term with constant Mobility and Interfacial parameter.
Definition: SimpleCHInterface.h:22
SimpleCHInterface::_second_test
const VariableTestSecond & _second_test
Definition: SimpleCHInterface.h:33
SimpleCHInterface::_M
const MaterialProperty< Real > & _M
Mobility.
Definition: SimpleCHInterface.h:38
SimpleCHInterface::SimpleCHInterface
SimpleCHInterface(const InputParameters &parameters)
Definition: SimpleCHInterface.C:28
SimpleCHInterface::_second_phi
const VariablePhiSecond & _second_phi
Definition: SimpleCHInterface.h:34
SimpleCHInterface::computeQpResidual
virtual Real computeQpResidual()
Definition: SimpleCHInterface.C:39