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

ComputeCosseratIncrementalSmallStrain defines various incremental versions of the Cossserat strain tensor, assuming small strains. More...

#include <ComputeCosseratIncrementalSmallStrain.h>

Inheritance diagram for ComputeCosseratIncrementalSmallStrain:
[legend]

Public Member Functions

 ComputeCosseratIncrementalSmallStrain (const InputParameters &parameters)
 

Protected Member Functions

virtual void computeQpProperties ()
 
virtual void initQpStatefulProperties ()
 
void subtractEigenstrainIncrementFromStrain (RankTwoTensor &strain)
 

Protected Attributes

MaterialProperty< RankTwoTensor > & _curvature
 the Cosserat curvature strain: curvature_ij = nabla_j CosseratRotation_i More...
 
const unsigned int _nrots
 the number of Cosserat rotation variables supplied by the user (must be 3 in current implementation) More...
 
std::vector< const VariableValue * > _wc
 The Cosserat rotations. More...
 
std::vector< const VariableValue * > _wc_old
 The Cosserat rotations. More...
 
std::vector< const VariableGradient * > _grad_wc
 Grad(Cosserat rotation) More...
 
std::vector< const VariableGradient * > _grad_wc_old
 Grad(Cosserat rotation) More...
 
const MaterialProperty< RankTwoTensor > & _curvature_old
 the Cosserat curvature strain: curvature_ij = nabla_j CosseratRotation_i More...
 
MaterialProperty< RankTwoTensor > & _curvature_increment
 _curvature_increment = (curvature - _curvature_old) More...
 
std::vector< const VariableGradient * > _grad_disp_old
 
MaterialProperty< RankTwoTensor > & _strain_rate
 
MaterialProperty< RankTwoTensor > & _strain_increment
 
MaterialProperty< RankTwoTensor > & _rotation_increment
 
MaterialProperty< RankTwoTensor > & _deformation_gradient
 
const MaterialProperty< RankTwoTensor > & _mechanical_strain_old
 
const MaterialProperty< RankTwoTensor > & _total_strain_old
 
std::vector< const MaterialProperty< RankTwoTensor > * > _eigenstrains_old
 
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

ComputeCosseratIncrementalSmallStrain defines various incremental versions of the Cossserat strain tensor, assuming small strains.

Definition at line 16 of file ComputeCosseratIncrementalSmallStrain.h.

Constructor & Destructor Documentation

ComputeCosseratIncrementalSmallStrain::ComputeCosseratIncrementalSmallStrain ( const InputParameters &  parameters)

Definition at line 25 of file ComputeCosseratIncrementalSmallStrain.C.

27  : ComputeIncrementalStrainBase(parameters),
28  _curvature(declareProperty<RankTwoTensor>("curvature")),
29  _nrots(coupledComponents("Cosserat_rotations")),
30  _wc(_nrots),
31  _wc_old(_nrots),
34  _curvature_old(getMaterialPropertyOld<RankTwoTensor>("curvature")),
35  _curvature_increment(declareProperty<RankTwoTensor>("curvature_increment"))
36 {
37  if (_nrots != 3)
38  mooseError("ComputeCosseratSmallStrain: This Material is only defined for 3-dimensional "
39  "simulations so 3 Cosserat rotation variables are needed");
40  for (unsigned i = 0; i < _nrots; ++i)
41  {
42  _wc[i] = &coupledValue("Cosserat_rotations", i);
43  _wc_old[i] = &coupledValueOld("Cosserat_rotations", i);
44  _grad_wc[i] = &coupledGradient("Cosserat_rotations", i);
45  _grad_wc_old[i] = &coupledGradientOld("Cosserat_rotations", i);
46  }
47 }
MaterialProperty< RankTwoTensor > & _curvature_increment
_curvature_increment = (curvature - _curvature_old)
MaterialProperty< RankTwoTensor > & _curvature
the Cosserat curvature strain: curvature_ij = nabla_j CosseratRotation_i
std::vector< const VariableValue * > _wc_old
The Cosserat rotations.
std::vector< const VariableGradient * > _grad_wc
Grad(Cosserat rotation)
const unsigned int _nrots
the number of Cosserat rotation variables supplied by the user (must be 3 in current implementation) ...
std::vector< const VariableValue * > _wc
The Cosserat rotations.
const MaterialProperty< RankTwoTensor > & _curvature_old
the Cosserat curvature strain: curvature_ij = nabla_j CosseratRotation_i
ComputeIncrementalStrainBase(const InputParameters &parameters)
std::vector< const VariableGradient * > _grad_wc_old
Grad(Cosserat rotation)

