www.mooseframework.org
ACInterface2DMultiPhase1.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 "Kernel.h"
13 #include "JvarMapInterface.h"
14 #include "DerivativeMaterialInterface.h"
15 #include "ACInterface.h"
16 
18 
19 template <>
21 
28 {
29 public:
30  ACInterface2DMultiPhase1(const InputParameters & parameters);
31 
32 protected:
33  virtual Real computeQpResidual();
34  virtual Real computeQpJacobian();
35  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
36 
37  Real sumSquareGradEta();
38 
40  const MaterialProperty<RealGradient> & _dkappadgrad_etaa;
41  const MaterialProperty<RealTensorValue> & _d2kappadgrad_etaa;
42 
44  unsigned int _num_etas;
45  std::vector<const VariableValue *> _eta;
46  std::vector<const VariableGradient *> _grad_eta;
47 };
48 
ACInterface2DMultiPhase1::_eta
std::vector< const VariableValue * > _eta
Definition: ACInterface2DMultiPhase1.h:45
ACInterface2DMultiPhase1::_d2kappadgrad_etaa
const MaterialProperty< RealTensorValue > & _d2kappadgrad_etaa
Definition: ACInterface2DMultiPhase1.h:41
ACInterface2DMultiPhase1::computeQpResidual
virtual Real computeQpResidual()
Definition: ACInterface2DMultiPhase1.C:58
ACInterface.h
ACInterface2DMultiPhase1
Compute the Allen-Cahn interface term with the weak form residual .
Definition: ACInterface2DMultiPhase1.h:27
ACInterface2DMultiPhase1::ACInterface2DMultiPhase1
ACInterface2DMultiPhase1(const InputParameters &parameters)
Definition: ACInterface2DMultiPhase1.C:34
ACInterface2DMultiPhase1::_grad_eta
std::vector< const VariableGradient * > _grad_eta
Definition: ACInterface2DMultiPhase1.h:46
ACInterface
Compute the Allen-Cahn interface term with the weak form residual .
Definition: ACInterface.h:25
ACInterface2DMultiPhase1::_dkappadgrad_etaa
const MaterialProperty< RealGradient > & _dkappadgrad_etaa
Interfacial parameter.
Definition: ACInterface2DMultiPhase1.h:40
ACInterface2DMultiPhase1::computeQpOffDiagJacobian
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
Definition: ACInterface2DMultiPhase1.C:88
ACInterface2DMultiPhase1::_num_etas
unsigned int _num_etas
Order parameters.
Definition: ACInterface2DMultiPhase1.h:44
ACInterface2DMultiPhase1::computeQpJacobian
virtual Real computeQpJacobian()
Definition: ACInterface2DMultiPhase1.C:64
ACInterface2DMultiPhase1::sumSquareGradEta
Real sumSquareGradEta()
Definition: ACInterface2DMultiPhase1.C:45
validParams< ACInterface2DMultiPhase1 >
InputParameters validParams< ACInterface2DMultiPhase1 >()
Definition: ACInterface2DMultiPhase1.C:16