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