https://mooseframework.inl.gov
Loading...
Searching...
No Matches
GBDependentDiffusivity.C
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
11
13
16{
18 params.addClassDescription("Compute diffusivity rank two tensor based on GB phase variable");
19 return params;
20}
21
26
27void
32
33void
35{
37 RankTwoTensor gb_tensor;
38
39 gb_tensor = (1.0 - _gb[_qp]) * _bulk_parameter * iden +
40 _gb[_qp] * _gb_parameter * (iden - _gb_normal_tensor[_qp]);
42}
registerMooseObject("PhaseFieldApp", GBDependentDiffusivity)
GB dependent diffusivity Ref.
virtual void initQpStatefulProperties()
GBDependentDiffusivity(const InputParameters &parameters)
static InputParameters validParams()
Base class to define GB dependent properties.
const VariableValue & _gb
MaterialProperty< RealTensorValue > & _gb_dependent_tensor
static InputParameters validParams()
const MaterialProperty< RankTwoTensor > & _gb_normal_tensor
void addClassDescription(const std::string &doc_string)
void fillRealTensor(libMesh::TensorValue< T > &)