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
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Length | bore | ||
| Real | pi | Modelica.Constants.pi |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Flange_a | flange_a (from PartialTwoFlanges) | (left) driving flange (flange axis directed into cut plane, e. g. from left to right) | |
| Flange_b | flange_b (from PartialTwoFlanges) | (right) driven flange (flange axis directed out of cut plane) | |
| Modelica.Blocks.Interfaces.RealInput | pressure |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Position | s_rel (from PartialCompliant) | Relative distance (= flange_b.s - flange_a.s) | |
| SI.Force | f (from PartialCompliant) | Force between flanges (positive in direction of flange axis R) | |
| SI.AbsolutePressure | p |