www.mooseframework.org
KKSCHBulk.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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:
42  unsigned int _ca_var;
43  const VariableName _ca_name;
44  unsigned int _cb_var;
45  const VariableName _cb_name;
47 
49  std::vector<const MaterialProperty<Real> *> _second_derivatives;
50 
52  std::vector<std::vector<const MaterialProperty<Real> *>> _third_derivatives;
53 
55  std::vector<const MaterialProperty<Real> *> _third_derivatives_ca;
56 
58  std::vector<const VariableGradient *> _grad_args;
59 
62 
65 
68 };
std::vector< const MaterialProperty< Real > * > _third_derivatives_ca
Derivatives of with respect to all coupled variables.
Definition: KKSCHBulk.h:55
std::vector< const MaterialProperty< Real > * > _second_derivatives
Derivatives of with respect to all coupled variables.
Definition: KKSCHBulk.h:49
const VariableName _ca_name
Definition: KKSCHBulk.h:43
unsigned int _ca_var
Definition: KKSCHBulk.h:42
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:61
const MaterialProperty< Real > & _second_derivative_Fa
Second derivative .
Definition: KKSCHBulk.h:64
unsigned int _cb_var
Definition: KKSCHBulk.h:44
static InputParameters validParams()
Definition: KKSCHBulk.C:15
std::vector< const VariableGradient * > _grad_args
Gradients for all coupled variables.
Definition: KKSCHBulk.h:58
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:67
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const VariableName _cb_name
Definition: KKSCHBulk.h:45
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:52
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