www.mooseframework.org
KKSMultiFreeEnergy.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 KKSMULTIFREEENERGY_H
8 #define KKSMULTIFREEENERGY_H
9 
10 #include "TotalFreeEnergyBase.h"
11 #include "Material.h"
12 
13 // Forward Declarations
14 class KKSMultiFreeEnergy;
15 
16 template <>
17 InputParameters validParams<KKSMultiFreeEnergy>();
18 
24 {
25 public:
26  KKSMultiFreeEnergy(const InputParameters & parameters);
27 
28 protected:
29  virtual Real computeValue();
30 
32  std::vector<MaterialPropertyName> _Fj_names;
33  const unsigned int _num_j;
34 
36  std::vector<const MaterialProperty<Real> *> _prop_Fj;
37 
39  std::vector<MaterialPropertyName> _hj_names;
40 
42  std::vector<const MaterialProperty<Real> *> _prop_hj;
43 
45  std::vector<MaterialPropertyName> _gj_names;
46 
48  std::vector<const MaterialProperty<Real> *> _prop_gj;
49 
51  const Real _w;
52 
54  std::vector<const MaterialProperty<Real> *> _kappas;
55 };
56 
57 #endif // KKSMULTIFREEENERGY_H
const unsigned int _num_j
InputParameters validParams< KKSMultiFreeEnergy >()
Total free energy (both the bulk and gradient parts), where the bulk free energy has been defined in ...
Compute the free energy in the multi-phase KKS Model .
std::vector< const MaterialProperty< Real > * > _prop_hj
Values of the switching functions for each phase .
std::vector< MaterialPropertyName > _Fj_names
Names of free energy functions for each phase .
const Real _w
Barrier term height.
std::vector< const MaterialProperty< Real > * > _prop_gj
Values of the barrier functions for each phase .
std::vector< const MaterialProperty< Real > * > _prop_Fj
Values of the free energy functions for each phase .
std::vector< const MaterialProperty< Real > * > _kappas
Gradient interface free energy coefficients.
virtual Real computeValue()
std::vector< MaterialPropertyName > _gj_names
Barrier function names.
KKSMultiFreeEnergy(const InputParameters &parameters)
std::vector< MaterialPropertyName > _hj_names
Switching function names.