Heat, fluids & energy

Buoyancy and Stability Lab

Floats a long hull seen end-on in still water: a box, V-hull, round bilge or custom symmetric hull, loaded as a solid body or as a vessel with up to three cargo blocks. Returns the upright draft and metacentric height GM in closed form, the righting lever GZ around the full circle on a 5-degree grid (each heel with its own waterline), every balanced attitude with its kind, where the hull comes to rest when released (floats upright, heels, lolls or capsizes), the range of stability of the weaker side and the areas under the curve. Five challenges are scored for you. For learning how shape, load and the centre of gravity decide whether a floating body stays upright.

Last updated

Calculator overview

Inputs and outputs

This summary comes from the calculator's published input and output contract.

Inputs

Width at level 7 (required)
About this input

The Custom hull's width at level 7 (height 7 x D/8), in percent of the beam, from 0 to 100 (the widest at least 1). Used only for the Custom shape; set with the handles on the drawing.

Unit % Default 100 Range 0 to 100
Width at level 8 (required)
About this input

The Custom hull's width at level 8 (height 8 x D/8), in percent of the beam, from 0 to 100 (the widest at least 1). Used only for the Custom shape; set with the handles on the drawing.

Unit % Default 100 Range 0 to 100
Density ratio (required)
About this input

s, the solid body's density over the water's, from 0.05 to 0.95: the share of the section a solid body floats with under water. Used only for a Solid body.

Default 0.5 Range 0.05 to 0.95
Width at level 6 (required)
About this input

The Custom hull's width at level 6 (height 6 x D/8), in percent of the beam, from 0 to 100 (the widest at least 1). Used only for the Custom shape; set with the handles on the drawing.

Unit % Default 100 Range 0 to 100
Width at level 3 (required)
About this input

The Custom hull's width at level 3 (height 3 x D/8), in percent of the beam, from 0 to 100 (the widest at least 1). Used only for the Custom shape; set with the handles on the drawing.

Unit % Default 90 Range 0 to 100
Width at level 4 (required)
About this input

The Custom hull's width at level 4 (height 4 x D/8), in percent of the beam, from 0 to 100 (the widest at least 1). Used only for the Custom shape; set with the handles on the drawing.

Unit % Default 95 Range 0 to 100
Width at level 5 (required)
About this input

The Custom hull's width at level 5 (height 5 x D/8), in percent of the beam, from 0 to 100 (the widest at least 1). Used only for the Custom shape; set with the handles on the drawing.

Unit % Default 98 Range 0 to 100
Hull mass (required)
About this input

The vessel's own mass per metre of length, in t per m, from 0.01 to 1000. Used only for a Vessel.

Unit t/m Default 15 Range 0.01 to 1000
Hull shape (required)
About this input

The shape of the hull section, chosen with the chips above the drawing: Box, V-hull, Round bilge (a polygonal bilge in the lower half) or Custom (your own nine widths).

Default Round bilge Allowed Box, V-hull, Round bilge, Custom
Water (required)
About this input

Sea water (1.025 t per cubic metre) or Fresh water (1.000).

Default Sea water Allowed Sea water, Fresh water
Hull centre of gravity (required)
About this input

The vessel's own centre of gravity above the keel, on the centreline, in m, from 0 to twice the depth. Used only for a Vessel.

Unit m Default 1.9 Range 0 to 40
Your prediction (challenge 1) (required)
About this input

Challenge 1 only: your prediction of how the barge will float (Floats upright, Leans to one side or Capsizes). The results appear once you predict.

Default Not yet predicted Allowed Not yet predicted, Floats upright, Leans to one side, Capsizes
Beam (required)
About this input

B, the full width of the hull at its widest level, in m, from 0.5 to 30.

Unit m Default 8 Range 0.5 to 30
Depth (required)
About this input

D, the height from the keel to the deck, in m, from 0.5 to 20.

Unit m Default 4 Range 0.5 to 20
Width at level 2 (required)
About this input

The Custom hull's width at level 2 (height 2 x D/8), in percent of the beam, from 0 to 100 (the widest at least 1). Used only for the Custom shape; set with the handles on the drawing.

