www.mooseframework.org
AllenCahn.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 "ACBulk.h"
13 
19 class AllenCahn : public ACBulk<Real>
20 {
21 public:
23 
24  AllenCahn(const InputParameters & parameters);
25 
26  virtual void initialSetup();
27 
28 protected:
29  virtual Real computeDFDOP(PFFunctionType type);
30  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
31 
34 
35  std::vector<const MaterialProperty<Real> *> _d2FdEtadarg;
36 };
AllenCahn uses the Free Energy function and derivatives provided by a DerivativeParsedMaterial to com...
Definition: AllenCahn.h:19
static InputParameters validParams()
Definition: AllenCahn.C:15
std::vector< const MaterialProperty< Real > * > _d2FdEtadarg
Definition: AllenCahn.h:35
AllenCahn(const InputParameters &parameters)
Definition: AllenCahn.C:24
const MaterialProperty< Real > & _dFdEta
Definition: AllenCahn.h:32
This is the Allen-Cahn equation base class that implements the bulk or local energy term of the equat...
Definition: ACBulk.h:24
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
Definition: AllenCahn.C:59
virtual Real computeDFDOP(PFFunctionType type)
Definition: AllenCahn.C:44
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const MaterialProperty< Real > & _d2FdEta2
Definition: AllenCahn.h:33
virtual void initialSetup()
Definition: AllenCahn.C:36