Versions Compared

Key

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

...

When Quaestor calculates this function, it determines the value Frame (which is user input). This value is then compared to the values of the given column for X (which is the column Frame of the object Hull), and an interpolated value for Rel_B with respect to the input Frame is assigned to the parameter Intpol_Rel_B. Notice that an @ is used to identify the data within the object.

...

To calculate the waterplane are for a certain ship, we would like Quaestor to integrate the width with respect to X. The dimensionless width table is already present in our object Hull, let's use it in the integration.

...

  • 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. 

...