Processing math: 100%
Stand With Ukraine

Wednesday, August 30, 2023

Stability of a rectangular box floating on a surface of a liquid

This problem, as many of the previous discussed here, is coming from the Savchenko et al book. It took me around one month to wrap my head around this one. I have to admit that I improved (or refreshed) my knowledge of Archimedes' force thanks to this one. Specifically, this problem highlights the fact that Archimedes' force is applied to the center of mass of the water replaced by a floating object. Therefore, even if the object's density is uniform, it can happen that the torques of the gravity force and the Archimedes' force are not compensated even though the modules of the forces are equal. This fact makes more interesting the question about stability of a floating object in a liquid.

Problem statement

Given a rectangular body of length a, width a, and height b. Its density is ρ and it floats in a liquid of density ρ0. Determine the ratio ab for which the object's equillibrium state is stable. It is assumed that the side b of the box is vertical in the equillibrium position.

Discussion

It is obvious that the object's equllibrium is stable with respect to vertical displacements, because if we push it down, the Archimedes' force increases and pushes it back. Similarly, if we pull the object up, the Archimedes' force becomes smaller and the gravity pushes it back to its initial equillibrium position where the gravity force is compensated by the Archimedes' force. Therefore, further down we consider only stability of the object with respect to rotations.

We won't consider the case with the box completely submerged into the liquid as in this case the center of mass of the box coincides with the center of mass of the liquid pushed out by the box, due to the uniform density of the box, and therefore the net torque (exerted by the gravity and Archimedes' forces) will always be zero. I guess this case is not stable with respect to rotations, as the box won't be restored to its original vertical position. Zero gravity, like in the outer space, all orientations are equivalent.

Here we can speculate a bit. Intuitively we would expect that the larger base (i.e. greater a) with respect to the height b would give us a more stable equillibrium. Hence we can expect the result to be in a form ab>r or abr.

Let's denote the height of submerged part of the box as h and the pivot point as O. The pivot point is the intersection of the vertical axis of symmetry of the box and the horizontal plane at the level of the surface of the liquid (the updated level after the box is submerged), see the figure below. We consider rotations at a small angle φ around this pivot point O.


The latex source for the plot can be found here.

There are two ways to find out if the vertical upright orientation of the box is stable: using the change in the height of the center of mass of the system liquid and box, i.e., if the above rotations lower the center of mass of the system then its vertical orientation is not stable, otherwise it is stbale, and using the net torque exerted by the gravity and Archimedes' forces, i.e., in the stable case the torque would act in the direction opposite to the direction of rotation,otherwise it is not stable. We'll use both methods and compare the results.

But first let's prepare a few useful expressions. If we denote as A the center of mass of the liquid pushed out by the box (this is also the point where the Archimedes' force is applied to the box). Let's determine its coordinates (xAφ,yAφ) when the box is rotated, in the system of coordinates with the center at the point O and the y-axis pointing downward and the x-axis pointing to the right. It is easy to see that the mass (mA=ρ0a2h) of the liquid pushed out by the box does not change during the rotation as well as the module of the Archimede's force FA=mAg. By definition, expressions for the coordinates of the center of mass of the liquid pushed out by the box can be written as:

