www.mooseframework.org
KKSGlobalFreeEnergy.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 "TotalFreeEnergyBase.h"
13 #include "Material.h"
14 
15 // Forward Declarations
17 
18 template <>
19 InputParameters validParams<KKSGlobalFreeEnergy>();
20 
26 {
27 public:
28  KKSGlobalFreeEnergy(const InputParameters & parameters);
29 
30 protected:
31  virtual Real computeValue();
32 
33  const MaterialProperty<Real> & _prop_fa;
34  const MaterialProperty<Real> & _prop_fb;
35  const MaterialProperty<Real> & _prop_h;
36  const MaterialProperty<Real> & _prop_g;
37 
39  const Real _w;
40 
42  std::vector<const MaterialProperty<Real> *> _kappas;
43 };
44 
TotalFreeEnergyBase
Total free energy (both the bulk and gradient parts), where the bulk free energy has been defined in ...
Definition: TotalFreeEnergyBase.h:24
KKSGlobalFreeEnergy::KKSGlobalFreeEnergy
KKSGlobalFreeEnergy(const InputParameters &parameters)
Definition: KKSGlobalFreeEnergy.C:43
KKSGlobalFreeEnergy::_prop_h
const MaterialProperty< Real > & _prop_h
Definition: KKSGlobalFreeEnergy.h:35
TotalFreeEnergyBase.h
KKSGlobalFreeEnergy::_w
const Real _w
Barrier term height.
Definition: KKSGlobalFreeEnergy.h:39
KKSGlobalFreeEnergy::_prop_fa
const MaterialProperty< Real > & _prop_fa
Definition: KKSGlobalFreeEnergy.h:33
KKSGlobalFreeEnergy::_prop_g
const MaterialProperty< Real > & _prop_g
Definition: KKSGlobalFreeEnergy.h:36
KKSGlobalFreeEnergy::_kappas
std::vector< const MaterialProperty< Real > * > _kappas
Gradient interface free energy coefficients.
Definition: KKSGlobalFreeEnergy.h:42
validParams< KKSGlobalFreeEnergy >
InputParameters validParams< KKSGlobalFreeEnergy >()
Definition: KKSGlobalFreeEnergy.C:16
KKSGlobalFreeEnergy
Compute the global free energy in the KKS Model .
Definition: KKSGlobalFreeEnergy.h:25
KKSGlobalFreeEnergy::computeValue
virtual Real computeValue()
Definition: KKSGlobalFreeEnergy.C:63
KKSGlobalFreeEnergy::_prop_fb
const MaterialProperty< Real > & _prop_fb
Definition: KKSGlobalFreeEnergy.h:34