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