Set-up of Co-ordinate Tables
- Last UpdatedDec 01, 2023
- 2 minute read
The tables for frame and longitudinal positions are defined via an ordinary text file in a special format, described below. This text file is read by a function of the hull utility inithull and if the input is correct a resulting table object __SBH_GENTAB__ will be stored in the structure data bank (associated with the environment variable SB_OGDB). The name of the file may be arbitrary.
The input file is organized in "record types" with identical layout as described below. The format is free but it is recommended to have one record per line. The line width is limited to 80 characters. The number of records is unrestricted.
Record layout:
<type> <F_No> <step_No> <L_No> <F_coord> <step_coord>
The interpretation of the terms are:
|
<type> |
The type of coordinates: = 20: Frame coordinates = 30: Horizontal longitudinal positions (along y-axis) = 40: Vertical longitudinal positions (along z-axis). |
|
<F_No> |
Number of the frame, which the First co-ordinate (<F_coord>) is associated with. |
|
<step_No> |
Steps by which the numbers should be incremented. |
|
<L_No> |
Number of the frame, that should be the last number assigned a coordinate by this record |
|
<F_coord> |
The coordinate value assigned to <F_No>. |
|
<step_coord> |
Steps in coordinates. |
This should be interpreted in the following way:
Frame <F_No> will get co-ordinate <F_coord>,
frame <F_No>+<step_No> will get co-ordinate <F_coord>+<step_coord>,
The order between the records is arbitrary but it is recommended to give record types of the same type in one sequence.
Example:
The example shows a simple case with constant partitions between both frame and longitudinal positions. Frames with partition 745 start in frame number -10 at the x-co-ordinate -7450 and the last frame number is 295. Longitudinal positions are as in the figure above with partition 750 and 675, respectively.
|
20 |
-10 |
1 |
295 |
-7450.0 |
745.0 |
|
30 |
0 |
1 |
15 |
0.0 |
750.0 |
|
40 |
18 |
1 |
31 |
600.0 |
675.0 |
In addition to the updated table object its contents will also be listed. If inithull has been run via the Job Launcher (JL) the list file will be available according to the standard for runs via JL. If inithull has been run directly the resulting file will be stored in the print directory of the current project with the file extension. lst added to the input file name.