Click or drag to resize

ModelBeam Class

Beam element that lives in a statical model.
Inheritance Hierarchy

Namespace:  Karamba.Elements
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntax
[SerializableAttribute]
public class ModelBeam : ModelTruss, ISerializable

The ModelBeam type exposes the following members.

Constructors
  NameDescription
Protected methodModelBeam
Initializes a new instance of the ModelBeam class. parameterless constructor for json serialization.
Protected methodModelBeam(SerializationInfo, StreamingContext)
Initializes a new instance of the ModelBeam class. Deserialize ModelBeam.
Public methodModelBeam(Int32, BuilderBeam, IReadOnlyListInt32, ListNode)
Initializes a new instance of the ModelBeam class. construct model-beam from a grass-beam and additional information collected in the assembly-process.
Top
Properties
  NameDescription
Public propertybending_stiff
Gets a value indicating whether the element has a bending stiffness.
(Inherited from ModelTruss.)
Protected propertybuilder_element
Gets the raw element from where the base data comes.
(Inherited from ModelElement.)
Public propertycanBuckle
Gets a value indicating whether buckling is considered when doing cross section optimization or calculating the utilization.
(Inherited from ModelElement.)
Public propertycolor
Gets or sets the color of the element for some types of rendering. Can be set with a ElemSets-component.
(Inherited from ModelElement.)
Public propertycolorIsSet
Gets a value indicating whether the element has a color attached.
(Inherited from ModelElement.)
Public propertycrosec
Gets or sets the cross section of the model element.
(Inherited from ModelElement.)
Public propertyecce
Gets the elements eccentricity.
(Inherited from ModelElement.)
Public propertyecce_glo
Gets the vector of global cross section eccentricity.
(Inherited from ModelElement.)
Public propertyecce_loc
Gets the vector of local cross section eccentricity.
(Inherited from ModelElement.)
Public propertyElem_loads
Gets the elements loads.
(Inherited from ModelElement.)
Public propertyfe_id
Gets the first element index in fe-model. In case of shells there may be more than one finite element connected to a model element and fe_id points to the shells TriMesh-object.
(Inherited from ModelElement.)
Public propertyfe_ind_begin
Gets the first element index in fe-model. in case of shells there may be more than one finite element connected to a model element.
(Inherited from ModelElement.)
Public propertyfe_ind_end
Gets the index of element in femodel that lies one entry beyond the last finite element of the model element.
(Inherited from ModelElement.)
Public propertyfe_node_ind
Gets the index of fe-nodes of fe-elements in fe-model. Can differ from node_ind in case of joints.
(Inherited from ModelElement.)
Public propertyhasEccent
Gets a value indicating whether a cross section has an eccentricity.
(Inherited from ModelElement.)
Public propertyid
Gets the identifier (name) of element.
(Inherited from ModelElement.)
Public propertyind
Gets the zero-based index of element in model. The indexes are consecutively numbered from 0 to number of elements.
(Inherited from ModelElement.)
Public propertyis_visible
Gets or sets a value indicating whether the element is visible.
(Inherited from ModelElement.)
Public propertyIsActive
Gets or sets a value indicating whether the element is active. If inactive the element is removed from the statical model using the soft-kill approach. The FE-model needs to be rebuilt after manipulating this flag.
(Inherited from ModelTruss.)
Public propertyjoint
Gets or sets the joint definition of the element.
(Inherited from ModelTruss.)
Public propertylg
Gets the distance of transverse load and the center of shear. Is positive if the load points towards the center of shear.
(Inherited from ModelTruss.)
Public propertynII
Gets or sets the normal force that induces ThII effects.
(Inherited from ModelElement.)
Public propertynode_inds
Gets the index of nodes of elements after assembly.
(Inherited from ModelElement.)
Public propertyres_alpha
Gets set/get resulting angle [radians] of rotation of the cross section about the longitudinal element axis relative to the initial local coordinate system.
(Inherited from ModelElementStraightLine.)
Public propertyx_ori
Gets the user defined local x-axis of the element (not including the additional rotation angle alpha).
(Inherited from ModelElement.)
Public propertyx_ori_given
Gets a value indicating whether a user defined local x-axis is given.
(Inherited from ModelElement.)
Public propertyx_ori_list
Gets the user defined local x-axes of the element (not including the additional rotation angle alpha).
(Inherited from ModelElement.)
Public propertyy_ori
Gets the user defined local y-axis of the element (not including the additional rotation angle alpha).
(Inherited from ModelElement.)
Public propertyy_ori_given
Gets a value indicating whether a user defined local z-axis is given.
(Inherited from ModelElement.)
Public propertyz_ori
Gets the user defined local z-axis of the element (not including the additional rotation angle alpha).
(Inherited from ModelElement.)
Public propertyz_ori_given
Gets a value indicating whether a user defined local z-axis is given.
(Inherited from ModelElement.)
Public propertyz_ori_list
Gets the user defined local z-axes of the element (not including the additional rotation angle alpha).
(Inherited from ModelElement.)
Top
Methods
  NameDescription
