www.mooseframework.org
KKSACBulkBase.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 KKSACBULKBASE_H
8 #define KKSACBULKBASE_H
9 
10 #include "ACBulk.h"
11 
12 // Forward Declarations
13 class KKSACBulkBase;
14 
15 template <>
16 InputParameters validParams<KKSACBulkBase>();
17 
24 class KKSACBulkBase : public ACBulk<Real>
25 {
26 public:
27  KKSACBulkBase(const InputParameters & parameters);
28 
29  virtual void initialSetup();
30 
31 protected:
33  unsigned int _nvar;
34 
36  VariableName _eta_name;
37 
39  std::vector<const MaterialProperty<Real> *> _derivatives_Fa;
40 
42  std::vector<const MaterialProperty<Real> *> _derivatives_Fb;
43 
45  const MaterialProperty<Real> & _prop_Fa;
46 
48  const MaterialProperty<Real> & _prop_Fb;
49 
51  const MaterialProperty<Real> & _prop_dFa;
52 
54  const MaterialProperty<Real> & _prop_dFb;
55 
57  const MaterialProperty<Real> & _prop_dh;
58 
60  const MaterialProperty<Real> & _prop_d2h;
61 
63  std::vector<const VariableGradient *> _grad_args;
64 };
65 
66 #endif // KKSACBULKBASE_H
const MaterialProperty< Real > & _prop_dFa
Derivative of the free energy function .
Definition: KKSACBulkBase.h:51
KKSACBulkBase(const InputParameters &parameters)
Definition: KKSACBulkBase.C:27
const MaterialProperty< Real > & _prop_Fa
Value of the free energy function .
Definition: KKSACBulkBase.h:45
virtual void initialSetup()
Definition: KKSACBulkBase.C:59
This is the Allen-Cahn equation base class that implements the bulk or local energy term of the equat...
Definition: ACBulk.h:22
std::vector< const VariableGradient * > _grad_args
Gradients for all coupled variables.
Definition: KKSACBulkBase.h:63
const MaterialProperty< Real > & _prop_Fb
Value of the free energy function .
Definition: KKSACBulkBase.h:48
ACBulk child class that takes all the necessary data from a KKSBaseMaterial and sets up the Allen-Cah...
Definition: KKSACBulkBase.h:24
unsigned int _nvar
Number of coupled variables.
Definition: KKSACBulkBase.h:33
std::vector< const MaterialProperty< Real > * > _derivatives_Fa
Derivatives of with respect to all coupled variables.
Definition: KKSACBulkBase.h:39
const MaterialProperty< Real > & _prop_dFb
Derivative of the free energy function .
Definition: KKSACBulkBase.h:54
const MaterialProperty< Real > & _prop_dh
Derivative of the switching function .
Definition: KKSACBulkBase.h:57
const MaterialProperty< Real > & _prop_d2h
Second derivative of the switching function .
Definition: KKSACBulkBase.h:60
std::vector< const MaterialProperty< Real > * > _derivatives_Fb
Derivatives of with respect to all coupled variables.
Definition: KKSACBulkBase.h:42
InputParameters validParams< KKSACBulkBase >()
Definition: KKSACBulkBase.C:11
VariableName _eta_name
name of the order parameter (needed to retrieve the derivative material properties) ...
Definition: KKSACBulkBase.h:36