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

ComputeCosseratLinearElasticStress computes the Cosserat stress and couple-stress following linear elasticity theory It also sets the d(stress)/d(strain) and d(couple_stress)/d(curvature) tensors appropriately. More...

#include <ComputeCosseratLinearElasticStress.h>

Inheritance diagram for ComputeCosseratLinearElasticStress:
[legend]

Public Member Functions

 ComputeCosseratLinearElasticStress (const InputParameters &parameters)
 
virtual void initialSetup ()
 

Protected Member Functions

virtual void computeQpStress ()
 
virtual void initQpStatefulProperties ()
 
virtual void computeQpProperties () override
 

Protected Attributes

const MaterialProperty< RankTwoTensor > & _curvature
 The Cosserat curvature strain. More...
 
const MaterialProperty< RankFourTensor > & _elastic_flexural_rigidity_tensor
 The Cosserat elastic flexural rigidity tensor. More...
 
MaterialProperty< RankTwoTensor > & _stress_couple
 the Cosserat couple-stress More...
 
MaterialProperty< RankFourTensor > & _Jacobian_mult_couple
 derivative of couple-stress w.r.t. curvature More...
 
const std::string _base_name
 
const std::string _elasticity_tensor_name
 
const MaterialProperty< RankTwoTensor > & _mechanical_strain
 
MaterialProperty< RankTwoTensor > & _stress
 
MaterialProperty< RankTwoTensor > & _elastic_strain
 
const MaterialProperty< RankFourTensor > & _elasticity_tensor
 
const MaterialProperty< RankTwoTensor > & _extra_stress
 Extra stress tensor. More...
 
std::vector< Function * > _initial_stress_fcn
 initial stress components More...
 
MaterialProperty< RankFourTensor > & _Jacobian_mult
 derivative of stress w.r.t. strain (_dstress_dstrain) More...
 

Detailed Description

ComputeCosseratLinearElasticStress computes the Cosserat stress and couple-stress following linear elasticity theory It also sets the d(stress)/d(strain) and d(couple_stress)/d(curvature) tensors appropriately.

Definition at line 26 of file ComputeCosseratLinearElasticStress.h.

Constructor & Destructor Documentation

◆ ComputeCosseratLinearElasticStress()

ComputeCosseratLinearElasticStress::ComputeCosseratLinearElasticStress ( const InputParameters &  parameters)

Definition at line 24 of file ComputeCosseratLinearElasticStress.C.

26  : ComputeCosseratStressBase(parameters)
27 {
28 }
ComputeCosseratStressBase(const InputParameters &parameters)

Member Function Documentation

◆ computeQpProperties()

void ComputeStressBase::computeQpProperties ( )
overrideprotectedvirtualinherited

Definition at line 51 of file ComputeStressBase.C.

52 {
54 
55  // Add in extra stress
56  _stress[_qp] += _extra_stress[_qp];
57 }
virtual void computeQpStress()=0
MaterialProperty< RankTwoTensor > & _stress
const MaterialProperty< RankTwoTensor > & _extra_stress
Extra stress tensor.

◆ computeQpStress()

void ComputeCosseratLinearElasticStress::computeQpStress ( )
protectedvirtual

Implements ComputeCosseratStressBase.

Definition at line 38 of file ComputeCosseratLinearElasticStress.C.

39 {
42 
44 
47 }
MaterialProperty< RankFourTensor > & _Jacobian_mult
derivative of stress w.r.t. strain (_dstress_dstrain)
const MaterialProperty< RankFourTensor > & _elastic_flexural_rigidity_tensor
The Cosserat elastic flexural rigidity tensor.
MaterialProperty< RankTwoTensor > & _stress
const MaterialProperty< RankTwoTensor > & _curvature
The Cosserat curvature strain.
MaterialProperty< RankFourTensor > & _Jacobian_mult_couple
derivative of couple-stress w.r.t. curvature
const MaterialProperty< RankTwoTensor > & _mechanical_strain
MaterialProperty< RankTwoTensor > & _stress_couple
the Cosserat couple-stress
const MaterialProperty< RankFourTensor > & _elasticity_tensor
MaterialProperty< RankTwoTensor > & _elastic_strain

