Lem
The Lem Plugin
Public Member Functions | Protected Member Functions | List of all members
LemMechanicalTBeam Class Reference

Basic class for Timoshenko Beam plugin object. More...

#include <lemMechanicalTBeam.h>

Inheritance diagram for LemMechanicalTBeam:
Inheritance graph
[legend]
Collaboration diagram for LemMechanicalTBeam:
Collaboration graph
[legend]

Public Member Functions

 LemMechanicalTBeam (const char *pluginType, GmSimulationData *simulation, QString id, QString description, const GmpFemPhysicsCommonMaterialFactory *matFactory, const GmLogCategory &logger)
 Constructor. Will be called by the plugin loading code.
 
virtual ~LemMechanicalTBeam ()
 Destructor.
 
virtual const QVariantMap * physicsMetaDataMap ()
 Returns a map with physic associated properties. More...
 
virtual bool beforeElementStiffnessLoop (const GmpFemMatrixSet &elemMatrices, const GmpFemVectorSet &elemVectors)
 See comments on the base class.
 
virtual FemResultType fillElementData (const GmElement *e, GmpFemMatrixSet &elemMatrices, GmpFemVectorSet &elemVectors)
 Fills elemental matrices and vectors. More...
 
virtual double fillBuMatrix (const GmElement *e, const GmShape *shape, const GmVector &ncoord, const GmMatrix &X, const GmVector &N, const GmMatrix &J, GmMatrix &Bp)
 Fills the Strain-Displacement matrix.
 
virtual bool calcDerivedResults (bool nonLinearSolver)
 Fills calculated results. More...
 
- Public Member Functions inherited from LemMechanicalPhysics
 LemMechanicalPhysics (const char *pluginType, GmSimulationData *simulation, QString id, QString description, const GmpFemPhysicsCommonMaterialFactory *matFactory, const GmLogCategory &logger)
 Constructor. Will be called by the plugin loading code.
 
virtual ~LemMechanicalPhysics ()
 Destructor.
 
virtual const char * pluginName () const
 
virtual const char * pluginType () const
 
virtual bool fixedNodalForcesBc (QList< int > &nodes, QList< int > &dof, QList< double > &values) const
 See comments on base class. Fills vectors with prescribed nodal concentrated forces.
 
virtual bool fixedNodalDofsBc (QList< int > &nodes, QList< int > &dof, QList< double > &values, bool *constantValues) const
 See comments on base class. Fills vectors with prescribed node displacements.
 
void fillElementDisplacements (const GmElement *e, GmVector &ue)
 Given an element, fills the vector 'ue' with nodal displacements. The vector should have size equal to n * d where n is the number of element nodes and d is the node dimension. More...
 
virtual void fillMiddleCoordinates (const GmElement *e, GmMatrix Xnode, GmMatrix &MX) const
 
virtual double axisSymetricFactor (const GmElement *e, const GmMatrix &X, const GmVector &N)
 Returns the factor that should be applied when using axis symetric elements. 1.0 for other etypes.
 
virtual bool isPlaneStress () const
 Returns TRUE for plane stress analysis and FALSE in other cases. More...
 
virtual unsigned stress_state (void)
 Returns the number of stress components. More...
 
GmMatrixdep ()
 Returns a reference to the physics constitutive tangent matrox.
 

Protected Member Functions

virtual bool checkAndLoadAttributeAccessors (LuaTable &nodeTable, LuaTable &gaussTable)
 Loads attribute accessors. More...
 

Additional Inherited Members

- Public Types inherited from LemMechanicalPhysics
enum  PhysicsAttributeIds { ISOPARAMETRIC_ID, NUM_ATTRI_IDS }
 IDs for physics attributes. More...
 
enum  StateVarIds { U_ID, W_ID, NUM_STATEVAR_IDS }
 IDs for Mechanical physics state vars. More...
 
enum  NodeAttributeIds { S_NA_ID, E_NA_ID, NUM_NA_IDS }
 IDs for physics node attributes. More...
 
enum  GaussAttributeIds {
  S_GA_ID, SOLD_GA_ID, E_GA_ID, EOLD_GA_ID,
  ST_GA_ID, STOLD_GA_ID, NUM_GA_IDS
}
 IDs for physics Gauss attributes. More...
 
enum  ElementPropertyIds { AREA_ID, NUM_PROPER_IDS }
 IDs for physics element properties. More...
 
enum  BoundaryConditionIds { FIXED_U_BC_ID, FIXED_CF_BC_ID, NUM_BC_IDS }
 IDs for accepted boundary condition types. More...
 
enum  BoundaryConditionValueIds {
  BC_UX_ID, BC_UY_ID, BC_UZ_ID, BC_CF_ID,
  NUM_BCV_IDS
}
 IDs for property values from accepted boundary condition types. More...
 
- Protected Attributes inherited from LemMechanicalPhysics
lemMechanicPoint_mechanicPoint
 Access to mechanical material point.
 
GmMatrix _Dep
 Constitutive tangent matrix (2 x 2)
 

Detailed Description

Basic class for Timoshenko Beam plugin object.

Member Function Documentation

◆ calcDerivedResults()

bool LemMechanicalTBeam::calcDerivedResults ( bool  nonLinearSolver)
virtual

Fills calculated results.

Calc stress component on nodes and/or Gauss points, ADDING the calculated value to the current result.

Reimplemented from LemMechanicalPhysics.

◆ checkAndLoadAttributeAccessors()

bool LemMechanicalTBeam::checkAndLoadAttributeAccessors ( LuaTable nodeTable,
LuaTable gaussTable 
)
protectedvirtual

Loads attribute accessors.

Reimplementation of the common function to init the _mechanicPoint structure.

◆ fillElementData()

GmpFemPhysics::FemResultType LemMechanicalTBeam::fillElementData ( const GmElement e,
GmpFemMatrixSet &  elemMatrices,
GmpFemVectorSet &  elemVectors 
)
virtual

Fills elemental matrices and vectors.

Fills the element matrices and vectors for a generic elements.

Implements LemMechanicalPhysics.

◆ physicsMetaDataMap()

const QVariantMap * LemMechanicalTBeam::physicsMetaDataMap ( )
virtual

Returns a map with physic associated properties.

Returns a reference for the single mechanical physics attribute map, built when the function is called for the first time.

Reimplemented from LemMechanicalPhysics.


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