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 class KKSACBulkBase;
16 
17 template <>
18 InputParameters validParams<KKSACBulkBase>();
19 
26 class KKSACBulkBase : public ACBulk<Real>
27 {
28 public:
29  KKSACBulkBase(const InputParameters & parameters);
30 
31  virtual void initialSetup();
32 
33 protected:
35  unsigned int _nvar;
36 
38  VariableName _eta_name;
39 
41  std::vector<const MaterialProperty<Real> *> _derivatives_Fa;
42 
44  std::vector<const MaterialProperty<Real> *> _derivatives_Fb;
45 
47  const MaterialProperty<Real> & _prop_Fa;
48 
50  const MaterialProperty<Real> & _prop_dFa;
51 
53  const MaterialProperty<Real> & _prop_dh;
54 
56  const MaterialProperty<Real> & _prop_d2h;
57 
59  std::vector<const VariableGradient *> _grad_args;
60 };
KKSACBulkBase::_prop_d2h
const MaterialProperty< Real > & _prop_d2h
Second derivative of the switching function .
Definition: KKSACBulkBase.h:56
KKSACBulkBase::_prop_Fa
const MaterialProperty< Real > & _prop_Fa
Value of the free energy function .
Definition: KKSACBulkBase.h:47
KKSACBulkBase::_eta_name
VariableName _eta_name
name of the order parameter (needed to retrieve the derivative material properties)
Definition: KKSACBulkBase.h:38
KKSACBulkBase::_prop_dh
const MaterialProperty< Real > & _prop_dh
Derivative of the switching function .
Definition: KKSACBulkBase.h:53
ACBulk
This is the Allen-Cahn equation base class that implements the bulk or local energy term of the equat...
Definition: ACBulk.h:24
ACBulk.h
KKSACBulkBase::KKSACBulkBase
KKSACBulkBase(const InputParameters &parameters)
Definition: KKSACBulkBase.C:27
KKSACBulkBase::_nvar
unsigned int _nvar
Number of coupled variables.
Definition: KKSACBulkBase.h:35
KKSACBulkBase::_grad_args
std::vector< const VariableGradient * > _grad_args
Gradients for all coupled variables.
Definition: KKSACBulkBase.h:59
KKSACBulkBase::_derivatives_Fb
std::vector< const MaterialProperty< Real > * > _derivatives_Fb
Derivatives of with respect to all coupled variables.
Definition: KKSACBulkBase.h:44
KKSACBulkBase::initialSetup
virtual void initialSetup()
Definition: KKSACBulkBase.C:57
KKSACBulkBase::_derivatives_Fa
std::vector< const MaterialProperty< Real > * > _derivatives_Fa
Derivatives of with respect to all coupled variables.
Definition: KKSACBulkBase.h:41
validParams< KKSACBulkBase >
InputParameters validParams< KKSACBulkBase >()
Definition: KKSACBulkBase.C:14
KKSACBulkBase::_prop_dFa
const MaterialProperty< Real > & _prop_dFa
Derivative of the free energy function .
Definition: KKSACBulkBase.h:50
KKSACBulkBase
ACBulk child class that takes all the necessary data from a KKSBaseMaterial and sets up the Allen-Cah...
Definition: KKSACBulkBase.h:26