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

#include <ComputeBeamResultants.h>

Inheritance diagram for ComputeBeamResultants:
[legend]

Public Member Functions

 ComputeBeamResultants (const InputParameters &parameters)
 

Protected Member Functions

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

Protected Attributes

const MaterialProperty< RealVectorValue > & _disp_strain_increment
 Mechanical displacement strain increment in beam local coordinate system. More...
 
const MaterialProperty< RealVectorValue > & _rot_strain_increment
 Mechanical rotational strain increment in beam local coordinate system. More...
 
const MaterialProperty< RealVectorValue > & _material_stiffness
 Material stiffness vector that relates displacement strain increment to force increment. More...
 
const MaterialProperty< RealVectorValue > & _material_flexure
 Material flexure vector that relates rotational strain increment to moment increment. More...
 
const MaterialProperty< RankTwoTensor > & _total_rotation
 Rotational transformation from global to current beam local coordinate system. More...
 
MaterialProperty< RealVectorValue > & _force
 Current force vector in global coordinate system. More...
 
MaterialProperty< RealVectorValue > & _moment
 Current moment vector in global coordinate system. More...
 
const MaterialProperty< RealVectorValue > & _force_old
 Old force vector in global coordinate system. More...
 
const MaterialProperty< RealVectorValue > & _moment_old
 Old force vector in global coordinate system. More...
 

Detailed Description

Definition at line 22 of file ComputeBeamResultants.h.

Constructor & Destructor Documentation

◆ ComputeBeamResultants()

ComputeBeamResultants::ComputeBeamResultants ( const InputParameters &  parameters)

Definition at line 20 of file ComputeBeamResultants.C.

21  : Material(parameters),
23  getMaterialPropertyByName<RealVectorValue>("mech_disp_strain_increment")),
24  _rot_strain_increment(getMaterialPropertyByName<RealVectorValue>("mech_rot_strain_increment")),
25  _material_stiffness(getMaterialPropertyByName<RealVectorValue>("material_stiffness")),
26  _material_flexure(getMaterialPropertyByName<RealVectorValue>("material_flexure")),
27  _total_rotation(getMaterialPropertyByName<RankTwoTensor>("total_rotation")),
28  _force(declareProperty<RealVectorValue>("forces")),
29  _moment(declareProperty<RealVectorValue>("moments")),
30  _force_old(getMaterialPropertyOld<RealVectorValue>("forces")),
31  _moment_old(getMaterialPropertyOld<RealVectorValue>("moments"))
32 {
33 }
const MaterialProperty< RealVectorValue > & _material_stiffness
Material stiffness vector that relates displacement strain increment to force increment.
const MaterialProperty< RankTwoTensor > & _total_rotation
Rotational transformation from global to current beam local coordinate system.
const MaterialProperty< RealVectorValue > & _material_flexure
Material flexure vector that relates rotational strain increment to moment increment.
const MaterialProperty< RealVectorValue > & _rot_strain_increment
Mechanical rotational strain increment in beam local coordinate system.
MaterialProperty< RealVectorValue > & _moment
Current moment vector in global coordinate system.
const MaterialProperty< RealVectorValue > & _moment_old
Old force vector in global coordinate system.
const MaterialProperty< RealVectorValue > & _disp_strain_increment
Mechanical displacement strain increment in beam local coordinate system.
const MaterialProperty< RealVectorValue > & _force_old
Old force vector in global coordinate system.
MaterialProperty< RealVectorValue > & _force
Current force vector in global coordinate system.

Member Function Documentation

◆ computeQpProperties()

void ComputeBeamResultants::computeQpProperties ( )
overrideprotectedvirtual

Definition at line 43 of file ComputeBeamResultants.C.