◆ initialSetup()

void ComputeCosseratLinearElasticStress::initialSetup ( )
virtual

Definition at line 31 of file ComputeCosseratLinearElasticStress.C.

32 {
33  if (hasBlockMaterialProperty<RankTwoTensor>(_base_name + "strain_increment"))
34  mooseError("This linear elastic stress calculation only works for small strains");
35 }
const std::string _base_name

◆ initQpStatefulProperties()

void ComputeCosseratStressBase::initQpStatefulProperties ( )
protectedvirtualinherited

Reimplemented from ComputeStressBase.

Definition at line 32 of file ComputeCosseratStressBase.C.

33 {
35  _stress_couple[_qp].zero();
36 }
MaterialProperty< RankTwoTensor > & _stress_couple
the Cosserat couple-stress
virtual void initQpStatefulProperties() override

Member Data Documentation

◆ _base_name

const std::string ComputeStressBase::_base_name
protectedinherited

Definition at line 37 of file ComputeStressBase.h.

Referenced by ComputeLinearElasticStress::initialSetup(), and initialSetup().

◆ _curvature

const MaterialProperty<RankTwoTensor>& ComputeCosseratStressBase::_curvature
protectedinherited

The Cosserat curvature strain.

Definition at line 33 of file ComputeCosseratStressBase.h.

Referenced by computeQpStress().

◆ _elastic_flexural_rigidity_tensor

const MaterialProperty<RankFourTensor>& ComputeCosseratStressBase::_elastic_flexural_rigidity_tensor
protectedinherited

The Cosserat elastic flexural rigidity tensor.

Definition at line 36 of file ComputeCosseratStressBase.h.

Referenced by computeQpStress().

◆ _elastic_strain

MaterialProperty<RankTwoTensor>& ComputeStressBase::_elastic_strain
protectedinherited

◆ _elasticity_tensor

const MaterialProperty<RankFourTensor>& ComputeStressBase::_elasticity_tensor
protectedinherited

◆ _elasticity_tensor_name

const std::string ComputeStressBase::_elasticity_tensor_name
protectedinherited

◆ _extra_stress

const MaterialProperty<RankTwoTensor>& ComputeStressBase::_extra_stress
protectedinherited

Extra stress tensor.

Definition at line 47 of file ComputeStressBase.h.

Referenced by ComputeStressBase::computeQpProperties().

◆ _initial_stress_fcn

std::vector<Function *> ComputeStressBase::_initial_stress_fcn
protectedinherited

initial stress components

Definition at line 50 of file ComputeStressBase.h.

◆ _Jacobian_mult

MaterialProperty<RankFourTensor>& ComputeStressBase::_Jacobian_mult
protectedinherited

◆ _Jacobian_mult_couple

MaterialProperty<RankFourTensor>& ComputeCosseratStressBase::_Jacobian_mult_couple
protectedinherited

derivative of couple-stress w.r.t. curvature

Definition at line 42 of file ComputeCosseratStressBase.h.

Referenced by computeQpStress().

◆ _mechanical_strain

const MaterialProperty<RankTwoTensor>& ComputeStressBase::_mechanical_strain
protectedinherited

◆ _stress

MaterialProperty<RankTwoTensor>& ComputeStressBase::_stress
protectedinherited

◆ _stress_couple

MaterialProperty<RankTwoTensor>& ComputeCosseratStressBase::_stress_couple
protectedinherited

the Cosserat couple-stress

Definition at line 39 of file ComputeCosseratStressBase.h.

Referenced by computeQpStress(), and ComputeCosseratStressBase::initQpStatefulProperties().


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