www.mooseframework.org
GBDependentAnisotropicTensor.C
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 
11 
13 
16 {
18  params.addClassDescription("Compute anisotropic rank two tensor based on GB phase variable");
19  return params;
20 }
21 
23  : GBDependentTensorBase(parameters)
24 {
25 }
26 
27 void
29 {
30  _gb_dependent_tensor[_qp].zero();
31 }
32 
33 void
35 {
37  RankTwoTensor gb_tensor;
38 
39  gb_tensor =
40  (1.0 - _gb[_qp]) * _bulk_parameter * iden + _gb[_qp] * _gb_parameter * _gb_normal_tensor[_qp];
42 }
MaterialProperty< RealTensorValue > & _gb_dependent_tensor
const MaterialProperty< RankTwoTensor > & _gb_normal_tensor
GBDependentAnisotropicTensor(const InputParameters &parameters)
registerMooseObject("PhaseFieldApp", GBDependentAnisotropicTensor)
Base class to define GB dependent properties.
void fillRealTensor(libMesh::TensorValue< Real > &)
static InputParameters validParams()
void addClassDescription(const std::string &doc_string)
const VariableValue & _gb
GB dependent anisotropic tensor Ref.