www.mooseframework.org
CoupledAllenCahn.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 
20 class CoupledAllenCahn : public ACBulk<Real>
21 {
22 public:
24 
25  CoupledAllenCahn(const InputParameters & parameters);
26 
27  virtual void initialSetup();
28 
29 protected:
30  virtual Real computeDFDOP(PFFunctionType type);
31  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
32 
33  // coupled variable name
34  VariableName _v_name;
35 
38 
39  std::vector<const MaterialProperty<Real> *> _d2FdVdarg;
40 };
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:24
static InputParameters validParams()
CoupledAllenCahn uses the Free Energy function and derivatives provided by a DerivativeParsedMaterial...
VariableName _v_name
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const MaterialProperty< Real > & _dFdV
virtual void initialSetup()
std::vector< const MaterialProperty< Real > * > _d2FdVdarg