https://mooseframework.inl.gov
KKSMultiFreeEnergy.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
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 "TotalFreeEnergyBase.h"
13 #include "Material.h"
14 
15 // Forward Declarations
16 
22 {
23 public:
25 
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 };
const unsigned int _num_j
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 .
static InputParameters validParams()
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 .
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
std::vector< const MaterialProperty< Real > * > _kappas
Gradient interface free energy coefficients.
virtual Real computeValue()
const InputParameters & parameters() const
std::vector< MaterialPropertyName > _gj_names
Barrier function names.
KKSMultiFreeEnergy(const InputParameters &parameters)
std::vector< MaterialPropertyName > _hj_names
Switching function names.