www.mooseframework.org
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SimpleCHInterface Class Reference

Compute the Cahn-Hilliard interface term with constant Mobility and Interfacial parameter. More...

#include <SimpleCHInterface.h>

Inheritance diagram for SimpleCHInterface:
[legend]

Public Member Functions

 SimpleCHInterface (const InputParameters &parameters)
 

Protected Member Functions

virtual Real computeQpResidual ()
 
virtual Real computeQpJacobian ()
 

Protected Attributes

const MaterialProperty< Real > & _M
 Mobility. More...
 
const MaterialProperty< Real > & _kappa_c
 Interfacial parameter. More...
 
const VariableSecond & _second_u
 Variables for second order derivatives. More...
 
const VariableTestSecond & _second_test
 
const VariablePhiSecond & _second_phi
 

Detailed Description

Compute the Cahn-Hilliard interface term with constant Mobility and Interfacial parameter.

Definition at line 20 of file SimpleCHInterface.h.

Constructor & Destructor Documentation

SimpleCHInterface::SimpleCHInterface ( const InputParameters &  parameters)

Definition at line 23 of file SimpleCHInterface.C.

24  : Kernel(parameters),
25  _second_u(second()),
26  _second_test(secondTest()),
27  _second_phi(secondPhi()),
28  _M(getMaterialProperty<Real>("mob_name")),
29  _kappa_c(getMaterialProperty<Real>("kappa_name"))
30 {
31 }
const VariableSecond & _second_u
Variables for second order derivatives.
const MaterialProperty< Real > & _kappa_c
Interfacial parameter.
const VariablePhiSecond & _second_phi
const VariableTestSecond & _second_test
const MaterialProperty< Real > & _M
Mobility.

Member Function Documentation

Real SimpleCHInterface::computeQpJacobian ( )
protectedvirtual

Definition at line 40 of file SimpleCHInterface.C.

41 {
42  return _kappa_c[_qp] * _second_phi[_j][_qp].tr() * _M[_qp] * _second_test[_i][_qp].tr();
43 }
const MaterialProperty< Real > & _kappa_c
Interfacial parameter.
const VariablePhiSecond & _second_phi
const VariableTestSecond & _second_test
const MaterialProperty< Real > & _M
Mobility.
Real SimpleCHInterface::computeQpResidual ( )
protectedvirtual

Definition at line 34 of file SimpleCHInterface.C.

35 {
36  return _kappa_c[_qp] * _second_u[_qp].tr() * _M[_qp] * _second_test[_i][_qp].tr();
37 }
const VariableSecond & _second_u
Variables for second order derivatives.
const MaterialProperty< Real > & _kappa_c
Interfacial parameter.
const VariableTestSecond & _second_test
const MaterialProperty< Real > & _M
Mobility.

Member Data Documentation

const MaterialProperty<Real>& SimpleCHInterface::_kappa_c
protected

Interfacial parameter.

Definition at line 38 of file SimpleCHInterface.h.

Referenced by computeQpJacobian(), and computeQpResidual().

const MaterialProperty<Real>& SimpleCHInterface::_M
protected

Mobility.

Definition at line 36 of file SimpleCHInterface.h.

Referenced by computeQpJacobian(), and computeQpResidual().

const VariablePhiSecond& SimpleCHInterface::_second_phi
protected

Definition at line 32 of file SimpleCHInterface.h.

Referenced by computeQpJacobian().

const VariableTestSecond& SimpleCHInterface::_second_test
protected

Definition at line 31 of file SimpleCHInterface.h.

Referenced by computeQpJacobian(), and computeQpResidual().

const VariableSecond& SimpleCHInterface::_second_u
protected

Variables for second order derivatives.

Definition at line 30 of file SimpleCHInterface.h.

Referenced by computeQpResidual().


The documentation for this class was generated from the following files: