https://mooseframework.inl.gov
Loading...
Searching...
No Matches
NestedKKSMultiACBulkF.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 "KKSMultiACBulkBase.h"
13
22{
23public:
25
26 NestedKKSMultiACBulkF(const InputParameters & parameters);
27
28protected:
29 virtual Real computeDFDOP(PFFunctionType type);
30 virtual Real computeQpOffDiagJacobian(unsigned int jvar);
31
33 std::vector<VariableName> _c_names;
34 const JvarMap & _c_map;
36
38 unsigned int _num_c;
39
41 std::vector<VariableName> _eta_names;
42 const JvarMap & _eta_map;
44
46 int _k;
47
49 std::vector<MaterialPropertyName> _ci_names;
50
52 std::vector<std::vector<std::vector<const MaterialProperty<Real> *>>> _dcidetaj;
53
55 std::vector<std::vector<std::vector<const MaterialProperty<Real> *>>> _dcidb;
56
58 Real _wi;
59
61 MaterialPropertyName _gi_name;
62
65
68
70 std::vector<std::vector<const MaterialProperty<Real> *>> _d2hjdetaidetap;
71
73 std::vector<const MaterialProperty<Real> *> _dF1dc1;
74
76 std::vector<std::vector<const MaterialProperty<Real> *>> _dFidarg;
77};
ACBulk child class that sets up necessary variables and materials for calculation of residual contrib...
KKSMultiACBulkBase child class for the free energy term in the the Allen-Cahn bulk residual.
static InputParameters validParams()
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
int _k
Position of the nonlinear variable in the list of cj's.
std::vector< MaterialPropertyName > _ci_names
Phase concentrations`.
std::vector< VariableName > _eta_names
Phase parameters.
const MaterialProperty< Real > & _d2gi
Second derivative of barrier function.
std::vector< VariableName > _c_names
Global concentrations.
std::vector< std::vector< const MaterialProperty< Real > * > > _dFidarg
Derivative of the free energy function .
std::vector< std::vector< std::vector< const MaterialProperty< Real > * > > > _dcidb
Derivative of phase concentrations wrt global concentrations .
virtual Real computeDFDOP(PFFunctionType type)
Real _wi
double well height parameter
std::vector< std::vector< std::vector< const MaterialProperty< Real > * > > > _dcidetaj
Derivative of phase concentrations wrt etaj .
std::vector< const MaterialProperty< Real > * > _dF1dc1
Derivative of the free energy function .
unsigned int _num_c
Number of global concentrations.
const MaterialProperty< Real > & _dgi
Derivatives of barrier function.
std::vector< std::vector< const MaterialProperty< Real > * > > _d2hjdetaidetap
Second derivative of switching function .
MaterialPropertyName _gi_name
Barrier functions.