https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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{
23public:
25
27
28protected:
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};
Compute the free energy in the multi-phase KKS Model .
std::vector< const MaterialProperty< Real > * > _kappas
Gradient interface free energy coefficients.
std::vector< MaterialPropertyName > _gj_names
Barrier function names.
std::vector< MaterialPropertyName > _hj_names
Switching function names.
static InputParameters validParams()
virtual Real computeValue()
std::vector< MaterialPropertyName > _Fj_names
Names of free energy functions for each phase .
const unsigned int _num_j
std::vector< const MaterialProperty< Real > * > _prop_gj
Values of the barrier functions for each phase .
const Real _w
Barrier term height.
std::vector< const MaterialProperty< Real > * > _prop_Fj
Values of the free energy functions for each phase .
std::vector< const MaterialProperty< Real > * > _prop_hj
Values of the switching functions for each phase .
const InputParameters & parameters() const
Total free energy (both the bulk and gradient parts), where the bulk free energy has been defined in ...