Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  In the class Geometry, add the following relation  

 

 

Which is the position in meters along the longitudinal direction of the ship. By now you should know a proper dimension, reference and determined by value should be provided. 

...

 In the Top Goals class, add the following relation

 

 

which relationwhich is the waterplane area in square meters (m^2).

...

First, we take a look at the arguments after Hull. Data within the object Hull Hull will be used in the integration, but yet it only contains dimensionless frame numbers and dimensionless widths. By putting (@X, @B @B_Frame, Lpp, B) behind it, you ask Quaestor to calculate X and B_Frame using data from within Hull, using Lpp and B from outside Hull and add all these parameters to the object Hull. You do actually use the object Hull as a function to calculate other parameters. This is a very powerful ability of Quaestor (see also QuaestorSyntax).

...

  • HULL(..) is the object from which data will be used, now containing the columns X and B_frame
  • 2 is the number of dimensions = always 2 using INTEGR.
  • @X refers to the column that will be used as the parameter X in the integration: X
  • @B_Frame refers to the column that will be used as the parameter Y in the integration: B_Frame
  • 2 is the mode of integration, either Riemann (0), Trapezium (1) or Simpson (2). The latter is chosen here.
  • X_from=0 and X_to=Lpp are the parameters between wich will be integrated.

     Run a solution for the waterplane area, using the process manager. 

...