emblem
Liquid in sphere
Simulates the height of liquid in a sphere.
2024.Nov.25 05:48:38
D m Diameter of sphere. •
μ, σ m3 Mean and sigma of volume. •
.N, seed Number of trials, and seed (repeatability). •
klass Histogram classes. •
Show values ? Shows the coordinates of the graph. •

Simulates the height, h, of a liquid with random volume, V, with a Gaussian distribution of given parameters μ and σ. The sphere is a storage tank with small openings at the top and bottom. If the volume of liquid exceeds the capacity of the sphere, there will be spill, the frequency of which should be minimized.

The volume of the liquid as a function of height is given by V = (1⁄3) π h² (3Rh), going from V = 0 for h = 0 (empty) to V = (4⁄3) π R³ for h = 2R (full). (In the figure*, h increases downwards, but here it is assumed upwards.) For the simulation, h has to be calculated from V, leading to the (analytic) solution of a cubic (case 7, derivation .pdf .xlsx).

Plots the density (f) and cumulative distribution (F) for the simulated variable.

sphere cap
References: Plate: Volinsphere

• Wikipedia: Spherical cap (*source of figure). • Wikipedia: Storage tank. The word "reservoir" is used in other contexts.

• 1868-04-28: Voronoy, Georgy Feodosyevich (Гео́ргий Феодо́сьевич Вороно́й) (1908-11-20).

 
 
Valid HTML 4.01! IST http://web.ist.utl.pt/~mcasquilho/compute/qc/Fx-sim_sphere.php
Created: 2016-04-28 — Last modified: 2016-05-04