https://mooseframework.inl.gov
Loading...
Searching...
No Matches
NestedKKSACBulkF.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 "KKSACBulkBase.h"
13
20{
21public:
23
24 NestedKKSACBulkF(const InputParameters & parameters);
25
26protected:
27 virtual Real computeDFDOP(PFFunctionType type);
28 virtual Real computeQpOffDiagJacobian(unsigned int jvar);
29
30 const JvarMap & _c_map;
31
33 const unsigned int _num_c;
34
36 const std::vector<VariableName> _c_names;
37
39 const std::vector<MaterialPropertyName> _ci_names;
40
42 const MaterialPropertyName _Fa_name;
43
45 std::vector<const MaterialProperty<Real> *> _dFadca;
46
48 const MaterialPropertyName _Fb_name;
49
51 std::vector<const MaterialProperty<Real> *> _dFbdcb;
52
55
58
60 const Real _w;
61
63 std::vector<const MaterialProperty<Real> *> _prop_Fi;
64
66 std::vector<std::vector<const MaterialProperty<Real> *>> _dcideta;
67
69 std::vector<std::vector<std::vector<const MaterialProperty<Real> *>>> _dcidb;
70
72 std::vector<const MaterialProperty<Real> *> _dFadarg;
73
75 std::vector<const MaterialProperty<Real> *> _dFbdarg;
76};
ACBulk child class that takes all the necessary data from a KKSBaseMaterial and sets up the Allen-Cah...
KKSACBulkBase child class for the free energy difference term in the the Allen-Cahn bulk residual.
virtual Real computeDFDOP(PFFunctionType type)
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
const MaterialProperty< Real > & _prop_d2g
Second derivative of barrier function g.
const JvarMap & _c_map
const MaterialPropertyName _Fb_name
Free energy of phase b.
std::vector< const MaterialProperty< Real > * > _prop_Fi
Free energy properties.
const MaterialProperty< Real > & _prop_dg
Derivative of barrier function g.
std::vector< std::vector< std::vector< const MaterialProperty< Real > * > > > _dcidb
Derivative of phase concentration wrt global concentration .
const MaterialPropertyName _Fa_name
Free energy of phase a.
static InputParameters validParams()
std::vector< std::vector< const MaterialProperty< Real > * > > _dcideta
Derivative of phase concentration wrt eta .
std::vector< const MaterialProperty< Real > * > _dFadarg
Partial derivative of the free energy function Fa wrt coupled variables .
const std::vector< VariableName > _c_names
Global concentrations.
const Real _w
Double well height parameter.
std::vector< const MaterialProperty< Real > * > _dFbdarg
Partial derivative of the free energy function Fb wrt coupled variables .
const unsigned int _num_c
Number of global concentrations.
const std::vector< MaterialPropertyName > _ci_names
Phase concentrations.
std::vector< const MaterialProperty< Real > * > _dFadca
Derivative of the free energy function .
std::vector< const MaterialProperty< Real > * > _dFbdcb
Derivative of the free energy function .