https://mooseframework.inl.gov
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 {
24 public:
26 
27  SLKKSMultiACBulkC(const InputParameters & parameters);
28 
29 protected:
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 
65  int _l_etai;
66 
69 };
const MaterialProperty< Real > & _mob
Mobility.
int _l_cs
Position of the c variable in the cs list.
int _l_etai
Position of the eta_i variable in the eta list.
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
const VariableName _c_name
name of the coupled concentration variable c
virtual Real precomputeQpJacobian()
std::vector< const MaterialProperty< Real > * > _prop_dhdni
first derivatives of all h w.r.t. to etai
static InputParameters validParams()
virtual Real precomputeQpResidual()
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.
SLKKSMultiPhaseBase child class for the phase concentration term in the the Allen-Cahn bulk residual...
std::vector< VariableName > _cs_names
names of all sublattice concentrations
std::vector< std::vector< const MaterialProperty< Real > * > > _prop_d2hdnidn
first derivatives of all h w.r.t. to the kernel variable and other etas
std::vector< const MaterialProperty< Real > * > _prop_d2Fdcdcs
Second derivatives of F w.r.t. c and all cs.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Enforce sum of phase sublattice concentrations to be the real concentration.
const bool _lagrange
is eta_i supplied (then we assume the kernel operates on the Lagrange var)
const MaterialProperty< Real > & _prop_dFdc
Derivative of the free energy function w.r.t. c.
SLKKSMultiACBulkC(const InputParameters &parameters)