www.mooseframework.org
KKSACBulkBase.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 "ACBulk.h"
13 
14 // Forward Declarations
15 
22 class KKSACBulkBase : public ACBulk<Real>
23 {
24 public:
26 
27  KKSACBulkBase(const InputParameters & parameters);
28 
29  virtual void initialSetup();
30 
31 protected:
33  VariableName _eta_name;
34 
36  std::vector<const MaterialProperty<Real> *> _derivatives_Fa;
37 
39  std::vector<const MaterialProperty<Real> *> _derivatives_Fb;
40 
43 
46 
49 
52 
54  std::vector<const VariableGradient *> _grad_args;
55 };
const MaterialProperty< Real > & _prop_dFa
Derivative of the free energy function .
Definition: KKSACBulkBase.h:45
KKSACBulkBase(const InputParameters &parameters)
Definition: KKSACBulkBase.C:26
const MaterialProperty< Real > & _prop_Fa
Value of the free energy function .
Definition: KKSACBulkBase.h:42
virtual void initialSetup()
Definition: KKSACBulkBase.C:53
static InputParameters validParams()
Definition: KKSACBulkBase.C:13
This is the Allen-Cahn equation base class that implements the bulk or local energy term of the equat...
Definition: ACBulk.h:24
std::vector< const VariableGradient * > _grad_args
Gradients for all coupled variables.
Definition: KKSACBulkBase.h:54
ACBulk child class that takes all the necessary data from a KKSBaseMaterial and sets up the Allen-Cah...
Definition: KKSACBulkBase.h:22
std::vector< const MaterialProperty< Real > * > _derivatives_Fa
Derivatives of with respect to all coupled variables.
Definition: KKSACBulkBase.h:36
const MaterialProperty< Real > & _prop_dh
Derivative of the switching function .
Definition: KKSACBulkBase.h:48
const MaterialProperty< Real > & _prop_d2h
Second derivative of the switching function .
Definition: KKSACBulkBase.h:51
std::vector< const MaterialProperty< Real > * > _derivatives_Fb
Derivatives of with respect to all coupled variables.
Definition: KKSACBulkBase.h:39
VariableName _eta_name
name of the order parameter (needed to retrieve the derivative material properties) ...
Definition: KKSACBulkBase.h:33