functionsineSurface
Function defining the characteristic of a moving sine in three dimensions
Extends from Modelica.Mechanics.MultiBody.Interfaces.partialSurfaceCharacteristic (Interface for a function returning surface characteristics).
Information
Function defining the characteristics of a moving sine in three dimensions. This function is used in example Elementary.Surfaces.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nu (from partialSurfaceCharacteristic) | Number of points in u-Dimension | |
| Integer | nv (from partialSurfaceCharacteristic) | Number of points in v-Dimension | |
| Boolean | multiColoredSurface (from partialSurfaceCharacteristic) | false | = true: Color is defined for each surface point |
| Real | x_min | Minimum value of x | |
| Real | x_max | Maximum value of x | |
| Real | y_min | Minimum value of y | |
| Real | y_max | Maximum value of y | |
| Real | z_min | Minimum value of z | |
| Real | z_max | Maximum value of z | |
| Real | wz | Factor for angular frequency |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Position[nu,nv] | X (from partialSurfaceCharacteristic) | [nu,nv] positions of points in x-Direction resolved in surface frame | |
| SI.Position[nu,nv] | Y (from partialSurfaceCharacteristic) | [nu,nv] positions of points in y-Direction resolved in surface frame | |
| SI.Position[nu,nv] | Z (from partialSurfaceCharacteristic) | [nu,nv] positions of points in z-Direction resolved in surface frame | |
| Real[if multiColoredSurface then nu else 0,if multiColoredSurface then nv else 0,3] | C (from partialSurfaceCharacteristic) | [nu,nv,3] Color array, defining the color for each surface point |