modelCuboidContactBody

Predefined cuboid body with contact surfaces

Information

<!DOCTYPE html><html>
<p>This model defines a cuboid body that can collide with every surface. Contact surfaces can be enabled seperately. The enumeration corresponds to the chosen directions and dimensions and is displayed in the Figure.</p>
<p><br/><br/><img src="resources/IdealizedContact/Images/cuboidContactBody.png"/></p>
</html>

Parameters

TypeNameDefaultDescription
BooleanenableSurface1true= true, if contact surface 1 shall be enabled
BooleanenableSurface2true= true, if contact surface 2 shall be enabled
BooleanenableSurface3true= true, if contact surface 3 shall be enabled
BooleanenableSurface4true= true, if contact surface 4 shall be enabled
BooleanenableSurface5true= true, if contact surface 5 shall be enabled
BooleanenableSurface6true= true, if contact surface 6 shall be enabled
SI.Densitydensity7850density of the material
SI.Lengthlength0.04length of the cuboid
SI.Lengthwidth0.02width of the cuboid
SI.Lengthheight0.001height of the cuboid
Modelica.Mechanics.MultiBody.Types.AxislengthDirection{1, 0, 0}definition of the length direction
Modelica.Mechanics.MultiBody.Types.AxiswidthDirection{0, 0, 1}definition of the width direction
Modelica.Mechanics.MultiBody.Types.AxisheightDirectionabs(cross(lengthDirection, widthDirection))
Booleananimationtrue= true, if animation of the body shall be enabled
Modelica.Mechanics.MultiBody.Types.Colorcolor{0, 0, 255}color of shape
RealpiModelica.Constants.pi
contact surface animation
BooleansurfaceAnimationtrue= true, if animation of contact surfaces shall be enabled
BooleansurfaceAnimation_BCStrue= true, if animation of body coordinate system of contact surfaces shall be enabled
Modelica.Mechanics.MultiBody.Types.ColorsurfaceColor{255, 128, 0}color of the contact surface

Connectors

TypeNameDefaultDescription
Modelica.Mechanics.MultiBody.Interfaces.Frame_aframe_acenter of mass
Interfaces.Contact_acontact_a1
Interfaces.Contact_acontact_a2
Interfaces.Contact_acontact_a3
Interfaces.Contact_acontact_a4
Interfaces.Contact_acontact_a5
Interfaces.Contact_acontact_a6

Components

TypeNameDefaultDescription
Modelica.Mechanics.MultiBody.Parts.BodyShapebodyShape
ContactSurfaces.RectangularPlaneContactSurfacerectangularPlaneContactSurface1
Modelica.Mechanics.MultiBody.Parts.FixedTranslationfixedTranslation
Modelica.Mechanics.MultiBody.Parts.FixedRotationfixedTranslation1
ContactSurfaces.RectangularPlaneContactSurfacerectangularPlaneContactSurface2
ContactSurfaces.RectangularPlaneContactSurfacerectangularPlaneContactSurface3
Modelica.Mechanics.MultiBody.Parts.FixedTranslationfixedTranslation2
Modelica.Mechanics.MultiBody.Parts.FixedRotationfixedTranslation3
ContactSurfaces.RectangularPlaneContactSurfacerectangularPlaneContactSurface4
ContactSurfaces.RectangularPlaneContactSurfacerectangularPlaneContactSurface5
Modelica.Mechanics.MultiBody.Parts.FixedTranslationfixedTranslation5
Modelica.Mechanics.MultiBody.Parts.FixedRotationfixedTranslation4
ContactSurfaces.RectangularPlaneContactSurfacerectangularPlaneContactSurface6