www.mooseframework.org
KKSXeVacSolidMaterial.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 KKSXEVACSOLIDMATERIAL_H
8 #define KKSXEVACSOLIDMATERIAL_H
9 
11 
12 // Forward Declarations
14 
15 template <>
16 InputParameters validParams<KKSXeVacSolidMaterial>();
17 
19 {
20 public:
21  KKSXeVacSolidMaterial(const InputParameters & parameters);
22 
23 protected:
24  virtual unsigned int expectedNumArgs();
25 
26  virtual Real computeF();
27  virtual Real computeDF(unsigned int arg);
28  virtual Real computeD2F(unsigned int arg1, unsigned int arg2);
29 
30 private:
32  const Real _T;
33 
35  const Real _Omega;
36 
38  const Real _kB;
39 
41  const Real _Efv;
42 
45  const Real _Efg;
46 
47  const VariableValue & _cmg;
48  unsigned int _cmg_var;
49  const VariableValue & _cmv;
50  unsigned int _cmv_var;
51 
52  // helper function to return a well defined c*log(c)
53  Real cLogC(Real c);
54 };
55 
56 #endif // KKSXEVACSOLIDMATERIAL_H
virtual Real computeD2F(unsigned int arg1, unsigned int arg2)
Override this method to calculate the second derivatives.
virtual Real computeF()
Override this method to provide the free energy function.
const Real _Omega
Atomic volume in [Ang^3].
const Real _Efg
Formation energy of a Xenon Atom in a tri-vacancy (TODO: if cmg>cmv consider interstitial Xe) ...
const Real _Efv
Formation energy of a tri-vacancy in UO2.
const Real _T
Temperature in [K].
virtual unsigned int expectedNumArgs()
const VariableValue & _cmg
KKSXeVacSolidMaterial(const InputParameters &parameters)
Material base class central to compute the a phase free energy and its derivatives.
const VariableValue & _cmv
virtual Real computeDF(unsigned int arg)
Override this method for calculating the first derivatives.
InputParameters validParams< KKSXeVacSolidMaterial >()
const Real _kB
Bolzmann constant.