Go to the documentation of this file.
19 params.addClassDescription(
"KKS model kernel (part 2 of 2) for the Bulk Allen-Cahn. This "
20 "includes all terms dependent on chemical potential.");
21 params.addRequiredCoupledVar(
"ca",
"a-phase concentration");
22 params.addRequiredCoupledVar(
"cb",
"b-phase concentration");
28 _ca_name(getVar(
"ca", 0)->
name()),
29 _ca_var(coupled(
"ca")),
30 _ca(coupledValue(
"ca")),
31 _cb_name(getVar(
"cb", 0)->
name()),
32 _cb_var(coupled(
"cb")),
33 _cb(coupledValue(
"cb")),
34 _prop_dFadca(getMaterialPropertyDerivative<Real>(
"fa_name", _ca_name)),
35 _prop_d2Fadca2(getMaterialPropertyDerivative<Real>(
"fa_name", _ca_name, _ca_name)),
36 _prop_d2Fadcadarg(_nvar)
39 for (
unsigned int i = 0; i <
_nvar; ++i)
42 const auto & var_name = _coupled_moose_vars[i]->name();
57 return _phi[_j][_qp] *
_prop_d2h[_qp] * A1;
60 mooseError(
"Invalid type passed in");
75 _phi[_j][_qp] * _test[_i][_qp];
81 const unsigned int cvar = mapJvarToCvar(jvar);
84 _phi[_j][_qp] * _test[_i][_qp];
const MaterialProperty< Real > & _prop_d2h
Second derivative of the switching function .
std::vector< const MaterialProperty< Real > * > _prop_d2Fadcadarg
Mixed partial derivatives of the free energy function wrt ca and any other coupled variables .
const MaterialProperty< Real > & _prop_dh
Derivative of the switching function .
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
const MaterialProperty< Real > & _prop_dFadca
Derivative of the free energy function .
const VariableValue & _cb
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
const VariableValue & _ca
unsigned int _nvar
Number of coupled variables.
InputParameters validParams< KKSACBulkC >()
virtual Real computeDFDOP(PFFunctionType type)
KKSACBulkC(const InputParameters ¶meters)
const MaterialProperty< Real > & _prop_d2Fadca2
Second derivative of the free energy function .
registerMooseObject("PhaseFieldApp", KKSACBulkC)
KKSACBulkBase child class for the phase concentration difference term in the the Allen-Cahn bulk res...
InputParameters validParams< KKSACBulkBase >()
std::string _ca_name
phase a concentration
const MaterialProperty< Real > & _L
Mobility.
ACBulk child class that takes all the necessary data from a KKSBaseMaterial and sets up the Allen-Cah...