modelSurfaces
Demonstrate the visualization of a sine surface, as well as a torus and a wheel constructed from a surface
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This example demonstrates the use of the Surface visualizer that visualizes a moving, parameterized surface. The "sine-wave" surface is a direct application of the surface model. Furthermore, the "torus" surface is an instance of Torus, the "wheel" surface is an instance of VoluminousWheel, and the "pipeWithScalarField surface is an instance of PipeWithScalarField. All latter visual shapes are constructed with the surface model. The following image shows a screen-shot of this example model:
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | x_min | -1 | Minimum value of x |
| Real | x_max | +1 | Maximum value of x |
| Real | y_min | -1 | Minimum value of y |
| Real | y_max | +1 | Maximum value of y |
| Real | z_min | 0 | Minimum value of z |
| Real | z_max | 1 | Maximum value of z |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | wz | time | |
| Modelica.Mechanics.MultiBody.Visualizers.Advanced.Surface | surface | ||
| World | world | ||
| Visualizers.Torus | torus | ||
| Joints.Prismatic | prismatic | ||
| Translational.Sources.Position | position | ||
| Blocks.Sources.Sine | sine | ||
| Parts.FixedTranslation | fixedTranslation1 | ||
| Parts.FixedTranslation | fixedTranslation2 | ||
| Visualizers.VoluminousWheel | wheel | ||
| Visualizers.PipeWithScalarField | pipeWithScalarField | ||
| Parts.FixedTranslation | fixedTranslation3 |