Go to the documentation of this file.
19 params.addClassDescription(
"Total free energy (both the bulk and gradient parts), where the bulk "
20 "free energy has been defined in a material");
21 params.addParam<MaterialPropertyName>(
"f_name",
"F",
" Base name of the free energy function");
22 params.addParam<std::vector<MaterialPropertyName>>(
"kappa_names",
23 std::vector<MaterialPropertyName>(),
24 "Vector of kappa names corresponding to "
25 "each variable name in interfacial_vars "
26 "in the same order.");
31 :
TotalFreeEnergyBase(parameters), _F(getMaterialProperty<Real>(
"f_name")), _kappas(_nkappas)
36 "Size of interfacial_vars is not equal to the size of kappa_names in TotalFreeEnergy");
39 for (
unsigned int i = 0; i <
_nkappas; ++i)
50 for (
unsigned int i = 0; i <
_nvars; ++i)
Total free energy (both the bulk and gradient parts), where the bulk free energy has been defined in ...
const MaterialProperty< Real > & _F
Bulk free energy material property.
virtual Real computeValue()
registerMooseObject("PhaseFieldApp", TotalFreeEnergy)
Total free energy (both the bulk and gradient parts), where the bulk free energy has been defined in ...
std::vector< MaterialPropertyName > _kappa_names
Gradient free energy prefactor kappa.
std::vector< const VariableGradient * > _grad_vars
const VariableValue & _additional_free_energy
Additional free energy contribution.
InputParameters validParams< TotalFreeEnergyBase >()
std::vector< const MaterialProperty< Real > * > _kappas
Gradient interface free energy coefficients.
InputParameters validParams< TotalFreeEnergy >()
TotalFreeEnergy(const InputParameters ¶meters)
unsigned int _nvars
Coupled interface variables.
const std::string total_energy