Member Function Documentation

void ComputeCosseratIncrementalSmallStrain::computeQpProperties ( )
protectedvirtual

Definition at line 58 of file ComputeCosseratIncrementalSmallStrain.C.

59 {
60  RankTwoTensor strain((*_grad_disp[0])[_qp], (*_grad_disp[1])[_qp], (*_grad_disp[2])[_qp]);
61  RankTwoTensor strain_old(
62  (*_grad_disp_old[0])[_qp], (*_grad_disp_old[1])[_qp], (*_grad_disp_old[2])[_qp]);
63  RealVectorValue wc_vector((*_wc[0])[_qp], (*_wc[1])[_qp], (*_wc[2])[_qp]);
64  RealVectorValue wc_vector_old((*_wc_old[0])[_qp], (*_wc_old[1])[_qp], (*_wc_old[2])[_qp]);
65 
66  for (unsigned i = 0; i < LIBMESH_DIM; ++i)
67  for (unsigned j = 0; j < LIBMESH_DIM; ++j)
68  for (unsigned k = 0; k < LIBMESH_DIM; ++k)
69  {
70  strain(i, j) += PermutationTensor::eps(i, j, k) * wc_vector(k);
71  strain_old(i, j) += PermutationTensor::eps(i, j, k) * wc_vector_old(k);
72  }
73 
74  _deformation_gradient[_qp] = strain;
75  _deformation_gradient[_qp].addIa(1.0); // Gauss point deformation gradient
76 
77  const RankTwoTensor total_strain_increment = strain - strain_old;
78 
79  _strain_increment[_qp] = total_strain_increment;
80 
81  // Remove the eigenstrain increment
83 
84  _strain_rate[_qp] = _strain_increment[_qp] / _dt;
85 
86  _total_strain[_qp] = _total_strain_old[_qp] + total_strain_increment;
88 
89  RankTwoTensor curv((*_grad_wc[0])[_qp], (*_grad_wc[1])[_qp], (*_grad_wc[2])[_qp]);
90  RankTwoTensor curv_old((*_grad_wc_old[0])[_qp], (*_grad_wc_old[1])[_qp], (*_grad_wc_old[2])[_qp]);
91  _curvature_increment[_qp] = curv - curv_old;
93 }
const MaterialProperty< RankTwoTensor > & _total_strain_old
MaterialProperty< RankTwoTensor > & _deformation_gradient
MaterialProperty< RankTwoTensor > & _curvature_increment
_curvature_increment = (curvature - _curvature_old)
MaterialProperty< RankTwoTensor > & _curvature
the Cosserat curvature strain: curvature_ij = nabla_j CosseratRotation_i
MaterialProperty< RankTwoTensor > & _strain_increment
std::vector< const VariableValue * > _wc_old
The Cosserat rotations.
std::vector< const VariableGradient * > _grad_wc
Grad(Cosserat rotation)
MaterialProperty< RankTwoTensor > & _mechanical_strain
MaterialProperty< RankTwoTensor > & _strain_rate
void subtractEigenstrainIncrementFromStrain(RankTwoTensor &strain)
const MaterialProperty< RankTwoTensor > & _mechanical_strain_old
std::vector< const VariableValue * > _wc
The Cosserat rotations.
std::vector< const VariableGradient * > _grad_disp_old
const MaterialProperty< RankTwoTensor > & _curvature_old
the Cosserat curvature strain: curvature_ij = nabla_j CosseratRotation_i
MaterialProperty< RankTwoTensor > & _total_strain
std::vector< const VariableGradient * > _grad_wc_old
Grad(Cosserat rotation)
std::vector< const VariableGradient * > _grad_disp
void ComputeCosseratIncrementalSmallStrain::initQpStatefulProperties ( )
protectedvirtual

Reimplemented from ComputeIncrementalStrainBase.

Definition at line 50 of file ComputeCosseratIncrementalSmallStrain.C.

51 {
53 
54  _curvature[_qp].zero();
55 }
MaterialProperty< RankTwoTensor > & _curvature
the Cosserat curvature strain: curvature_ij = nabla_j CosseratRotation_i
virtual void initQpStatefulProperties() override
void ComputeIncrementalStrainBase::subtractEigenstrainIncrementFromStrain ( RankTwoTensor &  strain)
protectedinherited

Definition at line 60 of file ComputeIncrementalStrainBase.C.

