User's Guide > Creo Simulate: Items > Creo Simulate Beams
Creo Simulate Beams
 
A beam is a one-dimensional idealization that, in three dimensions, represents a structure whose length is much greater than its other two dimensions.
The functions described in this section provide read and write access to the data and contents of beam items. Beams use the ProType field in the ProMechitem structure as PRO_SIMULATION_BEAM.
Functions Introduced:
The function ProMechbeamdataAlloc() allocates the memory for the beam data handle.
The function ProMechbeamTypeGet() returns the types of beams.
The different types of beams are as follows:
PRO_MECH_BEAM_BEAM—Specifies a beam. Use the function ProMechbeamBeamdataGet() to access the data structure for the beam. Use the function ProMechbeamBeamdataSet() to modify the beam.
PROMECH_BEAM_TRUSS—Specifies a truss. Use the function ProMechbeamTrussdataGet() to access the data structure for the truss. Use the function ProMechbeamTrussdataSet() to modify the truss.
The function ProMechbeamMaterialIdGet() returns the ID of the material used to create the beam. Use the function ProMechbeamMaterialIdSet() to set the material ID for the beam.
The function ProMechbeamReferencesGet() returns the start and end points of the beam or a curve or surface of the beam. Use the function ProMechbeamReferencesSet() to set the beam references.
The function ProMechbeamsideAlloc() allocates the memory for the beam side data handle.
The function ProMechbeamdataCompcrvrelGet() returns a boolean that indicates whether the beam releases are applied only to the ends of the selected composite curve or to the ends of the individual curves. Use the function ProMechbeamdataCompcrvrelSet() to set whether the beam releases are to be applied only to the ends of the selected composite curve or to the ends of the individual curves.
The function ProMechbeamdataSidesGet() returns a structure containing the cross section properties for beam elements, the orientation properties for angle and offsets, and the degrees of freedom at each beam end. Use the function ProMechbeamdataSidesSet() to set the cross section properties and orientation properties of the beam data.
The function ProMechbeamsideOrientGet() returns the orientation ID for the specified beam elements. Use the function ProMechbeamsideOrientSet() to set the orientation ID.
The function ProMechbeamsideReleaseGet() returns the beam release ID for the specified beam elements. Use the function ProMechbeamsideReleaseSet() to set the beam release ID.
The function ProMechbeamsideSectionGet() returns the cross section ID for the specified beam elements. Use the function ProMechbeamsideSectionSet() to set the cross section ID.
The function ProMechbeamsideFree() releases the memory assigned to the beam side handle.
The function ProMechbeamsideProarrayFree() releases the memory assigned to a ProArray of beam side handles.
The function ProMechbeamdataStressrecoveryGet() returns a boolean that indicates whether stress recovery is included while creating the beam. If this option is specified as true, you can access the beam stress at a specific location on the beam section. Use the function ProMechbeamdataStressrecoverySet() to set the value of the boolean.
The function ProMechbeamdataXyshearGet() returns the shear relief coefficient due to taper for the XY planes. Use the function ProMechbeamdataXyshearSet() to set the shear relief coefficient relative to the XY plane.
The function ProMechbeamdataXzshearGet() returns the shear relief coefficient due to taper for the XZ planes. Use the function ProMechbeamdataXzshearSet() to set the shear relief coefficient relative to the XZ plane.
The function ProMechbeamdataYdirectionGet() returns the orientation of the XY plane of a beam by defining its Y-direction. Use the function ProMechbeamdataYdirectionSet() to set the Y-direction of the beam.
The function ProMechbeamdataFree() releases the memory assigned to the beam data handle.
The function ProMechtrussdataAlloc() allocates the memory for the truss data handle.
The function ProMechtrussdataSectionGet() returns the cross section ID for the specified truss elements. Use the function ProMechtrussdataSectionSet() to set the beam section ID for the truss data.
The function ProMechtrussdataFree() releases the memory assigned to the truss data handle.
這是否有幫助?