44 {
45  // force = R^T * _material_stiffness * strain_increment + force_old
46  RealVectorValue force_increment;
47  force_increment(0) = _material_stiffness[_qp](0) * _disp_strain_increment[_qp](0);
48  force_increment(1) = _material_stiffness[_qp](1) * _disp_strain_increment[_qp](1);
49  force_increment(2) = _material_stiffness[_qp](2) * _disp_strain_increment[_qp](2);
50 
51  _force[_qp] = _total_rotation[0].transpose() * force_increment + _force_old[_qp];
52 
53  // moment = R^T * _material_flexure * rotation_increment + moment_old
54  RealVectorValue moment_increment;
55  moment_increment(0) = _material_flexure[_qp](0) * _rot_strain_increment[_qp](0);
56  moment_increment(1) = _material_flexure[_qp](1) * _rot_strain_increment[_qp](1);
57  moment_increment(2) = _material_flexure[_qp](2) * _rot_strain_increment[_qp](2);
58 
59  _moment[_qp] = _total_rotation[0].transpose() * moment_increment + _moment_old[_qp];
60 }
const MaterialProperty< RealVectorValue > & _material_stiffness
Material stiffness vector that relates displacement strain increment to force increment.
const MaterialProperty< RankTwoTensor > & _total_rotation
Rotational transformation from global to current beam local coordinate system.
const MaterialProperty< RealVectorValue > & _material_flexure
Material flexure vector that relates rotational strain increment to moment increment.
const MaterialProperty< RealVectorValue > & _rot_strain_increment
Mechanical rotational strain increment in beam local coordinate system.
MaterialProperty< RealVectorValue > & _moment
Current moment vector in global coordinate system.
const MaterialProperty< RealVectorValue > & _moment_old
Old force vector in global coordinate system.
const MaterialProperty< RealVectorValue > & _disp_strain_increment
Mechanical displacement strain increment in beam local coordinate system.
const MaterialProperty< RealVectorValue > & _force_old
Old force vector in global coordinate system.
MaterialProperty< RealVectorValue > & _force
Current force vector in global coordinate system.

◆ initQpStatefulProperties()

void ComputeBeamResultants::initQpStatefulProperties ( )
overrideprotectedvirtual

Definition at line 36 of file ComputeBeamResultants.C.

37 {
38  _force[_qp].zero();
39  _moment[_qp].zero();
40 }
MaterialProperty< RealVectorValue > & _moment
Current moment vector in global coordinate system.
MaterialProperty< RealVectorValue > & _force
Current force vector in global coordinate system.

Member Data Documentation

◆ _disp_strain_increment

const MaterialProperty<RealVectorValue>& ComputeBeamResultants::_disp_strain_increment
protected

Mechanical displacement strain increment in beam local coordinate system.

Definition at line 32 of file ComputeBeamResultants.h.

Referenced by computeQpProperties().

◆ _force

MaterialProperty<RealVectorValue>& ComputeBeamResultants::_force
protected

Current force vector in global coordinate system.

Definition at line 47 of file ComputeBeamResultants.h.

Referenced by computeQpProperties(), and initQpStatefulProperties().

◆ _force_old

const MaterialProperty<RealVectorValue>& ComputeBeamResultants::_force_old
protected

Old force vector in global coordinate system.

Definition at line 53 of file ComputeBeamResultants.h.

Referenced by computeQpProperties().

◆ _material_flexure

const MaterialProperty<RealVectorValue>& ComputeBeamResultants::_material_flexure
protected

Material flexure vector that relates rotational strain increment to moment increment.

Definition at line 41 of file ComputeBeamResultants.h.

Referenced by computeQpProperties().

◆ _material_stiffness

const MaterialProperty<RealVectorValue>& ComputeBeamResultants::_material_stiffness
protected

Material stiffness vector that relates displacement strain increment to force increment.

Definition at line 38 of file ComputeBeamResultants.h.

Referenced by computeQpProperties().

◆ _moment

MaterialProperty<RealVectorValue>& ComputeBeamResultants::_moment
protected

Current moment vector in global coordinate system.

Definition at line 50 of file ComputeBeamResultants.h.

Referenced by computeQpProperties(), and initQpStatefulProperties().

◆ _moment_old

const MaterialProperty<RealVectorValue>& ComputeBeamResultants::_moment_old
protected

Old force vector in global coordinate system.

Definition at line 56 of file ComputeBeamResultants.h.

Referenced by computeQpProperties().

◆ _rot_strain_increment

const MaterialProperty<RealVectorValue>& ComputeBeamResultants::_rot_strain_increment
protected

Mechanical rotational strain increment in beam local coordinate system.

Definition at line 35 of file ComputeBeamResultants.h.

Referenced by computeQpProperties().

◆ _total_rotation

const MaterialProperty<RankTwoTensor>& ComputeBeamResultants::_total_rotation
protected

Rotational transformation from global to current beam local coordinate system.

Definition at line 44 of file ComputeBeamResultants.h.

Referenced by computeQpProperties().


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