Referenced by ComputeIncrementalSmallStrain::computeProperties(), computeQpProperties(), ComputeFiniteStrain::computeQpStrain(), and ComputeIncrementalStrainBase::~ComputeIncrementalStrainBase().

61 {
62  for (unsigned int i = 0; i < _eigenstrains.size(); ++i)
63  {
64  strain -= (*_eigenstrains[i])[_qp];
65  strain += (*_eigenstrains_old[i])[_qp];
66  }
67 }
std::vector< const MaterialProperty< RankTwoTensor > * > _eigenstrains_old
std::vector< const MaterialProperty< RankTwoTensor > * > _eigenstrains

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
MaterialProperty<RankTwoTensor>& ComputeCosseratIncrementalSmallStrain::_curvature
protected

the Cosserat curvature strain: curvature_ij = nabla_j CosseratRotation_i

Definition at line 27 of file ComputeCosseratIncrementalSmallStrain.h.

Referenced by computeQpProperties(), and initQpStatefulProperties().

MaterialProperty<RankTwoTensor>& ComputeCosseratIncrementalSmallStrain::_curvature_increment
protected

_curvature_increment = (curvature - _curvature_old)

Definition at line 48 of file ComputeCosseratIncrementalSmallStrain.h.

Referenced by computeQpProperties().

const MaterialProperty<RankTwoTensor>& ComputeCosseratIncrementalSmallStrain::_curvature_old
protected

the Cosserat curvature strain: curvature_ij = nabla_j CosseratRotation_i

Definition at line 45 of file ComputeCosseratIncrementalSmallStrain.h.

Referenced by computeQpProperties().

MaterialProperty<RankTwoTensor>& ComputeIncrementalStrainBase::_deformation_gradient
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 MaterialProperty<RankTwoTensor> *> ComputeIncrementalStrainBase::_eigenstrains_old
protectedinherited
std::vector<const VariableGradient *> ComputeStrainBase::_grad_disp
protectedinherited
std::vector<const VariableGradient *> ComputeIncrementalStrainBase::_grad_disp_old
protectedinherited
std::vector<const VariableGradient *> ComputeCosseratIncrementalSmallStrain::_grad_wc
protected

Grad(Cosserat rotation)

Definition at line 39 of file ComputeCosseratIncrementalSmallStrain.h.

Referenced by ComputeCosseratIncrementalSmallStrain(), and computeQpProperties().

std::vector<const VariableGradient *> ComputeCosseratIncrementalSmallStrain::_grad_wc_old
protected

Grad(Cosserat rotation)

Definition at line 42 of file ComputeCosseratIncrementalSmallStrain.h.

Referenced by ComputeCosseratIncrementalSmallStrain(), and computeQpProperties().

MaterialProperty<RankTwoTensor>& ComputeStrainBase::_mechanical_strain
protectedinherited
const MaterialProperty<RankTwoTensor>& ComputeIncrementalStrainBase::_mechanical_strain_old
protectedinherited
unsigned int ComputeStrainBase::_ndisp
protectedinherited
const unsigned int ComputeCosseratIncrementalSmallStrain::_nrots
protected

the number of Cosserat rotation variables supplied by the user (must be 3 in current implementation)

Definition at line 30 of file ComputeCosseratIncrementalSmallStrain.h.

Referenced by ComputeCosseratIncrementalSmallStrain().

MaterialProperty<RankTwoTensor>& ComputeIncrementalStrainBase::_rotation_increment
protectedinherited
MaterialProperty<RankTwoTensor>& ComputeIncrementalStrainBase::_strain_increment
protectedinherited
MaterialProperty<RankTwoTensor>& ComputeIncrementalStrainBase::_strain_rate
protectedinherited
MaterialProperty<RankTwoTensor>& ComputeStrainBase::_total_strain
protectedinherited
const MaterialProperty<RankTwoTensor>& ComputeIncrementalStrainBase::_total_strain_old
protectedinherited
bool ComputeStrainBase::_volumetric_locking_correction
protectedinherited
std::vector<const VariableValue *> ComputeCosseratIncrementalSmallStrain::_wc
protected

The Cosserat rotations.

Definition at line 33 of file ComputeCosseratIncrementalSmallStrain.h.

Referenced by ComputeCosseratIncrementalSmallStrain(), and computeQpProperties().

std::vector<const VariableValue *> ComputeCosseratIncrementalSmallStrain::_wc_old
protected

The Cosserat rotations.

Definition at line 36 of file ComputeCosseratIncrementalSmallStrain.h.

Referenced by ComputeCosseratIncrementalSmallStrain(), and computeQpProperties().


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