https://mooseframework.inl.gov
KKSCHBulk.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 "CHBulk.h"
13 
14 // Forward Declarations
15 
28 class KKSCHBulk : public CHBulk<Real>
29 {
30 public:
32 
33  KKSCHBulk(const InputParameters & parameters);
34 
35 protected:
37  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
38 
39 private:
41  unsigned int _ca_var;
42  const VariableName _ca_name;
43  unsigned int _cb_var;
44  const VariableName _cb_name;
46 
48  std::vector<const MaterialProperty<Real> *> _second_derivatives;
49 
51  std::vector<std::vector<const MaterialProperty<Real> *>> _third_derivatives;
52 
54  std::vector<const MaterialProperty<Real> *> _third_derivatives_ca;
55 
57  std::vector<const VariableGradient *> _grad_args;
58 
61 
64 
67 };
std::vector< const MaterialProperty< Real > * > _third_derivatives_ca
Derivatives of with respect to all coupled variables.
Definition: KKSCHBulk.h:54
std::vector< const MaterialProperty< Real > * > _second_derivatives
Derivatives of with respect to all coupled variables.
Definition: KKSCHBulk.h:48
const VariableName _ca_name
Definition: KKSCHBulk.h:42
unsigned int _ca_var
Phase concentration variables.
Definition: KKSCHBulk.h:41
This is the Cahn-Hilliard equation base class that implements the bulk or local energy term of the eq...
Definition: CHBulk.h:25
const MaterialProperty< Real > & _prop_h
h(eta) material property
Definition: KKSCHBulk.h:60
const MaterialProperty< Real > & _second_derivative_Fa
Second derivative .
Definition: KKSCHBulk.h:63
unsigned int _cb_var
Definition: KKSCHBulk.h:43
static InputParameters validParams()
Definition: KKSCHBulk.C:15
std::vector< const VariableGradient * > _grad_args
Gradients for all coupled variables.
Definition: KKSCHBulk.h:57
virtual RealGradient computeGradDFDCons(PFFunctionType type)
Note that per product and chain rules: which is: .
Definition: KKSCHBulk.C:86
const MaterialProperty< Real > & _second_derivative_Fb
Second derivative .
Definition: KKSCHBulk.h:66
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const VariableName _cb_name
Definition: KKSCHBulk.h:44
KKSCHBulk(const InputParameters &parameters)
Definition: KKSCHBulk.C:39
std::vector< std::vector< const MaterialProperty< Real > * > > _third_derivatives
Second derivatives of dFa/dca with respect to all coupled variables.
Definition: KKSCHBulk.h:51
CHBulk child class that takes all the necessary data from a KKSBaseMaterial.
Definition: KKSCHBulk.h:28
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
Definition: KKSCHBulk.C:120