https://mooseframework.inl.gov
Loading...
Searching...
No Matches
DerivativeTwoPhaseMaterial.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
13
14// Forward Declarations
15
23{
24public:
26
28
29 virtual void initialSetup() override;
30
31protected:
32 virtual Real computeF() override;
33 virtual Real computeDF(unsigned int i_var) override;
34 virtual Real computeD2F(unsigned int i_var, unsigned int j_var) override;
35 virtual Real computeD3F(unsigned int i_var, unsigned int j_var, unsigned int k_var) override;
36
39
41 VariableName _eta_name;
42
44 unsigned int _eta_var;
45
53
61
63 Real _W;
64
67
69 std::vector<const MaterialProperty<Real> *> _prop_dFa, _prop_dFb;
70
72 std::vector<std::vector<const MaterialProperty<Real> *>> _prop_d2Fa, _prop_d2Fb;
73
75 std::vector<std::vector<std::vector<const MaterialProperty<Real> *>>> _prop_d3Fa, _prop_d3Fb;
76};
DerivativeMaterial child class to evaluate a parsed function for the free energy and automatically pr...
std::vector< std::vector< std::vector< const MaterialProperty< Real > * > > > _prop_d3Fb
std::vector< const MaterialProperty< Real > * > _prop_dFa
Derivatives of Fa and Fb with respect to arg[i].
const MaterialProperty< Real > & _dg
VariableName _eta_name
name of the order parameter variable
const MaterialProperty< Real > & _dh
const MaterialProperty< Real > & _prop_Fa
Function value of the A and B phase.
std::vector< std::vector< const MaterialProperty< Real > * > > _prop_d2Fa
Second derivatives of Fa and Fb.
std::vector< std::vector< const MaterialProperty< Real > * > > _prop_d2Fb
const VariableValue & _eta
Phase parameter (0=A-phase, 1=B-phase)
const MaterialProperty< Real > & _d2h
virtual Real computeDF(unsigned int i_var) override
const MaterialProperty< Real > & _prop_Fb
Real _W
Phase transformatuion energy barrier.
std::vector< std::vector< std::vector< const MaterialProperty< Real > * > > > _prop_d3Fa
Third derivatives of Fa and Fb.
virtual Real computeD3F(unsigned int i_var, unsigned int j_var, unsigned int k_var) override
const MaterialProperty< Real > & _h
std::vector< const MaterialProperty< Real > * > _prop_dFb
static InputParameters validParams()
unsigned int _eta_var
libMesh variable number for eta
const MaterialProperty< Real > & _g
virtual Real computeD2F(unsigned int i_var, unsigned int j_var) override
const MaterialProperty< Real > & _d3g
const MaterialProperty< Real > & _d3h
const MaterialProperty< Real > & _d2g
const InputParameters & parameters() const
VariableValueTempl< false > VariableValue