www.mooseframework.org
AllenCahn.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 ALLENCAHN_H
8 #define ALLENCAHN_H
9 
10 #include "ACBulk.h"
11 
12 // Forward Declarations
13 class AllenCahn;
14 
15 template <>
16 InputParameters validParams<AllenCahn>();
17 
23 class AllenCahn : public ACBulk<Real>
24 {
25 public:
26  AllenCahn(const InputParameters & parameters);
27 
28  virtual void initialSetup();
29 
30 protected:
31  virtual Real computeDFDOP(PFFunctionType type);
32  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
33 
34  const unsigned int _nvar;
35  const MaterialProperty<Real> & _dFdEta;
36  const MaterialProperty<Real> & _d2FdEta2;
37 
38  std::vector<const MaterialProperty<Real> *> _d2FdEtadarg;
39 };
40 
41 #endif // ALLENCAHN_H
AllenCahn uses the Free Energy function and derivatives provided by a DerivativeParsedMaterial to com...
Definition: AllenCahn.h:23
std::vector< const MaterialProperty< Real > * > _d2FdEtadarg
Definition: AllenCahn.h:38
AllenCahn(const InputParameters &parameters)
Definition: AllenCahn.C:20
InputParameters validParams< AllenCahn >()
Definition: AllenCahn.C:11
const MaterialProperty< Real > & _dFdEta
Definition: AllenCahn.h:35
This is the Allen-Cahn equation base class that implements the bulk or local energy term of the equat...
Definition: ACBulk.h:22
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
Definition: AllenCahn.C:57
virtual Real computeDFDOP(PFFunctionType type)
Definition: AllenCahn.C:42
const MaterialProperty< Real > & _d2FdEta2
Definition: AllenCahn.h:36
const unsigned int _nvar
Definition: AllenCahn.h:34
virtual void initialSetup()
Definition: AllenCahn.C:34