https://mooseframework.inl.gov
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 {
21 public:
23 
24  NestedKKSACBulkF(const InputParameters & parameters);
25 
26 protected:
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 };
const MaterialProperty< Real > & _prop_d2g
Second derivative of barrier function g.
std::vector< const MaterialProperty< Real > * > _dFadarg
Partial derivative of the free energy function Fa wrt coupled variables .
std::vector< std::vector< const MaterialProperty< Real > * > > _dcideta
Derivative of phase concentration wrt eta .
std::vector< std::vector< std::vector< const MaterialProperty< Real > * > > > _dcidb
Derivative of phase concentration wrt global concentration .
std::vector< const MaterialProperty< Real > * > _dFbdarg
Partial derivative of the free energy function Fb wrt coupled variables .
const MaterialPropertyName _Fb_name
Free energy of phase b.
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
const Real _w
Double well height parameter.
virtual Real computeDFDOP(PFFunctionType type)
const MaterialProperty< Real > & _prop_dg
Derivative of barrier function g.
ACBulk child class that takes all the necessary data from a KKSBaseMaterial and sets up the Allen-Cah...
Definition: KKSACBulkBase.h:22
static InputParameters validParams()
const std::vector< MaterialPropertyName > _ci_names
Phase concentrations.
const MaterialPropertyName _Fa_name
Free energy of phase a.
KKSACBulkBase child class for the free energy difference term in the the Allen-Cahn bulk residual...
std::vector< const MaterialProperty< Real > * > _prop_Fi
Free energy properties.
std::vector< const MaterialProperty< Real > * > _dFbdcb
Derivative of the free energy function .
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const std::vector< VariableName > _c_names
Global concentrations.
std::vector< const MaterialProperty< Real > * > _dFadca
Derivative of the free energy function .
const JvarMap & _c_map
const unsigned int _num_c
Number of global concentrations.
NestedKKSACBulkF(const InputParameters &parameters)