With the Flat surface option not selected, the surface geometry can be defined either using data points (discussed here) or externally (discussed in the next section). The Data source drop-down in the tire component properties provides three options to define the surface data points: inline, using a file, or using an attachment. In each case, data points are given as a matrix in which the first column and first row represent discrete points on two of the global coordinate axes.
With the inline option, the matrix is entered in the GUI. To change the matrix dimensions, right-click on the text input field and select Edit Matrix Dimensions.
Alternatively, a CSV, XLS, or XLSX file can be used to define the matrix by choosing file or attachment for the Data source parameter and selecting the file or attachment as the Surface data parameter.
The interpretation of the data points matrix depends on the selected vector for direction of gravity, , in the Multibody Settings. Different interpretations are summarized below
|
Gravity parallel to x-axis
|
|
|
|
Gravity parallel to y-axis
|
|
|
|
Gravity parallel to z-axis
|
|
|
For the given surface data points, an iterative algorithm calculates the surface normal vector, , and tire center distance from the surface,
The integer in the properties specifies the number of iterations. The recommended value is from 1 to 5 to get a reasonable trade-off between accuracy and performance.
To clarify the employed algorithm, the following describes the steps of the algorithm for :
1. Iteration 1:
1) Project the tire center point onto the given surface to find . This requires interpolation of the provided surface data points. The interpolation smoothness is determined by the smoothness drop-down in the properties, as shown below. We suggest using the cubic splines to interpolate smoothly between the surface data points.
2) Create a tangent plane to the surface directly below the tire center. The radius of this tangent plane is controlled by the parameter in the properties.
3) Project the vector from the surface point to the tire center point onto the surface normal vector to get the distance.
2. Iteration 2a:
1) Replace tire center with an intermediate point, .
2) Project onto the given surface to obtain . Again, this requires interpolation with smoothness defined by the smoothness drop-down in the properties.
3) Repeat the tangent plane calculation with the vertical projection of this point. Again, the radius of this tangent plane is controlled by .
3. Iteration 2b:
1) Project the vector from the surface point to the tire center point onto the surface normal vector to get the distance.
After these steps for are completed, the unit vector shown in the figure above is chosen as the surface normal vector, , and is taken as the tire center distance from the surface, .