www.mooseframework.org
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ComputeRSphericalSmallStrain Class Reference

ComputeRSphericalSmallStrain defines a strain tensor, assuming small strains, in a 1D simulation assumming spherical symmetry. More...

#include <ComputeRSphericalSmallStrain.h>

Inheritance diagram for ComputeRSphericalSmallStrain:
[legend]

Public Member Functions

 ComputeRSphericalSmallStrain (const InputParameters &parameters)
 

Protected Member Functions

virtual void computeProperties () override
 
virtual void initQpStatefulProperties () override
 

Protected Attributes

unsigned int _ndisp
 Coupled displacement variables. More...
 
std::vector< const VariableValue * > _disp
 
std::vector< const VariableGradient * > _grad_disp
 
std::string _base_name
 
MaterialProperty< RankTwoTensor > & _mechanical_strain
 
MaterialProperty< RankTwoTensor > & _total_strain
 
std::vector< MaterialPropertyName > _eigenstrain_names
 
std::vector< const MaterialProperty< RankTwoTensor > * > _eigenstrains
 
bool _volumetric_locking_correction
 
const Real & _current_elem_volume
 

Detailed Description

ComputeRSphericalSmallStrain defines a strain tensor, assuming small strains, in a 1D simulation assumming spherical symmetry.

The polar and azimuthal strains are functions of the radial displacement and radial position in this 1D problem.

Definition at line 18 of file ComputeRSphericalSmallStrain.h.

Constructor & Destructor Documentation

ComputeRSphericalSmallStrain::ComputeRSphericalSmallStrain ( const InputParameters &  parameters)

Definition at line 22 of file ComputeRSphericalSmallStrain.C.

23  : ComputeSmallStrain(parameters)
24 {
25 }
ComputeSmallStrain(const InputParameters &parameters)

Member Function Documentation

void ComputeRSphericalSmallStrain::computeProperties ( )
overrideprotectedvirtual

Reimplemented from ComputeSmallStrain.

Definition at line 28 of file ComputeRSphericalSmallStrain.C.

29 {
30  for (_qp = 0; _qp < _qrule->n_points(); ++_qp)
31  {
32  _total_strain[_qp](0, 0) = (*_grad_disp[0])[_qp](0);
33 
34  if (_q_point[_qp](0) != 0.0)
35  _total_strain[_qp](1, 1) = (*_disp[0])[_qp] / _q_point[_qp](0);
36 
37  else
38  _total_strain[_qp](1, 1) = 0.0;
39 
40  // \epsilon_{\theta \theta} = \epsilon{\phi \phi} in this 1D spherical system
41  _total_strain[_qp](2, 2) = _total_strain[_qp](1, 1);
42 
43  _mechanical_strain[_qp] = _total_strain[_qp];
44 
45  // Remove the eigenstrains
46  for (auto es : _eigenstrains)
47  _mechanical_strain[_qp] -= (*es)[_qp];
48  }
49 }
std::vector< const VariableValue * > _disp
MaterialProperty< RankTwoTensor > & _mechanical_strain
MaterialProperty< RankTwoTensor > & _total_strain
std::vector< const MaterialProperty< RankTwoTensor > * > _eigenstrains
std::vector< const VariableGradient * > _grad_disp
void ComputeStrainBase::initQpStatefulProperties ( )
overrideprotectedvirtualinherited

Reimplemented in ComputeCosseratIncrementalSmallStrain, and ComputeIncrementalStrainBase.

Definition at line 78 of file ComputeStrainBase.C.

Referenced by ComputeStrainBase::~ComputeStrainBase().

79 {
80  _mechanical_strain[_qp].zero();
81  _total_strain[_qp].zero();
82 }
MaterialProperty< RankTwoTensor > & _mechanical_strain
MaterialProperty< RankTwoTensor > & _total_strain

Member Data Documentation

std::string ComputeStrainBase::_base_name
protectedinherited

Definition at line 33 of file ComputeStrainBase.h.

Referenced by ComputeStrainBase::ComputeStrainBase().

const Real& ComputeStrainBase::_current_elem_volume
protectedinherited
std::vector<const VariableValue *> ComputeStrainBase::_disp
protectedinherited
std::vector<MaterialPropertyName> ComputeStrainBase::_eigenstrain_names
protectedinherited
std::vector<const MaterialProperty<RankTwoTensor> *> ComputeStrainBase::_eigenstrains
protectedinherited
std::vector<const VariableGradient *> ComputeStrainBase::_grad_disp
protectedinherited
MaterialProperty<RankTwoTensor>& ComputeStrainBase::_mechanical_strain
protectedinherited
unsigned int ComputeStrainBase::_ndisp
protectedinherited
MaterialProperty<RankTwoTensor>& ComputeStrainBase::_total_strain
protectedinherited
bool ComputeStrainBase::_volumetric_locking_correction
protectedinherited

The documentation for this class was generated from the following files: