OpenBeam
C++ library for static analysis of mechanical structures
Public Member Functions | Public Attributes | List of all members
openbeam::CLoadConcentratedForce Struct Reference

#include <loads.h>

Inheritance diagram for openbeam::CLoadConcentratedForce:
Inheritance graph
[legend]
Collaboration diagram for openbeam::CLoadConcentratedForce:
Collaboration graph
[legend]

Public Member Functions

 CLoadConcentratedForce (num_t P_, num_t dist_, num_t vx, num_t vy, num_t vz)
 
void computeStressAndEquivalentLoads (const CElement *el, ElementStress &stress, std::vector< array6 > &loads) override
 
void loadParamsFromSet (const mrpt::containers::yaml &p, const EvaluationContext &ctx) override
 
void meshLoad (CStructureProblem &meshed_fem, const std::vector< size_t > &meshed_element_idxs, const size_t original_bar_idx, const CStructureProblem &original_fem) const override
 
mrpt::opengl::CSetOfObjects::Ptr getVisualization (const CFiniteElementProblem &fem, const DrawStructureOptions &options, const DrawElementExtraParams &draw_el_params, const MeshOutputInfo *meshing_info) const override
 
- Public Member Functions inherited from openbeam::CLoadOnBeam
virtual void getVisualization_init (const CFiniteElementProblem &fem, const DrawStructureOptions &options, const DrawElementExtraParams &draw_el_params, const MeshOutputInfo *meshing_info) const
 
virtual void getVisualization_pre (const CFiniteElementProblem &fem, const DrawStructureOptions &options, const DrawElementExtraParams &draw_el_params, const MeshOutputInfo *meshing_info) const
 

Public Attributes

num_t P
 Load modulus (N)
 
num_t dist
 Load modulus (N)
 
num_t dir [3]
 Director vector, in GLOBAL coordinates.
 

Additional Inherited Members

- Public Types inherited from openbeam::CLoadOnBeam
using Ptr = std::shared_ptr< CLoadOnBeam >
 
using ConstPtr = std::shared_ptr< const CLoadOnBeam >
 
- Static Public Member Functions inherited from openbeam::CLoadOnBeam
static CLoadOnBeam::Ptr createLoadByName (const std::string &sName)
 

Detailed Description

Concentrated force applied at any point along the beam, in an arbitrary direction given by a director vector. Accepted parameters loadable from problem files:

Constructor & Destructor Documentation

◆ CLoadConcentratedForce()

openbeam::CLoadConcentratedForce::CLoadConcentratedForce ( num_t  P_,
num_t  dist_,
num_t  vx,
num_t  vy,
num_t  vz 
)
inline
Parameters
[in]PForce modulus (N)
[in]distDistance from the first beam node to the point of the force is applied to (m)
[in]vx,vy,vzNormalized director vector (in global coordinates) of the force

Member Function Documentation

◆ loadParamsFromSet()

void openbeam::CLoadConcentratedForce::loadParamsFromSet ( const mrpt::containers::yaml &  p,
const EvaluationContext ctx 
)
overridevirtual

See declaration in base class

Implements openbeam::CLoadOnBeam.

◆ meshLoad()

void openbeam::CLoadConcentratedForce::meshLoad ( CStructureProblem meshed_fem,
const std::vector< size_t > &  meshed_element_idxs,
const size_t  original_bar_idx,
const CStructureProblem original_fem 
) const
overridevirtual

Decompose the distributed load as needed into the set of elements in which the original element has been meshed

Implements openbeam::CLoadOnBeam.


The documentation for this struct was generated from the following file: