...
In this third tutorial, we you will store the waterline data of the previous tutorial in a new object within the object Ships
. We You will perform linear and quadratic interpolation to obtain the relative width of unknown frames at the waterline. This will be checked with the exact solution, and the error is to be calculated. Some hydrostatic calculations will be performed: by numerical integration the waterplane area and the moment of inertia of this area are calculated. The stability GM will be calculated and compared to other ships using the least squares method.
Start
For this tutorial, the knowledgebase from tutorial 2 is used. You can either use your own (verified) knowledgebase, or download it here: [Tutorial 3 Start]
The solution Waterline Waterline
containing the shape of the dimensionless waterline, has been created in tutorial 2. In order to store this data and use it for further operations, the contents will be placed in a new object within the object Ships.
...
Geometry
, create a new object (i.e. a parameter of type Object) called Hull
. As we want to store static data in this object, make sure it is determined by Value from Object/Database (as described in tutorial 2)....
...
Ships
(under Dataset). In the Knowledge Browser, right click the parameter ...
Hull
and select Parameter to Dataset (or press Ctrl+O or drag ...
Hull
tot ...
Ships
). ...
Ships
.Let's add the content of the Waterline
object in the Waterline
solution to the object Hull
.
...
...
Waterline
in the tree of the Workbase, select the ...
Waterline
object (so the tree node in the solution), right click in the table of the Workbase and select All to clipboard (or F4). Paste the data (both Frame and Rel_B) in the object Hull (answer Yes to all for including the parameters in the Hull object).When you are done, you will have a Ships object containing data in a Hull object. The Hull object should be part of the Ships object because the Ships object is the database entry point. And because you want to use all Waterline data as one set, it should be in one Hull object (or as a TeLiTab value as an alternative).
...