modelEngineGasForce

Example for gas force computation

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

Simple model to test gasForce element used in some multi-body examples, see MultiBody.Examples.Loops.

To generate the pressure-stroke diagram, simulate the example for 1 s and plot gasForce.press over gasForce.s_rel.

Components

TypeNameDefaultDescription
Modelica.Mechanics.Translational.Components.Fixedfixed
Modelica.Mechanics.Translational.Components.Massmass
Modelica.Mechanics.Translational.Sources.Positionposition
MultiBody.Examples.Loops.Utilities.GasForce2gasForce
Modelica.Blocks.Sources.Sinesine