%CONSTRUCT_PointBasedOnAbsoluteVolume%

Computes a point that defines a given volume inside a closed structure

Given a closed geometry (such as a tank) by a list of ALIAS names, this functionally places a point on a given axis. The point and the given axis describe a plane. The plane shall subdivide the closed structure such that the required absolute volume is below the plane.
begin_construct{} "x_Reference" = CONSTRUCT(%CONSTRUCT_PointBasedOnAbsoluteVolume%, axis_x, axis_y, axis_z, absoluteVolume, "alias1", "alias2", ...) end_construct
(axis_x, axis_y, axis_z) describe the axis that defines the normal direction of the (cutting) plane absoluteVolume is the absolute volume required by the cutting plane, hence the unit is m^3 Remarks:
  • The subroutine cuts the given geometry by the described plane, and calculates the volume in the shape below the plane
  • We use the principal that total volume of a 3D shape is equal to the net flux at its surface We cut the mesh with a plane, use the resulting closed geometry below the plane.
  • \begin{align} V \approx \sum\limits_{\Delta} \left( r|_{COG of \Delta} \times T \times n_{\Delta} \times A_{\Delta} \right) \end{align}