modelVolumeForces

Converts pressure into forces on both ends of a cylinder

Extends from Modelica.Mechanics.Translational.Interfaces.PartialCompliant (Compliant connection of two translational 1D flanges).

Information

The gas force in a cylinder is computed as function of the relative distance of the two flanges. It is required that s_rel = flange_b.s - flange_a.s is in the range

    0 ≤ s_rel ≤ L

where the parameter L is the length of the cylinder. If this assumption is not fulfilled, an error occurs.

Parameters

TypeNameDefaultDescription
SI.Lengthbore
RealpiModelica.Constants.pi

Connectors

TypeNameDefaultDescription
Flange_aflange_a (from PartialTwoFlanges)(left) driving flange (flange axis directed into cut plane, e. g. from left to right)
Flange_bflange_b (from PartialTwoFlanges)(right) driven flange (flange axis directed out of cut plane)
Modelica.Blocks.Interfaces.RealInputpressure

Components

TypeNameDefaultDescription
SI.Positions_rel (from PartialCompliant)Relative distance (= flange_b.s - flange_a.s)
SI.Forcef (from PartialCompliant)Force between flanges (positive in direction of flange axis R)
SI.AbsolutePressurep