{mAxAφ=mAxAφ+mLxL+mRxRmAyAφ=mAyAφ+mLyL+mRyR

where

mL=mRxL=xRyL=yR

and the Aφ is the center of mass of the fictious liquid volume when it is rotated from the upright position as a solid body, mL and mR are the masses of the prisms (triangles in 2D, see the above figure) to be removed from and added to the fictious liquid body respectively to get the real shape of the liquid pushed out by the box during rotation. (xR,yR) and (xL,yL) are the centers of mass of the prisms of masses mR and mL respectively (red and blue triangles in the figure, the blue one has negative mass and the red one has positive mass). Since mL is the mass to be removed, it is negative in the equations to avoid confusion with the signs. We use these triangles (prismes in 3D) to facilitate the calculation of the position of the center of mass of the liquid pushed out by the box Aφ. It is easy to compute coordinates of the center of mass of the fictious rectangular volume B1B2RL and then to find coordinates of Aφ (of the complex shape of the liquid pushed out by the rotated box) we compute the center of mass of a system consisting of B1B2RL, mR and the negative mass mL. The center of mass of such a system is Aφ. If we substitude the relations between mL and mR into the equations for xAφ, yAφ we get the following expressions:

{xAφ=xAφ+2mRmAxRyAφ=yAφ+2mRmAyR

It is easy to see that

mRmA=ρ01212a12atanφaρ0a2h= a8htanφa8hφxAφ=h2sinϕh2ϕyAφ=h2cosϕ

We keep exact values for the y coordinates here as the changes in y due to the rotation are on the order of φ2 and the variations of x coordinates are on the order of φ.

From the geometry and the properties of the centre of mass of a triangle we can determine xR and yR: {xR=a2cosφ12+13a2cosφcos2φ=a4cosφ(1+cos2φ3)yR=13(a22cosφ)sin2φ=16asinφ

For small angles φ (which is the case in the problem at hand), we get the following expressions for xR and yR:

{xRa3yRa6φ

Using the above relation we can express (xAφ,yAφ) as functions of h, a, and φ:

{xAφ=xAφ+2mRmAxRh2ϕ+2a8hφa3=φ4h(a232h2)yAφ=yAφ+2mRmAyRh2cosφ+2a8hφa6φ= h2cosφ+a224hφ2

We did not replace cosφ with one for the y coordinate since the accuracy of the terms is φ2.

Let's note the coordinates of the center of mass of the pushed out liquid for φ=0:

{xA0=0yA0=h2

It is easy to derive how the coordinates of the center of mass of the box (C) change during rotation, as it is always in the middle of the box:

{xCφ=(b2h)sinφyCφ=(hb2)cosφ

Finally, let's express h using equillibrium between the Archimedes' (FA) and the gravity (FC=mCg) forces:

FCFA=0ρa2bρ0a2h=0h=ρρ0b

Method 1: analysis of torques

Without the loss of generality we can consider clockwise rotation as shown in the plot. Torques acting in the counter-clockwise direction are positive and torques acting in the clockwise direction are negative. With this convention, for stability it is required that the net torque (τ) should act in the direction opposite to the rotation (i.e. anti-clockwise). Therefore the condition for stability is τ>0.

Let's consider two cases and impose the stability condition:

a) the center of mass is below the liquid surface hb/2

If xAφ0, then τ=FC|xCφ|+FA|xAφ|, which is always positive. Both τC and τA act to stabilize the box against rotation.

If xAφ<0, then stability condition is:

τ=FC|xCφ|FA|xAφ|>0

Since FC=FA (as well as mA=mC), for stability we need the following:

|xCφ||xAφ|>0(b2h)φ(1)φ4h(a232h2)>0b2+h+14h(a232h2)>02bh+4h2+a232h2>06bh+a2+6h2>06b2ρρ0+a2+6(ρρ0b)2>0(ab)2>6ρρ06(ρρ0)2ab>6ρρ0(1ρρ0)

b) the center of mass is above the liquid surface h<b/2

In this case the gravity force acts to destabilize the box with its torque acting in the direction of rotation. So the stability in this case is possible when |xAφ|>|xCφ| and xAφxCφ>0 (i.e. A and C are from the same side from the pivot point O) which is equivalent to:

τ=FC|xCφ|+FA|xAφ|>0 (1)(hb2)φ+φ4h(a232h2)>0ab>6ρρ0(1ρρ0)

Let's check if the conditions we imposed do actually make sense.

h<b/2ρ/ρ0<1/2a/b>3/2a23b22>0xAφ>0

remembering that we consider only φ>0.

Method 2: minimum of the potential energy of the system

I like this method more as it requires less logic branching. Let's denote as y the y-coordinate of the center of mass of the system liquid and box. Since the positive direction of the axis is downwards, the change Δy<0 during the rotation of the box would mean that the center of mass of the system is lifted and therefore the system's potential energy would be increasing and the system itself will tend to minimize its potential energy, therefore Δy<0 is our stability condition. By the definition of the center of mass we have:

(MmA+mC)y=mCyCφmAyAφ+My0

where M is the mass the liquid would have when the immersed part of the box is replaced by the liquid. y0 is the y-coordinate of the center of mass of M.

Let's examine the change in the y-coordinate of the center of mass of the system during rotation:

Δy=1MmA+mC(mCΔyCmAΔyA)ΔymCΔyCmAΔyA

Noting that mC=mA, we get:

ΔyΔyCΔyA

Therefore the condition for the system stability is equivalent to:

Δy<0ΔyCΔyA<0

From the relations prepared above we can express ΔyC and ΔyA as follows:

ΔyA=yAφyA0=h2cosφ+a224hφ2h2=a224hφ2h4φ2ΔyC=yCφyC0=(hb2)(cosφ1)(hb2)2φ24

Now plugging the above expressions for ΔyC and ΔyA into the stability inequality, we get:

(hb2)2φ24a224hφ2+h4φ2<0b4φ2h4φ2a224hφ2<06(bh)ha2<06ρρ0(1ρρ0)b2a2<0ab>6ρρ0(1ρρ0)

In conclusion, we are happy that the minimum potential energy and the torque methods give the same result.

ab>6ρρ0(1ρρ0)