WOLFRAM SYSTEMMODELER

FixedTranslation

Fixed translation of frame_b with respect to frame_a

Wolfram Language

In[1]:=
Click for copyable input
SystemModel["Modelica.Mechanics.MultiBody.Parts.FixedTranslation"]
Out[1]:=

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

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

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)

Components (2)

world

Type: World

Description:

shape

Type: Shape

Description:

Used in Examples (26)

FreeBody

Free flying body attached by two springs to environment

LineForceWithTwoMasses

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

PendulumWithSpringDamper

Simple spring/damper/mass system

PointGravityWithPointMasses2

Rigidly connected point masses in a point gravity field

SystemWithStandardBodies

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

SpringDamperSystem

Simple spring/damper/mass system

SpringMassSystem

Mass attached with a spring to the world frame

ThreeSprings

3-dim. springs in series and parallel connection

RollingWheelSetDriving

Rolling wheel set that is driven by torques driving the wheels

RollingWheelSetPulling

Rolling wheel set that is pulled by a force

HeatLosses

Demonstrate the modeling of heat losses

UserDefinedGravityField

Demonstrate the modeling of a user-defined gravity field

Surfaces

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

Engine1a

Model of one cylinder engine

Engine1b

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

Engine1b_analytic

Model of one cylinder engine with gas force and analytic loop handling

Fourbar1

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

Fourbar2

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

Fourbar_analytic

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

PlanarLoops_analytic

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

Engine1bBase

Model of one cylinder engine with gas force

GyroscopicEffects

Demonstrates that a cylindrical body can be replaced by Rotor1D model

PrismaticConstraint

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

RevoluteConstraint

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

SphericalConstraint

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

UniversalConstraint

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

Used in Components (13)

Cylinder

Cylinder with rod and crank of a combustion engine

CylinderBase

One cylinder with analytic handling of kinematic loop

Cylinder_analytic_CAD

One cylinder with analytic handling of kinematic loop and CAD visualization

Cylinder

Cylinder type

GearConstraint

Ideal 3-dim. gearbox (arbitrary shaft directions)

RollingWheelSet

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

JointUSR

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

JointUSP

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

JointSSR

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

JointSSP

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

BodyShape

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

BodyBox

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

BodyCylinder

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