https://mooseframework.inl.gov
NestedKKSMultiACBulkC.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 {
23 public:
25 
26  NestedKKSMultiACBulkC(const InputParameters & parameters);
27 
28 protected:
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;
35 
37  unsigned int _num_c;
38 
40  std::vector<VariableName> _eta_names;
41  const JvarMap & _eta_map;
43 
45  int _k;
46 
48  std::vector<MaterialPropertyName> _ci_names;
49  std::vector<std::vector<MaterialPropertyName>> _ci_name_matrix;
50  std::vector<std::vector<const MaterialProperty<Real> *>> _prop_ci;
52 
54  std::vector<std::vector<std::vector<const MaterialProperty<Real> *>>> _dcidetaj;
55 
57  std::vector<std::vector<std::vector<const MaterialProperty<Real> *>>> _dcidb;
58 
60  std::vector<std::vector<const MaterialProperty<Real> *>> _prop_d2hjdetaidetap;
61 
63  std::vector<const MaterialProperty<Real> *> _dF1dc1;
64 
66  std::vector<std::vector<const MaterialProperty<Real> *>> _d2F1dc1db1;
67 
70  std::vector<std::vector<const MaterialProperty<Real> *>> _d2F1dc1darg;
71 };
std::vector< MaterialPropertyName > _ci_names
Phase concentrations.
std::vector< std::vector< const MaterialProperty< Real > * > > _d2F1dc1darg
Mixed partial derivatives of the free energy function wrt c and any other coupled variables ...
std::vector< std::vector< const MaterialProperty< Real > * > > _prop_ci
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
std::vector< std::vector< std::vector< const MaterialProperty< Real > * > > > _dcidb
Derivative of phase concentrations wrt global concentrations .
ACBulk child class that sets up necessary variables and materials for calculation of residual contrib...
static InputParameters validParams()
KKSACBulkBase child class for the phase concentration term in the the Allen-Cahn bulk residual...
std::vector< const MaterialProperty< Real > * > _dF1dc1
Derivative of the free energy function .
std::vector< std::vector< std::vector< const MaterialProperty< Real > * > > > _dcidetaj
Derivative of phase concentrations wrt etaj .
virtual Real computeDFDOP(PFFunctionType type)
std::vector< VariableName > _c_names
Global concentrations.
std::vector< std::vector< const MaterialProperty< Real > * > > _prop_d2hjdetaidetap
Second derivative of switching function .
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
int _k
Position of the nonlinear variable in the list of cj&#39;s.
unsigned int _num_c
Number of global concentrations.
std::vector< VariableName > _eta_names
Phase parameters.
std::vector< std::vector< MaterialPropertyName > > _ci_name_matrix
std::vector< std::vector< const MaterialProperty< Real > * > > _d2F1dc1db1
Second derivative of the free energy function .
NestedKKSMultiACBulkC(const InputParameters &parameters)