https://mooseframework.inl.gov
Loading...
Searching...
No Matches
SLKKSMultiACBulkC.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 "SLKKSMultiPhaseBase.h"
13
23{
24public:
26
27 SLKKSMultiACBulkC(const InputParameters & parameters);
28
29protected:
30 virtual Real precomputeQpResidual();
31 virtual Real precomputeQpJacobian();
32 virtual Real computeQpOffDiagJacobian(unsigned int jvar);
33
35 const VariableName _c_name;
36
38 const bool _lagrange;
39
41 VariableName _etai_name;
42
44 unsigned int _etai_var;
45
47 std::vector<VariableName> _cs_names;
48
51
53 std::vector<const MaterialProperty<Real> *> _prop_d2Fdcdcs;
54
56 std::vector<const MaterialProperty<Real> *> _prop_dhdni;
57
59 std::vector<std::vector<const MaterialProperty<Real> *>> _prop_d2hdnidn;
60
62 int _l_cs;
63
66
69};
SLKKSMultiPhaseBase child class for the phase concentration term in the the Allen-Cahn bulk residual...
std::vector< const MaterialProperty< Real > * > _prop_d2Fdcdcs
Second derivatives of F w.r.t. c and all cs.
static InputParameters validParams()
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
virtual Real precomputeQpResidual()
const MaterialProperty< Real > & _prop_dFdc
Derivative of the free energy function w.r.t. c.
const MaterialProperty< Real > & _mob
Mobility.
std::vector< VariableName > _cs_names
names of all sublattice concentrations
std::vector< const MaterialProperty< Real > * > _prop_dhdni
first derivatives of all h w.r.t. to etai
int _l_etai
Position of the eta_i variable in the eta list.
const bool _lagrange
is eta_i supplied (then we assume the kernel operates on the Lagrange var)
virtual Real precomputeQpJacobian()
int _l_cs
Position of the c variable in the cs list.
const VariableName _c_name
name of the coupled concentration variable c
std::vector< std::vector< const MaterialProperty< Real > * > > _prop_d2hdnidn
first derivatives of all h w.r.t. to the kernel variable and other etas
VariableName _etai_name
name of order parameter that derivatives are taken w.r.t.
unsigned int _etai_var
index of order parameter that derivatives are taken w.r.t.
Enforce sum of phase sublattice concentrations to be the real concentration.