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