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

#include <ComputeElasticityBeam.h>

Inheritance diagram for ComputeElasticityBeam:
[legend]

Public Member Functions

 ComputeElasticityBeam (const InputParameters &parameters)
 

Protected Member Functions

virtual void computeQpProperties () override
 

Protected Attributes

MaterialProperty< RealVectorValue > & _material_stiffness
 Material stiffness vector that relates displacement strain increments to force increments. More...
 
MaterialProperty< RealVectorValue > & _material_flexure
 Material flexure vector that relates rotational strain increments to moment increments. More...
 
Function *const _prefactor_function
 Prefactor function used to modify (i.e., multiply) the material stiffness and flexure vectors. More...
 
const VariableValue & _youngs_modulus
 Young's modulus of the beam material. More...
 
const VariableValue & _poissons_ratio
 Poisson's ratio of the beam material. More...
 
const VariableValue & _shear_coefficient
 Shear coefficient for the beam cross-section. More...
 

Detailed Description

Definition at line 22 of file ComputeElasticityBeam.h.

Constructor & Destructor Documentation

◆ ComputeElasticityBeam()

ComputeElasticityBeam::ComputeElasticityBeam ( const InputParameters &  parameters)

Definition at line 37 of file ComputeElasticityBeam.C.

38  : Material(parameters),
39  _material_stiffness(declareProperty<RealVectorValue>("material_stiffness")),
40  _material_flexure(declareProperty<RealVectorValue>("material_flexure")),
41  _prefactor_function(isParamValid("elasticity_prefactor") ? &getFunction("elasticity_prefactor")
42  : NULL),
43  _youngs_modulus(coupledValue("youngs_modulus")),
44  _poissons_ratio(coupledValue("poissons_ratio")),
45  _shear_coefficient(coupledValue("shear_coefficient"))
46 {
47 }
const VariableValue & _shear_coefficient
Shear coefficient for the beam cross-section.
MaterialProperty< RealVectorValue > & _material_flexure
Material flexure vector that relates rotational strain increments to moment increments.
MaterialProperty< RealVectorValue > & _material_stiffness
Material stiffness vector that relates displacement strain increments to force increments.
const VariableValue & _youngs_modulus
Young&#39;s modulus of the beam material.
const VariableValue & _poissons_ratio
Poisson&#39;s ratio of the beam material.
Function *const _prefactor_function
Prefactor function used to modify (i.e., multiply) the material stiffness and flexure vectors...

Member Function Documentation

◆ computeQpProperties()

void ComputeElasticityBeam::computeQpProperties ( )
overrideprotectedvirtual

Definition at line 50 of file ComputeElasticityBeam.C.

51 {
52  const Real shear_modulus = _youngs_modulus[_qp] / (2.0 * (1.0 + _poissons_ratio[_qp]));
53 
54  // material_stiffness relates the translational strains to forces
55  _material_stiffness[_qp](0) = _youngs_modulus[_qp];
56  _material_stiffness[_qp](1) = _shear_coefficient[_qp] * shear_modulus;
57  _material_stiffness[_qp](2) = _material_stiffness[_qp](1);
58 
59  // material_flexure relates the rotational strains to moments
60  _material_flexure[_qp](0) = _shear_coefficient[_qp] * shear_modulus;
61  _material_flexure[_qp](1) = _youngs_modulus[_qp];
62  _material_flexure[_qp](2) = _material_flexure[_qp](1);
63 
64  // Multiply by prefactor
66  {
67  _material_stiffness[_qp] *= _prefactor_function->value(_t, _q_point[_qp]);
68  _material_flexure[_qp] *= _prefactor_function->value(_t, _q_point[_qp]);
69  }
70 }
const VariableValue & _shear_coefficient
Shear coefficient for the beam cross-section.
MaterialProperty< RealVectorValue > & _material_flexure
Material flexure vector that relates rotational strain increments to moment increments.
MaterialProperty< RealVectorValue > & _material_stiffness
Material stiffness vector that relates displacement strain increments to force increments.
const VariableValue & _youngs_modulus
Young&#39;s modulus of the beam material.
const VariableValue & _poissons_ratio
Poisson&#39;s ratio of the beam material.
Function *const _prefactor_function
Prefactor function used to modify (i.e., multiply) the material stiffness and flexure vectors...

Member Data Documentation

◆ _material_flexure

MaterialProperty<RealVectorValue>& ComputeElasticityBeam::_material_flexure
protected

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

Definition at line 34 of file ComputeElasticityBeam.h.

Referenced by computeQpProperties().

◆ _material_stiffness

MaterialProperty<RealVectorValue>& ComputeElasticityBeam::_material_stiffness
protected

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

Definition at line 31 of file ComputeElasticityBeam.h.

Referenced by computeQpProperties().

◆ _poissons_ratio

const VariableValue& ComputeElasticityBeam::_poissons_ratio
protected

Poisson's ratio of the beam material.

Definition at line 43 of file ComputeElasticityBeam.h.

Referenced by computeQpProperties().

◆ _prefactor_function

Function* const ComputeElasticityBeam::_prefactor_function
protected

Prefactor function used to modify (i.e., multiply) the material stiffness and flexure vectors.

Definition at line 37 of file ComputeElasticityBeam.h.

Referenced by computeQpProperties().

◆ _shear_coefficient

const VariableValue& ComputeElasticityBeam::_shear_coefficient
protected

Shear coefficient for the beam cross-section.

Definition at line 46 of file ComputeElasticityBeam.h.

Referenced by computeQpProperties().

◆ _youngs_modulus

const VariableValue& ComputeElasticityBeam::_youngs_modulus
protected

Young's modulus of the beam material.

Definition at line 40 of file ComputeElasticityBeam.h.

Referenced by computeQpProperties().


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