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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Mechanics.Translational.Components.Fixed | fixed | ||
| Modelica.Mechanics.Translational.Components.Mass | mass | ||
| Modelica.Mechanics.Translational.Sources.Position | position | ||
| MultiBody.Examples.Loops.Utilities.GasForce2 | gasForce | ||
| Modelica.Blocks.Sources.Sine | sine |