https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
28class KKSCHBulk : public CHBulk<Real>
29{
30public:
32
33 KKSCHBulk(const InputParameters & parameters);
34
35protected:
36 virtual RealGradient computeGradDFDCons(PFFunctionType type);
37 virtual Real computeQpOffDiagJacobian(unsigned int jvar);
38
39private:
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};
This is the Cahn-Hilliard equation base class that implements the bulk or local energy term of the eq...
Definition CHBulk.h:26
CHBulk child class that takes all the necessary data from a KKSBaseMaterial.
Definition KKSCHBulk.h:29
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
std::vector< const MaterialProperty< Real > * > _second_derivatives
Derivatives of with respect to all coupled variables.
Definition KKSCHBulk.h:48
const MaterialProperty< Real > & _second_derivative_Fa
Second derivative .
Definition KKSCHBulk.h:63
std::vector< const VariableGradient * > _grad_args
Gradients for all coupled variables.
Definition KKSCHBulk.h:57
const MaterialProperty< Real > & _prop_h
h(eta) material property
Definition KKSCHBulk.h:60
const VariableName _ca_name
Definition KKSCHBulk.h:42
unsigned int _cb_var
Definition KKSCHBulk.h:43
std::vector< const MaterialProperty< Real > * > _third_derivatives_ca
Derivatives of with respect to all coupled variables.
Definition KKSCHBulk.h:54
std::vector< std::vector< const MaterialProperty< Real > * > > _third_derivatives
Second derivatives of dFa/dca with respect to all coupled variables.
Definition KKSCHBulk.h:51
static InputParameters validParams()
Definition KKSCHBulk.C:15
unsigned int _ca_var
Phase concentration variables.
Definition KKSCHBulk.h:41
const VariableName _cb_name
Definition KKSCHBulk.h:44
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
Definition KKSCHBulk.C:120