19 "includes all terms dependent on chemical potential.");
23 "Phase concentrations. The order must match Fa, Fb, and global_cs, for example, c1, " 30 _c_names(coupledNames(
"global_cs")),
31 _c_map(getParameterJvarMap(
"global_cs")),
32 _num_c(coupledComponents(
"global_cs")),
33 _ci_names(getParam<
std::vector<MaterialPropertyName>>(
"ci_names")),
37 _Fa_name(getParam<MaterialPropertyName>(
"fa_name")),
58 _dcideta[m][n] = &getMaterialPropertyDerivative<Real>(
_ci_names[m * 2 + n], _var.name());
92 for (
unsigned int m = 0; m <
_num_c; ++m)
99 for (
unsigned int m = 0; m <
_num_c; ++m)
103 for (
unsigned int m = 0; m <
_num_c; ++m)
106 for (
unsigned int n = 0; n <
_num_c; ++n)
127 auto compvar = mapJvarToCvar(jvar,
_c_map);
131 for (
unsigned int m = 0; m <
_num_c; ++m)
134 for (
unsigned int n = 0; n <
_num_c; ++n)
141 res +=
_L[_qp] *
_prop_dh[_qp] * sum1 * _phi[_j][_qp] * _test[_i][_qp];
145 const unsigned int cvar = mapJvarToCvar(jvar);
146 for (
unsigned int n = 0; n <
_num_c; ++n)
148 ((*
_prop_ci[n][0])[_qp] - (*
_prop_ci[n][1])[_qp]) * _phi[_j][_qp] * _test[_i][_qp];
virtual Real computeDFDOP(PFFunctionType type)
const MaterialProperty< Real > & _L
Mobility.
std::vector< std::vector< const MaterialProperty< Real > * > > _dcideta
Derivative of phase concentrations wrt eta .
NestedKKSACBulkC(const InputParameters ¶meters)
void mooseError(Args &&... args)
std::vector< std::vector< const MaterialProperty< Real > * > > _d2Fadcadba
Second derivative of the free energy function .
std::vector< const MaterialProperty< Real > * > _dFadca
Derivative of the free energy function .
const MaterialPropertyName _Fa_name
Free energy of phase a.
static InputParameters validParams()
static InputParameters validParams()
registerMooseObject("PhaseFieldApp", NestedKKSACBulkC)
ACBulk child class that takes all the necessary data from a KKSBaseMaterial and sets up the Allen-Cah...
std::vector< std::vector< std::vector< const MaterialProperty< Real > * > > > _dcidb
Derivative of phase concentrations wrt global concentrations .
std::vector< std::vector< const MaterialProperty< Real > * > > _prop_ci
Phase concentration properties.
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
const MaterialProperty< Real > & _prop_dh
Derivative of the switching function .
const std::vector< MaterialPropertyName > _ci_names
Phase concentrations.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
IntRange< T > make_range(T beg, T end)
const unsigned int _num_c
Number of global concentrations.
std::vector< std::vector< const MaterialProperty< Real > * > > _d2Fadcadarg
Mixed partial derivatives of the free energy function wrt c and any other coupled variables ...
const MaterialProperty< Real > & _prop_d2h
Second derivative of the switching function .
std::vector< VariableName > _c_names
Global concentrations.
KKSACBulkBase child class for the phase concentration difference term in the the Allen-Cahn bulk res...