Unit % Default 82 Range 0 to 100
Number of cargo blocks (required)
About this input

How many cargo blocks are in use, 0 to 3 (Add and Remove on the drawing). Used only for a Vessel.

Default 1 Range 0 to 3
Block 1 height (required)
About this input

The centre of cargo block 1 above the keel, in m, from 0 to 40 (drag the block on the drawing).

Unit m Default 4.5 Range 0 to 40
Block 2 height (required)
About this input

The centre of cargo block 2 above the keel, in m, from 0 to 40 (drag the block on the drawing).

Unit m Default 4.5 Range 0 to 40
Block 3 position across (required)
About this input

The centre of cargo block 3 across the hull, positive to starboard, in m, from -30 to 30 (drag the block on the drawing).

Unit m Default 0 Range -30 to 30
Body type (required)
About this input

Vessel with cargo (the hull's own mass and centre of gravity plus up to three cargo blocks) or Solid body (a log of uniform density).

Default Vessel with cargo Allowed Vessel with cargo, Solid body
Block 1 position across (required)
About this input

The centre of cargo block 1 across the hull, positive to starboard, in m, from -30 to 30 (drag the block on the drawing).

Unit m Default 1 Range -30 to 30
Block 2 position across (required)
About this input

The centre of cargo block 2 across the hull, positive to starboard, in m, from -30 to 30 (drag the block on the drawing).

Unit m Default -1 Range -30 to 30
Challenge number (required)
About this input

Selects a challenge: 0 for none, 1 to 5 for a predefined challenge, which fixes the settings except the inputs it leaves to you.

Default 0 Range 0 to 5
Width at level 0 (required)
About this input

The Custom hull's width at level 0 (height 0 x D/8), in percent of the beam, from 0 to 100 (the widest at least 1). Used only for the Custom shape; set with the handles on the drawing.

Unit % Default 45 Range 0 to 100
Width at level 1 (required)
About this input

The Custom hull's width at level 1 (height 1 x D/8), in percent of the beam, from 0 to 100 (the widest at least 1). Used only for the Custom shape; set with the handles on the drawing.

Unit % Default 70 Range 0 to 100
Block 3 mass (required)
About this input

The mass of cargo block 3 per metre of length, in t per m, from 0 to 1000.

Unit t/m Default 1 Range 0 to 1000
Block 3 height (required)
About this input

The centre of cargo block 3 above the keel, in m, from 0 to 40 (drag the block on the drawing).

Unit m Default 4.5 Range 0 to 40
Block 1 mass (required)
About this input

The mass of cargo block 1 per metre of length, in t per m, from 0 to 1000.

Unit t/m Default 2.5 Range 0 to 1000
Block 2 mass (required)
About this input

The mass of cargo block 2 per metre of length, in t per m, from 0 to 1000.

Unit t/m Default 2 Range 0 to 1000

Outputs

Model Status
About this output

OK, a CHECK message (the load sinks the hull or barely touches the water, or a solve did not settle), or a NOT VALID message naming the input to fix.

No unit declared
Metacentric radius (BM)
About this output

BM, the height of the metacentre above the centre of buoyancy: w^3/(12 A) for the waterline width w and the area A under water, in m.

Unit m
Model version
About this output

The model version.

No unit declared
Range of stability (weaker side)
About this output

How far the hull can heel on its weaker side before the righting lever vanishes, in degrees; 0 when that side has no positive lever.

Unit deg
Formula module versions
About this output

The formula modules the model is built from, with their versions.

No unit declared
Metacentric height (GM)
About this output

GM = KM - KG, in m: positive when the hull is stable upright, negative when upright is unstable.

Unit m
The loads: the hull (or the solid body), the cargo blocks and the total, with the centre of each
About this output

The loads: the hull or the solid body, each cargo block in use and the total, with the mass and the centre of each.

No unit declared
Upright hydrostatics at ten drafts, D/10 to D
About this output

Upright hydrostatics at ten drafts from D/10 to D: displacement, KB, BM and KM.

No unit declared
Heel of the largest lever
About this output

The heel of that largest lever on the 5-degree grid, in degrees (negative on the port side).

Unit deg
Metacentre above the keel (KM)
About this output

KM = KB + BM, the height of the metacentre above the keel, in m.

Unit m
Largest righting lever (weaker side)
About this output

The largest righting lever GZ on the weaker side of the curve, in m.

Unit m
Where it comes to rest: the resting attitude, its lever, waterline and centre of buoyancy
About this output

The resting attitude: its heel, lever, waterline height and centre of buoyancy (the film's last frame).

No unit declared
Upright freeboard
About this output

D - T, the height of the deck above the upright waterline, in m.

Unit m
Upright draft
About this output

T, how deep the upright hull sits in the water, from the keel to the waterline, in m.

Unit m
Upright stability
About this output

Stable, Neutral or Unstable upright, from the sign of GM (within one part in a billion of the hull size it reads Neutral).

No unit declared
Weaker side
About this output

Starboard or Port: the side whose stability vanishes first.

No unit declared
Water used
About this output

The water the calculation used.

No unit declared
Share of the section under water
About this output

The share of the hull's section area under water, in percent.

Unit %
How it floats
About this output

How it floats: Floats upright, Heels (an off-centre load), Lolls (upright is unstable but it finds a new balance) or Capsizes (rests past 90 degrees).

No unit declared
Resting heel
About this output

Where the hull comes to rest when released from upright, in degrees (positive with the starboard side down; 180 is upside down).

Unit deg
Resting-heel residual
About this output

The righting lever left at the resting heel after the refinement, in m: a convergence check.

Unit m
Stable attitudes found
About this output

How many of those balanced attitudes are stable.

No unit declared
The righting lever curve: every heel on the 5-degree grid from -180 to 180 degrees, with the waterline and the centre of buoyancy in the earth frame
About this output

The righting lever curve: for every heel from -180 to 180 degrees in 5-degree steps, GZ, the waterline height and the centre of buoyancy in the earth frame, the wall-sided lever (to 45 degrees) and the righting moment. The roll film plays one row per frame.

No unit declared
Challenge result
About this output

No challenge selected, MET or NOT MET.

No unit declared
Challenge score
About this output

100 when the selected challenge is met, else 0.

No unit declared
Each side of the curve: the largest lever and its heel, where stability vanishes, and the areas under the curve (on a 5-degree grid)
About this output

Each side of the curve (starboard and port): the largest lever and its heel, where stability vanishes, and the areas under the curve to 30 and 40 degrees and between them.

No unit declared
Displacement
About this output

The mass of water the hull pushes aside, equal to the floating mass, in t per m of length.

Unit t/m
Density ratio used
About this output

The density ratio the calculation used.

No unit declared
Challenge: the value scored
About this output

The value the challenge scores: the verdict code (challenge 1), the resting heel (2), the density ratio (3), the range of stability (4) or block 1's position across (5).

No unit declared
Centre of buoyancy above the keel (KB)
About this output

KB, the height of the upright centre of buoyancy (the centre of the area under water) above the keel, in m.

Unit m
Body type used
About this output

The body type the calculation used.

No unit declared
Cargo blocks used
About this output

The number of cargo blocks the calculation used.

No unit declared
Challenge goal
About this output

The goal of the selected challenge.

No unit declared
Challenge feedback
About this output

Feedback on the selected challenge: the prompt to predict, the met text, or a hint.

No unit declared
Waterline solve residual
About this output

The largest relative area error of the waterline solves (all 87): a convergence check, normally far below 1E-10.

No unit declared
Hull centre of gravity used
About this output

The hull centre of gravity the calculation used, m.

Unit m
Depth used
About this output

The depth the calculation used, m.

Unit m
Hull mass used
About this output

The hull mass the calculation used, t per m.

Unit t/m
The hull section: the 18 vertices in the hull's own frame (the keel point at the origin) and the width of each vertex's level
About this output

The hull section as 18 vertices in the hull's own frame (the keel point at the origin, across positive to starboard, up from the keel) with the width of each vertex's level.

No unit declared
Hull shape used
About this output

The hull shape the calculation used (a challenge may fix it).

No unit declared
Beam used
About this output

The beam the calculation used, m.

Unit m
Balanced attitudes found
About this output

How many balanced attitudes (zeros of GZ) the curve has around the full circle on the 5-degree grid.

No unit declared
Balanced attitudes on the 5-degree grid (the first 16, in heel order) and their kind
About this output

The balanced attitudes in heel order (the first 16): heel, kind (Stable, Neutral or Unstable) and the slope of the curve there.

No unit declared
GM from the curve's slope
About this output

GM estimated from the slope of the curve at +/-1 degree; close to GM for a wall-sided hull, different where a corner crosses the waterline.

Unit m
Centre of gravity above the keel (KG)
About this output

KG, the height of the centre of gravity above the keel, in m.

Unit m
Centre of gravity across
About this output

xG, the centre of gravity of the hull and its load across the centreline, positive to starboard, in m.

Unit m
This page is provided by LogicCommons for informational purposes only. Results are analysis outputs computed from the inputs you supply and are not professional advice. Verify all inputs and results independently.

LogicCommons is in beta. If a result, label, or reference looks wrong, tell us here; we read every message.

Methodology

Purpose and model boundary

This lab floats a long hull in still water and looks at one cross-section, end-on, per metre of length. The hull is a box, a V-hull, a round-bilge hull or a custom symmetric hull of your own, given by its width at nine heights. It is loaded either as a solid body of uniform density (a log) or as a vessel with its own mass and centre of gravity plus up to three cargo blocks placed anywhere. The model returns the upright draft and the metacentric height GM in closed form, the righting lever GZ around the full circle on a 5-degree grid (each heel with its own waterline), every balanced attitude on that grid with its kind, where the hull comes to rest when released from upright (floats upright, heels, lolls or capsizes), the range of stability of the weaker side and the areas under the curve. Five scored challenges go with it.

It is a lab for learning how shape, load and the height of the centre of gravity decide whether a floating body stays upright: why a low centre of gravity and a wide waterline help, why GM alone does not tell how far a hull can heel, and how an off-centre load or a negative GM makes a hull rest at an angle. It is not a stability assessment of a real vessel: the section is two-dimensional, the cargo never shifts, and there is no liquid cargo, trim, wind or wave.

The model is the calculation authority. The page sends the values you set to the model and draws only what it returns: the hull outline, the load positions, the waterline, the centres of gravity and buoyancy, the metacentre, the roll film, the righting lever curve and the balanced attitudes all come from the model's own tables. The page computes no draft, centre, lever or resting heel itself.

Inputs and units

Input Meaning and unit
Hull shape Box, V-hull, Round bilge (default: a polygonal bilge in the lower half) or Custom (your own nine widths).
Beam B, the full width of the hull at its widest level, from 0.5 to 30 m (default 8 m).
Depth D, the height from the keel to the deck, from 0.5 to 20 m (default 4 m).
Width at level 0 to level 8 The Custom hull's width at heights 0, D/8, 2D/8, ... up to D, each from 0% to 100% of the beam, with the widest at least 1% (defaults 45, 70, 82, 90, 95, 98, 100, 100, 100%). Used only for the Custom shape.
Body type Vessel with cargo (default) or Solid body.
Density ratio s, the solid body's density over the water's, from 0.05 to 0.95 (default 0.5): the share of the section a solid body floats with under water. Used only for a solid body.
Water Sea water (default, 1.025 t/m³) or Fresh water (1.000 t/m³).
Hull mass The vessel's own mass per metre of length, from 0.01 to 1,000 t/m (default 15). Used only for a vessel.
Hull centre of gravity The vessel's own centre of gravity above the keel, on the centreline, from 0 to twice the depth (default 1.9 m). Used only for a vessel.
Number of cargo blocks A whole number from 0 to 3 (default 1). Used only for a vessel.
Block 1 to 3 mass Each from 0 to 1,000 t/m (defaults 2.5, 2 and 1).
Block 1 to 3 position across The centre of each block across the hull, positive to starboard (to the right as drawn), from -30 to 30 m (defaults 1, -1 and 0 m). A block may lie outside the hull; only its mass and centre matter.
Block 1 to 3 height The centre of each block above the keel, from 0 to 40 m (default 4.5 m each).
Challenge number 0 for free exploration, or 1 to 5 to load a challenge.
Your prediction (challenge 1) Not yet predicted (the start), Floats upright, Leans to one side or Capsizes.

Where each input is set:

  • On the canvas only: the hull shape (chips above the drawing), the nine custom widths (handles on the drawing, snapped to whole percents, with an exact entry in the popover), the number of cargo blocks (Add and Remove on the drawing), each block's position across and height (dragged on the drawing, in steps of 0.05 m), and your prediction in challenge 1 (its buttons appear only in that challenge). None of these is in the input panel.
  • In the input panel: the beam, the depth, the body type, the water, the density ratio (shown for a solid body), the hull mass and hull centre of gravity (shown for a vessel), the cargo block masses (a small table, one row for each block in use, shown for a vessel) and the challenge number.

Every input is checked on its entered value, even when the selected shape, body type or challenge does not use it.

Governing relationships

The section. The hull has nine levels at heights z_i = i·D/8 (i = 0 to 8), each with a half-breadth b_i = p_i·B/200 from its width p_i in percent: 100% at every level for the box, 0%, 12.5%, ... to 100% for the V-hull, and 50%, 83.07%, 93.3%, 98.41% and then 100% for the round bilge. Straight sides join the levels, so the section is an 18-sided polygon, symmetric about the centreline. Its area is the sum of the eight trapezoid strips.

Archimedes' principle. A floating body displaces its own mass of water. Per metre of length, the area under water is A = M/ρ, with M the mass per metre and ρ the water density; for a solid body A = s × the section area. The share of the section under water is that area over the section area.

Loads. For a vessel, the centre of gravity G is the mass-weighted mean of the hull's own centre (on the centreline at the hull centre of gravity) and each block in use: x_G = Σ m·x / M across and KG = Σ m·y / M above the keel. A solid body's G is the centroid of its section.

Upright hydrostatics (closed form). The upright draft T is the waterline height whose area underneath equals A, found exactly within the strip that holds it. Then

  • KB, the height of the centre of buoyancy B above the keel, is the centroid height of the area under water;
  • BM, the metacentric radius, is w³/(12·A), with w the waterline width (the second moment of the waterline about the centreline over the area under water, per metre of length);
  • KM = KB + BM, the height of the metacentre M above the keel;
  • GM = KM - KG, the metacentric height. Upright is Stable when GM is positive, Unstable when it is negative, and Neutral within one part in a billion of the larger of B and D.

The freeboard is D - T, and the displacement is the mass of water pushed aside, ρ·A per metre.

Heeled sections. At a heel θ (positive with the starboard side down) the section turns about the keel point. For each heel the model finds the horizontal waterline that again cuts off the area A, by a safeguarded Newton method on the waterline height (Newton steps inside a bracket that always holds the answer, bisection otherwise, 14 iterations). The area, centroid and waterline length of the part under water are found exactly by clipping the polygon's 18 edges at the waterline.

The righting lever. With B' and G' the centres of buoyancy and gravity at that heel, measured across in the earth frame, GZ = x_B' - x_G', in m. A positive GZ at a positive heel turns the hull back toward upright. A balanced attitude is a heel where GZ is zero; it is stable where GZ rises with heel and unstable where it falls. The righting moment is g·displacement·GZ, with g = 9.80665 m/s², in kN·m per metre.

The wall-sided formula. For comparison, up to 45 degrees, GZ = sin θ·(GM + ½·BM·tan²θ) - x_G·cos θ. It is exact for a hull with vertical sides while the deck edge stays dry and the bilge stays wet, and it parts from the true curve once a corner crosses the waterline.

The curve on a 5-degree grid. GZ is computed at the 72 heels from -180 to 175 degrees (180 repeats -180). A balanced attitude is found where GZ is zero within the band of one part in a billion of the hull size, or between two grid heels where it changes sign, by linear interpolation; its kind comes from the slope there, with a band of one part in a million of the hull size per radian. For each side (starboard 0 to 180, port 0 to -180): the largest lever and its heel, the angle of vanishing stability (where the lever, having been positive, first falls back to zero, interpolated), and the areas under the curve to 30 and 40 degrees and from 30 to 40 degrees by the trapezoid rule. The weaker side is the one whose stability vanishes first; its vanishing angle is the range of stability (0 when that side has no positive lever).

The resting heel. Released from upright, the hull turns toward the side GZ pushes it. If GZ at upright is zero and GM is not negative it stays upright. If upright is unstable with a centred load, the model lets it loll to starboard by convention; by symmetry it could equally go to port. It walks along the grid to the first heel where GZ reaches zero, then refines the heel in that 5-degree interval by 12 steps of the Illinois method (a modified regula falsi). For a loll from upright it works with GZ / sin θ against θ², which is close to a straight line near upright. The verdict is Floats upright, Heels (an off-centre load), Lolls (upright is unstable but it finds a new balance) or Capsizes (it rests past 90 degrees).

GM from the curve. A check from the curve's slope: (GZ(+1°) - GZ(-1°)) / (2·sin 1°). It is close to GM for a wall-sided hull and differs where a corner crosses the waterline within a degree of upright.

Hydrostatics at ten drafts. The displacement, KB, BM and KM upright at drafts D/10, 2D/10, ... up to D.

Calculation sequence

  1. The model checks your values in the order of the status list under Errors and warnings, up to the challenge number and your prediction.
  2. It fixes the values in use: yours, or in a challenge the challenge's, except the inputs that challenge leaves free.
  3. It builds the hull polygon and its strips, the loads and G, and the area that must be under water. If that area is 99.5% or more, or below 1%, of the section, it stops there with a CHECK.
  4. It solves the upright draft, KB, BM, KM and GM in closed form, and the hydrostatics at ten drafts.
  5. It solves the waterline at each of the 72 grid heels and at ±1 degree, and computes GZ, the centre of buoyancy and the righting moment at each.
  6. It finds the balanced attitudes, the per-side statistics and the weaker side.
  7. It finds and refines the resting heel, solves the section at the resting attitude, and sets the verdict.
  8. It sets the status and, in a challenge, scores the challenge and withholds what the challenge keeps back.

Outputs and interpretation

  • Metacentric height GM (m): positive when the hull is stable upright, negative when upright is unstable.
  • Resting heel (degrees, positive with the starboard side down; 180 is upside down) and how it floats.
  • Range of stability of the weaker side (degrees), the largest righting lever on that side (m) and its heel, and the weaker side (Starboard or Port).
  • Upright draft and freeboard (m), displacement (t per m), share of the section under water (%), upright stability (Stable, Neutral or Unstable).
  • Centre of gravity across (m, positive to starboard) and above the keel (KG, m); KB, BM and KM (m).
  • Balanced attitudes found and stable attitudes found, with the first 16 listed in heel order with their kind and slope.
  • Each side of the curve: the largest lever and its heel, where stability vanishes, and the areas under the curve to 30 degrees, to 40 degrees and from 30 to 40 degrees (m·rad).
  • The righting lever curve: for every heel from -180 to 180 degrees in 5-degree steps, GZ, the waterline height, the centre of buoyancy in the earth frame, the wall-sided lever (to 45 degrees) and the righting moment.
  • The resting attitude: its heel, lever, waterline height and centre of buoyancy.
  • The hull section (18 vertices) and the loads (the hull or the solid body, each block, the total, each with its mass and centre).
  • GM from the curve's slope, the waterline solve residual (the largest relative area error of all the waterline solves, normally far below 1×10⁻¹⁰) and the resting-heel residual (the lever left at the resting heel), as convergence checks.
  • Settings used and the model and module versions.

Reading the canvas: the drawing shows the section with its waterline, G, B and M; the roll film turns the hull through the curve's heels, one row a frame, and ends at the resting attitude. The curve marks the stable and unstable balances and shades the positive range of the weaker side; the wall-sided formula is drawn beside it.

What to take from the lab: GM decides only whether upright is stable. How far a hull can heel before it capsizes depends on how the waterline and the centre of buoyancy move as it heels, which a wide, flared or high-sided hull helps and a high centre of gravity harms. A hull with a negative GM need not capsize: a wide one finds a new balance at an angle of loll.

Challenges

Selecting a challenge loads its own hull and loads and leaves only the inputs it names to you. The model scores each one MET (100) or NOT MET (0) and gives a one-line hint while it is not met. A challenge cannot be met while the load sinks the hull or barely touches the water.

  1. Predict the float (introductory). A 10 m box barge in fresh water with a heavy block high on its deck. Predict how it will float: upright, leaning to one side, or capsized. It is met when your prediction matches the model's verdict (Heels and Lolls both count as leaning to one side). The value scored is the verdict.
  2. Load it level (intermediate). Move the two cargo blocks so the barge rests within 0.5 degrees of upright with a GM of at least 0.5 m. The value scored is the resting heel.
  3. The square log (advanced). A 1 m square log in fresh water. Find the smallest density ratio above 0.5, in steps of 0.001, at which it floats flat side up. It is met when GM is positive at your density ratio and not positive one step (0.001) lower. The value scored is the density ratio.
  4. Stretch the range (advanced). Shape the custom 8 m hull with its nine widths so its stability lasts to at least 70 degrees of heel, while GM stays above 0 and at most 1.0 m and the hull floats upright. The value scored is the range of stability.
  5. How far can it go? (intermediate). Slide the deck block to starboard, in steps of 0.05 m, to the largest offset at which the barge rests at 10 degrees of heel or less. It is met when the heel is at most 10 degrees and one more 0.05 m step would take it past 10 degrees. The value scored is the block's position across.

Challenge 1 holds back its answer until you predict: while your prediction reads Not yet predicted, KB, BM, KM, GM, the upright stability, the resting heel and verdict, every curve statistic and balanced attitude, the curve itself (all but its heels), the resting attitude and the KB, BM and KM columns of the hydrostatics are blank, and the canvas shows only the upright hull with G. Any prediction reveals everything, met or not. Challenge 3 withholds KB, BM, KM, GM, GM from the curve, the wall-sided column, the slope column of the balanced attitudes and the KB, BM and KM columns of the hydrostatics until it is met, because these give the answer by algebra; the resting heel, the film and the curve stay. Challenges 2, 4 and 5 withhold nothing.

Validation and status logic

The status reads the first match in the list under Errors and warnings. The NOT VALID checks read the values you entered; the CHECK items read the calculation and apply inside challenges too. A challenge number that is not a whole number from 0 to 5 counts as no challenge selected. Each block's values are checked whether or not that block is in use.

Assumptions and limitations

  • A two-dimensional section per metre of length: transverse stability only, with no trim, no three-dimensional hull form, no liquid cargo (free surface), no roll motion, wind or waves, and still water.
  • Cargo is fixed and never shifts.
  • The hull is symmetric and has nine levels with straight sides between them, so a round bilge is a polygon. Pinched and non-convex hulls are allowed.
  • GZ is computed on a 5-degree grid. Balanced attitudes and vanishing angles between grid heels are interpolated, and two balanced attitudes closer than about 5 degrees may be missed. The resting heel is refined beyond the grid.
  • The section must have from 1% to 99.5% of its area under water to be analysed.
  • An unstable upright hull with a centred load is taken to loll to starboard by convention.
  • Near a neutral GM, within a few parts in a billion of the hull size, the loll angle is not meaningful.

Restrictions and non-computing states

Under NOT VALID every result and every table is blank, except the model and module versions; the challenge status (No challenge selected, or NOT MET when a challenge is selected), a score of 0, and the goal and not-met hint of a selected challenge.

When the load sinks the hull or floats it awash (99.5% or more of the section under water), or barely touches the water (below 1%), only the share under water, the displacement, the centre of gravity, the settings used, the hull section and the loads are shown; every stability result is blank and a selected challenge reads NOT MET.

In challenges 1 and 3 the results listed under Challenges stay blank until the challenge allows them.

Errors and warnings

The status messages, first match wins:

  • NOT VALID: choose the hull shape from the list
  • NOT VALID: the beam must be from 0.5 to 30 m
  • NOT VALID: the depth must be from 0.5 to 20 m
  • NOT VALID: each custom width must be from 0 to 100 (% of the beam), and the widest at least 1
  • NOT VALID: choose the body type from the list
  • NOT VALID: the density ratio must be from 0.05 to 0.95
  • NOT VALID: choose the water from the list
  • NOT VALID: the hull mass must be from 0.01 to 1000 t per m
  • NOT VALID: the hull's centre of gravity must be from 0 to twice the depth above the keel
  • NOT VALID: the number of cargo blocks must be a whole number from 0 to 3
  • NOT VALID: block k needs a mass from 0 to 1000 t per m, a position across from -30 to 30 m and a height from 0 to 40 m: k is the lowest block with a value out of range, whether or not it is in use.
  • NOT VALID: the challenge number must be a whole number from 0 to 5, and the prediction one of the listed choices
  • CHECK: the load needs 99.5% or more of the hull's section under water: it sinks or floats awash, so no stability is computed
  • CHECK: less than 1% of the hull's section is under water: the hull barely touches the water; add mass to analyse it
  • CHECK: a waterline did not settle in 14 iterations; the results may be slightly off
  • CHECK: the resting heel did not settle in 12 refinement steps; it is shown as found
  • CHECK: no resting attitude was found on the 5-degree grid: a guard only; for a symmetric hull a resting attitude always exists.
  • OK

A blank list choice is refused by the page before the model runs.

References

This laboratory is an educational model of the transverse stability of a floating section. It applies Archimedes' principle to find the waterline, the classical upright hydrostatics (the centre of buoyancy, the metacentric radius as the second moment of the waterline over the area under water, and the metacentric height GM), and the righting lever GZ at large angles, where each heel has its own waterline found by a safeguarded Newton method. The resting heel is refined by the Illinois variant of regula falsi, and the wall-sided formula is shown beside the true curve.

Sources and further reading

  • Buoyancy, the metacentric height as the second moment of the waterline over the immersed volume less the distance from the centre of buoyancy to the centre of gravity, and the stability of square and circular floating bodies: G. Bar-Meir, Fluid Mechanics, LibreTexts Engineering, chapter 4, Fluids Statics, section 4.6.1, Stability. LibreTexts
  • The metacentre at any heel angle and its link to the stability of a floating body: J. Mégel and J. Kliava, "On the buoyancy force and the metacentre", 2009. arXiv:0906.1112
  • The righting arm, a list from an off-centre weight and a loll with a slightly negative GM: U.S. Navy, Damage Control Training: Stability and Buoyancy Lessons, lesson 4.6, Hull Damage Assessment/List in Stability. Federation of American Scientists archive
  • Hydrostatic curves, the curve of statical stability, the wall-sided formula, the angle of loll and the areas under the righting lever curve: A. B. Biran and R. López-Pulido, Ship Hydrostatics and Stability, 2nd edition, Butterworth-Heinemann, 2014.
  • The Illinois method for refining a root inside a bracket: M. Dowell and P. Jarratt, "A modified regula falsi method for computing the root of an equation", BIT 11(2), 1971, pages 168-174.

No table or text from any of these publications is reproduced, and none of their authors or publishers has reviewed or endorses this laboratory.

This laboratory is for learning. Its results hold only within its stated ranges; a real vessel's stability depends on its full three-dimensional form, its liquid cargo and the sea, and is assessed under the rules that apply to it.

Links were current at build time. If one moves, search the document's title rather than reporting a broken link as a defect.

Results are informational and not professional advice. See our Terms of Use. Powered by SpreadsheetWeb · About · Privacy · Terms