Protected method_invEIyy
Get the inverse of the bending stiffness about the y-axis.
(Overrides ModelTruss_invEIyy(Double).)
Protected method_invEIzz
Get the inverse of the bending stiffness about the z-axis.
(Overrides ModelTruss_invEIzz(Double).)
Public methodAccept(ModelElementVisitor)
accept an element visitor.
(Overrides ModelTrussAccept(ModelElementVisitor).)
Public methodAcceptT(IModelElementVisitorT, T)
accept an element visitor.
(Overrides ModelTrussAcceptT(IModelElementVisitorT, T).)
Public methodAcceptT(IModelElementVisitorT, T)
accept an element visitor.
(Inherited from ModelElement.)
Public methodAcceptT(IModelElementVisitorT, T)
accept an element visitor.
(Inherited from ModelTruss.)
Public methodAcceptR, T(IModelElementVisitorR, T, T)
accept an element visitor.
(Overrides ModelTrussAcceptR, T(IModelElementVisitorR, T, T).)
Public methodAcceptR, T(IModelElementVisitorR, T, T)
accept an element visitor.
(Inherited from ModelElement.)
Public methodAcceptR, T(IModelElementVisitorR, T, T)
accept an element visitor.
(Inherited from ModelTruss.)
Public methodadd
add an element load to the element.
(Inherited from ModelElement.)
Public methodaddCroSecMesh
Plots cross section mesh which is colored according to color settings.
(Inherited from ModelTruss.)
Protected methodaddLoads
add loads connected to this element to its feb-element.
(Inherited from ModelElement.)
Public methodaddResultantDispMesh
Plots mesh which is colored according to resultant deflection.
(Inherited from ModelTruss.)
Public methodaddStrainMesh
enrich the given mesh with strain data of this element.
(Inherited from ModelElementStraightLine.)
Public methodaddStressMesh
enrich the given mesh with stress data of this element.
(Inherited from ModelElementStraightLine.)
Protected methodaddStressStrainMesh
add element results regarding stresses or strains to the given mesh.
(Inherited from ModelTruss.)
Public methodaddTo
create feb-element and add it to the feb-model.
(Overrides ModelTrussaddTo(Model, LCCombiCollector, Int32).)
Public methodaddUtilizationMesh
enrich the given mesh with utilization data of this element.
(Inherited from ModelElementStraightLine.)
Public methodbuckling_length
return buckling length in local y-direction or a negative number if not set.
(Inherited from ModelElementStraightLine.)
Public methodBuilderElement
Clone the grass-element on which this model-element is based and linked to.
(Inherited from ModelElement.)
Public methodcharacteristic_length
calculate characteristic length of the element.
(Inherited from ModelElement.)
Public methodclearLoads
clears the loads of the element. Make sure to clone it before clearing the loads in order to avoid side effects.
(Inherited from ModelElement.)
Public methodClone
Clone the model element.
(Overrides ModelTrussClone.)
Public methodcloneBuilderElement
Clone the grass-element on which this model-element is based and linked to.
(Inherited from ModelElement.)
Public methodclonedBuilderElement
return the cloned grass-element on which this model-element is based or null.
(Inherited from ModelElement.)
Public methodcog
calculate the center of gravity of the element.
(Inherited from ModelElementStraightLine.)
Public methodcopyFEModelNodeIndexes
update the elements node indexes with those of the underlying finite element. This is necessary when topology of the feb-model changed.
(Inherited from ModelElement.)
Public methoddeformationEnergy
calculates axial deformation- and bending energy stored in the element.
(Inherited from ModelElement.)
Public methoddrawCroSecForceOutput
add lines of cross section forces diagrams to curves or meshes.
(Inherited from ModelElementStraightLine.)
Public methodelementLength(Element)
Calculates length of element n the FE-model.
(Inherited from ModelTruss.)
Public methodelementLength(Model)
calculates the length of the element in the karamba-model. Does not correspond to the real length in case of springs.
(Inherited from ModelTruss.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodfinite_element
Create an feb-element for the feb-model.
(Overrides ModelTrussfinite_element(Model, ListNode, LCCombiCollector, Int32).)
Public methodGetCrossSectionsPositions
Gets positions of cross sections for this ModelElementStraightLine.
(Inherited from ModelElementStraightLine.)
Public methodGetCrossSectionsStates_OLD
Determines the states in predefined discrete points of the element.
(Inherited from ModelElementStraightLine.)
Public methodGetElementState
Return an Element1DState.
(Inherited from ModelElementStraightLine.)
Public methodGetElementStates
Return a collection of Element1DState/.
(Inherited from ModelElementStraightLine.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetObjectData
Serialize ModelElementStraightLine.
(Inherited from ModelElementStraightLine.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodhas_zero_length
return true if the beam has zero length.
(Inherited from ModelElementStraightLine.)
Public methodis_inside
checks whether a straight line element lies partly inside a given Brep.
(Inherited from ModelElementStraightLine.)
Public methodis_vertical
Gets true if element is vertical.
(Inherited from ModelElementStraightLine.)
Public methodlocalCoSys(Element)
create local coo-sys of undeformed element.
(Inherited from ModelElement.)
Public methodlocalCoSys(PointState)
create local coo-sys of deformed element.
(Inherited from ModelElement.)
Public methodlocalCoSys(IReadOnlyListNode)
create local coordinate system with the resultant axial rotation applied.
(Inherited from ModelElementStraightLine.)
Public methodlocalCoSys(IReadOnlyListPoint3)
create local coordinate system with resultant beam rotation about the axis given by the two positions in pos.
(Inherited from ModelElementStraightLine.)
Protected methodlocalCoSys(IReadOnlyListNode, Double)
create local coordinate system and rotate it about longitudinal axis by an angle alpha.
(Inherited from ModelElementStraightLine.)
Public methodlocalCoSys(IReadOnlyListPoint3, Double)
create local coordinate system with rotation alpha about the axis given by the two positions in pos.
(Inherited from ModelElementStraightLine.)
Public methodmaxCroSecForceOutput
Returns the resultant value of the largest cross section force output. Can e.g. be used to scale graphical output.
(Inherited from ModelElementStraightLine.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodmidpoint_disp
return mid-point of deformed element.
(Inherited from ModelElementStraightLine.)
Public methodminmaxEpsX
determine extreme axial strains in model for the currently visible loadcase.
(Inherited from ModelElementStraightLine.)
Public methodnCroSec(Model)
return number of sections for visual display.
(Inherited from ModelElementStraightLine.)
Public methodnCroSec(Model, Element)
return number of sections for visual display. It depends on the user setting for maximum section length.
(Inherited from ModelElementStraightLine.)
Public methodpointsOnAxis
creates point at given maximum distance along the axis.
(Inherited from ModelElementStraightLine.)
Public methodreferencePointOnZAxis
return reference point on local z-axis for local coordinate system being situated at first element node.
(Inherited from ModelElement.)
Public methodresultantCroSecForces
calculates resultant normal force (N), shear force (V) and moment (M) in an element.
(Inherited from ModelElementStraightLine.)
Public methodscaledState
return scaled state at given element, location; superimpose loadcases if lc_num is smaller than 0; unscaled load-case for lc_num % model.numLC if lc_num >= model.numLC (is used for retrieval of beam results).
(Inherited from ModelElement.)
Public methodscaledStateAtT
return scaled state at given element, location; superimpose loadcases if lc_num is smaller than 0; unscaled load-case for lc_num % model.numLC if lc_num >= model.numLC (is used for retrieval of beam results).
(Inherited from ModelElement.)
Public methodset_fe_and_model_index
set the element and fe_element index.
(Inherited from ModelElement.)
Public methodset_is_active
set activation state of element and synchronize it with fe-model. An extra fe-model-generation step is not necessary. Is therefore fast.
(Inherited from ModelElementStraightLine.)
Public methodSetNodeInds(ListInt32)
Set the node indices of a beam or truss.
Public methodSetNodeInds(IReadOnlyListInt32)
set the node indexes of the element.
(Inherited from ModelElement.)
Public methodsnapElement
change the element if nodes snap together according to the given list of node indexes. returns true if the element was completely snapped.
(Inherited from ModelElementStraightLine.)
Public methodsplit_elem
The element with index ind is the seed of an element split. Make all splits in the model that are necessary so that feb-model and model are synchronized.
(Inherited from ModelElement.)
Public methodSurfaceArea
Gets the surface area of the element in [m2].
(Inherited from ModelTruss.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodtotalEccentricity
returns the eccentricity of the element in global coordinates.
(Inherited from ModelElementStraightLine.)
Public methodVolume
Get volume of the element in [m3?].
(Inherited from ModelTruss.)
Public methodweight
return weight of the element in kN.
(Inherited from ModelTruss.)
Public methodx_direction(Node, Node)
Calculate the axial direction vector of the element.
(Inherited from ModelElementStraightLine.)
Public methodx_direction(Point3, Point3)
Calculate the axial direction vector of the element.
(Inherited from ModelElementStraightLine.)
Public methodx_unit_vector
Generates unit vector in axial direction.
(Inherited from ModelElementStraightLine.)
Top
Fields
  NameDescription
Protected field_eloads
the elements loads.
(Inherited from ModelElement.)
Protected field_fe_id
index of element in fe-model, in case of shells it is the index oh the trimesh.
(Inherited from ModelElement.)
Protected field_ind
zero-based index of element in model. The indexes are consecutively numbered from 0 to number of elements.
(Inherited from ModelElement.)
Protected fieldfe_node_ind_
index of fe-nodes of fe-elements in fe-model. Can differ from node_ind in case of joints.
(Inherited from ModelElement.)
Protected fieldnode_inds_
index of nodes of elements after assembly.
(Inherited from ModelElement.)
Top
See Also