Description

Base class for properties of beam sections.

A beam section can be shared between multiple beams. A beam section contains the models for elasticity, plasticity, damping, etc.

#include <ChBeamSection.h>

Inheritance diagram for chrono::fea::ChBeamSection:

Public Member Functions

void SetDrawShape (std::shared_ptr< ChBeamSectionShape > mshape)
 Set the graphical representation for this section. More...
 
std::shared_ptr< ChBeamSectionShapeGetDrawShape () const
 Get the drawing shape of this section (i.e.a 2D profile used for drawing 3D tesselation and visualization) By default a thin square section, use SetDrawShape() to change it.
 
void SetDrawThickness (double thickness_y, double thickness_z)
 Shortcut: adds a ChBeamSectionShapeRectangular for visualization as a centered rectangular beam, and sets its width/height. More...
 
void SetDrawCircularRadius (double draw_rad)
 Shortcut: adds a ChBeamSectionShapeCircular for visualization as a centered circular beam, and sets its radius. More...
 
void SetCircular (bool ic)
 OBSOLETE only for backward compability More...
 

Member Function Documentation

◆ SetCircular()

void chrono::fea::ChBeamSection::SetCircular ( bool  ic)
inline

OBSOLETE only for backward compability

OBSOLETE

◆ SetDrawCircularRadius()

void chrono::fea::ChBeamSection::SetDrawCircularRadius ( double  draw_rad)
inline

Shortcut: adds a ChBeamSectionShapeCircular for visualization as a centered circular beam, and sets its radius.

NOTE: only for visualization - this radius do NOT have any meaning at a physical level, that is set in other ways.

◆ SetDrawShape()

void chrono::fea::ChBeamSection::SetDrawShape ( std::shared_ptr< ChBeamSectionShape mshape)
inline

Set the graphical representation for this section.

Might be used for collision too. This is a 2D profile used for 3D tesselation and visualization of the beam, but NOT used for physical properties, that you should rather define with other components of more specialized ChBeamSection, such as for example adding ChBeamSectionCosseratElasticity to a ChBeamSectionCosserat, etc.

◆ SetDrawThickness()

void chrono::fea::ChBeamSection::SetDrawThickness ( double  thickness_y,
double  thickness_z 
)
inline

Shortcut: adds a ChBeamSectionShapeRectangular for visualization as a centered rectangular beam, and sets its width/height.

NOTE: only for visualization - these thickness values do NOT have any meaning at a physical level, that is set in other ways.


The documentation for this class was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono/fea/ChBeamSection.h