https://mooseframework.inl.gov
Loading...
Searching...
No Matches
GBRelaxationStrainIncrement.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#include "libmesh/quadrature.h"
12
14
17{
20 "Compute strain increment based on lattice relaxation at grain boundaries");
21 params.addParam<MaterialPropertyName>("prefactor_name", "Name of prefactor property");
22 params.addParam<MaterialPropertyName>("gb_normal_name", "Name of GB normal property");
23 params.addParam<MaterialPropertyName>("property_name",
24 "Name of GB relaxation strain increment property");
25 return params;
26}
27
30 _prefactor(getMaterialProperty<Real>("prefactor_name")),
31 _gb_normal_tensor(getMaterialProperty<RankTwoTensor>("gb_normal_name")),
32 _strain_increment(
33 declareProperty<RankTwoTensor>(getParam<MaterialPropertyName>("property_name")))
34{
35}
36
37void
42
43void
registerMooseObject("SolidMechanicsApp", GBRelaxationStrainIncrement)
GBRelaxationStrainIncrement computes strain increment due to lattice relaxation at GB Forest et.
const MaterialProperty< RankTwoTensor > & _gb_normal_tensor
MaterialProperty< RankTwoTensor > & _strain_increment
const MaterialProperty< Real > & _prefactor
GBRelaxationStrainIncrement(const InputParameters &parameters)
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)
static InputParameters validParams()