FixedTranslation

Fixed translation of frame_b with respect to frame_a

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

Component for a fixed translation of frame_b with respect to frame_a, i.e., the relationship between connectors frame_a and frame_b remains constant and frame_a is always parallel to frame_b.

By default, this component is visualized by a cylinder connecting frame_a and frame_b, as shown in the figure below. Note, that the two visualized frames are not part of the component animation and that the animation may be switched off via parameter animation = false.

Parts.FixedTranslation

Parameters (10)

animation

Value: true

Type: Boolean

Description: = true, if animation shall be enabled

r

Value:

Type: Position[3] (m)

Description: Vector from frame_a to frame_b resolved in frame_a

shapeType

Value: "cylinder"

Type: ShapeType

Description: Type of shape

r_shape

Value: {0, 0, 0}

Type: Position[3] (m)

Description: Vector from frame_a to shape origin, resolved in frame_a

lengthDirection

Value: to_unit1(r - r_shape)

Type: Axis

Description: Vector in length direction of shape, resolved in frame_a

widthDirection

Value: {0, 1, 0}

Type: Axis

Description: Vector in width direction of shape, resolved in frame_a

length

Value: Modelica.Math.Vectors.length(r - r_shape)

Type: Length (m)

Description: Length of shape

width

Value: length / world.defaultWidthFraction

Type: Distance (m)

Description: Width of shape

height

Value: width

Type: Distance (m)

Description: Height of shape

extra

Value: 0.0

Type: ShapeExtra

Description: Additional parameter depending on shapeType (see docu of Visualizers.Advanced.Shape)

Inputs (2)

color

Default Value: Modelica.Mechanics.MultiBody.Types.Defaults.RodColor

Type: Color

Description: Color of shape

specularCoefficient

Default Value: world.defaultSpecularCoefficient

Type: SpecularCoefficient

Description: Reflection of ambient light (= 0: light is completely absorbed)

Connectors (2)

frame_a

Type: Frame_a

Description: Coordinate system fixed to the component with one cut-force and cut-torque

frame_b

Type: Frame_b

Description: Coordinate system fixed to the component with one cut-force and cut-torque

Components (2)

world

Type: World

shape

Type: Shape

Used in Examples (23)

FreeBody

Modelica.Mechanics.MultiBody.Examples.Elementary

Free flying body attached by two springs to environment

LineForceWithTwoMasses

Modelica.Mechanics.MultiBody.Examples.Elementary

Demonstrate line force with two point masses using a JointUPS and alternatively a LineForceWithTwoMasses component

PendulumWithSpringDamper

Modelica.Mechanics.MultiBody.Examples.Elementary

Simple spring/damper/mass system

PointGravityWithPointMasses2

Modelica.Mechanics.MultiBody.Examples.Elementary

Rigidly connected point masses in a point gravity field

SpringDamperSystem

Modelica.Mechanics.MultiBody.Examples.Elementary

Simple spring/damper/mass system

SpringMassSystem

Modelica.Mechanics.MultiBody.Examples.Elementary

Mass attached with a spring to the world frame

ThreeSprings

Modelica.Mechanics.MultiBody.Examples.Elementary

3-dim. springs in series and parallel connection

RollingWheelSetDriving

Modelica.Mechanics.MultiBody.Examples.Elementary

Rolling wheel set that is driven by torques driving the wheels

RollingWheelSetPulling

Modelica.Mechanics.MultiBody.Examples.Elementary

Rolling wheel set that is pulled by a force

HeatLosses

Modelica.Mechanics.MultiBody.Examples.Elementary

Demonstrate the modeling of heat losses

UserDefinedGravityField

Modelica.Mechanics.MultiBody.Examples.Elementary

Demonstrate the modeling of a user-defined gravity field

Surfaces

Modelica.Mechanics.MultiBody.Examples.Elementary

Demonstrate the visualization of a sine surface, as well as a torus and a wheel constructed from a surface

Engine1a

Modelica.Mechanics.MultiBody.Examples.Loops

Model of one cylinder engine

Engine1b

Modelica.Mechanics.MultiBody.Examples.Loops

Model of one cylinder engine with gas force and preparation for assembly joint JointRRP

Fourbar1

Modelica.Mechanics.MultiBody.Examples.Loops

One kinematic loop with four bars (with only revolute joints; 5 non-linear equations)

Fourbar2

Modelica.Mechanics.MultiBody.Examples.Loops

One kinematic loop with four bars (with UniversalSpherical joint; 1 non-linear equation)

Fourbar_analytic

Modelica.Mechanics.MultiBody.Examples.Loops

One kinematic loop with four bars (with JointSSP joint; analytic solution of non-linear algebraic loop)

PlanarLoops_analytic

Modelica.Mechanics.MultiBody.Examples.Loops

Mechanism with three planar kinematic loops and one degree-of-freedom with analytic loop handling (with JointRRR joints)

GyroscopicEffects

Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects

Demonstrates that a cylindrical body can be replaced by Rotor1D model

PrismaticConstraint

Modelica.Mechanics.MultiBody.Examples.Constraints

Body attached by one spring and two prismatic joints or constrained to environment

RevoluteConstraint

Modelica.Mechanics.MultiBody.Examples.Constraints

Body attached by one spring and revolute joint or constrained to environment

SphericalConstraint

Modelica.Mechanics.MultiBody.Examples.Constraints

Body attached by one spring and spherical joint or constrained to environment

UniversalConstraint

Modelica.Mechanics.MultiBody.Examples.Constraints

Body attached by one spring and universal joint or constrained to environment

Used in Components (13)

SystemWithStandardBodies

Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2

For comparison purposes, an equivalent model with Bodies instead of PointMasses

Cylinder

Modelica.Mechanics.MultiBody.Examples.Loops.Utilities

Cylinder with rod and crank of a combustion engine

CylinderBase

Modelica.Mechanics.MultiBody.Examples.Loops.Utilities

One cylinder with analytic handling of kinematic loop

Engine1bBase

Modelica.Mechanics.MultiBody.Examples.Loops.Utilities

Model of one cylinder engine with gas force

GearConstraint

Modelica.Mechanics.MultiBody.Joints

Ideal 3-dim. gearbox (arbitrary shaft directions)

RollingWheelSet

Modelica.Mechanics.MultiBody.Joints

Joint (no mass, no inertia) that describes an ideal rolling wheel set (two ideal rolling wheels connected together by an axis)

JointUSR

Modelica.Mechanics.MultiBody.Joints.Assemblies

Universal - spherical - revolute joint aggregation (no constraints, no potential states)

JointUSP

Modelica.Mechanics.MultiBody.Joints.Assemblies

Universal - spherical - prismatic joint aggregation (no constraints, no potential states)

JointSSR

Modelica.Mechanics.MultiBody.Joints.Assemblies

Spherical - spherical - revolute joint aggregation with mass (no constraints, no potential states)

JointSSP

Modelica.Mechanics.MultiBody.Joints.Assemblies

Spherical - spherical - prismatic joint aggregation with mass (no constraints, no potential states)

BodyShape

Modelica.Mechanics.MultiBody.Parts

Rigid body with mass, inertia tensor, different shapes for animation, and two frame connectors (12 potential states)

BodyBox

Modelica.Mechanics.MultiBody.Parts

Rigid body with box shape. Mass and animation properties are computed from box data and density (12 potential states)

BodyCylinder

Modelica.Mechanics.MultiBody.Parts

Rigid body with cylinder shape. Mass and animation properties are computed from cylinder data and density (12 potential states)