- #1
IridescentRain
- 16
- 0
Hello.
I wish to calculate the density of optimally packed spheres (i.e. the fraction of space which is occupied by the spheres). This number is approximately 0.74, but I know this because I have looked on the net, not because I have calculated it. I know the essentials of how to calculate it, but I am stuck in my calculations.
All of the following analysis and calculations were done by me; I've checked my results (the density of optimally packed circles, a regular tetrahedron's height, etc) with the known expressions found on the internet and in books.
Circles
I'll first derive the density of optimally packed circles on a plane, which is more illustrative and easier to understand, and then I'll proceed to the problem of spheres in space.
Consider an infinite array of optimally-packed identical circles on a plane:
We may trace an (equilateral) triangle with its vertices at the centres of three mutually adjacent circles. If we do this with all the circles, then the (infinite) set of all such triangles covers the entire plane, so the fraction of a single triangle occupied by circle fragments is equal to the fraction of the plane occupied by all the circles. Let us call this the "volume fraction" of the circles and denote it by [itex]f[/itex].
Let [itex]a[/itex] be the radius of the circles and [itex]D=2\,a[/itex] be the length of the triangle's sides.
Because the triangle is equilateral, its angles all equal [itex]\pi/3[/itex] radians. Therefore, the fraction of each circle that lies within the triangle is [itex]1/6[/itex]. The volume fraction is then
[tex]f=3\frac{\pi\,a^2/6}{A_T}=\frac{\pi\,a^2}{2\,A_T},[/tex]where [itex]A_T[/itex] is the triangle's area and the 3 multiplying the first fraction comes from the fact that there are 3 circles which lie at least partially within the triangle.
By Heron's formula,
[tex]A_T=\sqrt{s\,(s-D)^3},[/tex]where [itex]s=3\,D/2[/itex]. Therefore,
[tex]A_T=\sqrt{\frac{3}{2}D\,\left(\frac{3}{2}-1\right)^3\,D^3}=\frac{\sqrt{3}}{4}D^2,[/tex]whereby
[tex]f=\frac{\pi\,a^2}{(\sqrt{3}/2)\,D^2}=\frac{2\,\pi}{\sqrt{3}}\frac{a^2}{D^2}=\frac{\pi}{2\,\sqrt{3}}\approx0.9069.[/tex]
Spheres
We generalise the problem to spheres as follows: consider optimally-packed identical spheres, and take a regular tetrahedron with its vertices at the centres of four mutually adjacent spheres. The (infinite) set of all such tetrahedra again fills all of space, so, if [itex]V_S[/itex] equals the volume of each sphere which lies within the tetrahedron and [itex]V_T[/itex] is the tetrahedron's volume, we have
[tex]f=4\frac{V_S}{V_T}.[/tex]
Since the tetrahedron is regular, its faces are equilateral triangles. Let [itex]a[/itex] be the radius of the spheres, and let [itex]D=2\,a[/itex] once again be the length of the tetrahedron's edges.
The implicit equation of a sphere of radius [itex]a[/itex] is, of course,
[tex]x^2+y^2+z^2-a^2=0.[/tex]
Consider a regular tetrahedron with edge length [itex]a'[/itex] placed such that one of its vertices lies at the origin and the centroid of the face opposite this vertex lies on the [itex]z[/itex] axis. The position of said face's centroid is then of the form [itex](0,0,z_0)[/itex]. We proceed to calculate [itex]z_0[/itex]:
The top face of the tetrahedron (that is, the face which lies at a height [itex]z_0[/itex]) is, of course, an equilateral triangle with side length [itex]a'[/itex]. Let [itex]B[/itex] be the distance from its centroid to any of its vertices and [itex]b[/itex] be the distance from its centroid to the middle point of any of its sides:
If the coordinates of the triangle's vertices are [itex](0,y_1),(-x_2,y_2),(x_2,y_2)[/itex] (omitting the [itex]z[/itex] coordinate for clarity), then, by symmetry,
[tex]y_1^2=x_2^2+y_2^2=B^2.[/tex]Also,
[tex]x_2^2+(y_1-y_2)^2=a'^2.[/tex]
Now, [itex]x_2=a'/2[/itex], whereby the above equations become
[tex]y_1^2=\frac{a'^2}{4}+y_2^2,[/tex][tex]\frac{a'^2}{4}+(y_1-y_2)^2=a'^2.[/tex]The latter equation implies that
[tex]y_1=\sqrt{\frac{3}{4}a'^2}+y_2=\frac{\sqrt{3}}{2}a'+y_2.[/tex]Substituting this in the former equation, we obtain
[tex]\left(\frac{\sqrt{3}}{2}a'+y_2\right)^2=\frac{3}{4}a'^2+\sqrt{3}\,a'\,y_2+y_2^2=\frac{a'^2}{4}+y_2^2[/tex][tex]\Rightarrow\sqrt{3}\,a'\,y_2=-\frac{1}{2}a'^2[/tex][tex]\Rightarrow y_2=-\frac{1}{2\,\sqrt{3}}a'[/tex][tex]\Rightarrow B=\sqrt{\left(\frac{a'}{2}\right)^2+\left(\frac{1}{2\,\sqrt{3}}a'\right)^2}=\sqrt{\frac{1}{4}+\frac{1}{12}}\,a'=\frac{a'}{\sqrt{3}}.[/tex]
To calculate [itex]b[/itex], we divide the triangle into four identical equilateral triangles with side length [itex]a'/2[/itex]:
The central triangle's centroid lies at the same location as that of the original triangle by symmetry. [itex]b[/itex] is then the distance from the centroid of an equilateral triangle with side length [itex]a"=a'/2[/itex] to any of that triangle's vertices. Using the expression we obtained for [itex]B[/itex], we have
[tex]b=\frac{a"}{\sqrt{3}}=\frac{a'}{\sqrt{12}}.[/tex]
The height of the original triangle is
[tex]h=B+b=\left(1+\frac{1}{2}\right)\frac{a'}{\sqrt{3}}=\frac{\sqrt{3}}{2}a'.[/tex]
Now consider the entire tetrahedron (with edge length [itex]a[/itex]). If we place a new coordinate system [itex]x'y'z'[/itex] so that the [itex]z'[/itex] axis lies along the centre of one of the three faces which are not horizontal in the [itex]xyz[/itex] coordinate system, then the "height" [itex]z'_0[/itex] along [itex]z'[/itex] of that face is
[tex]z'_0=\frac{\sqrt{3}}{2}a.
The (non-equilateral) triangular region enclosed by the [itex]z[/itex] and [itex]z'[/itex] axes and the tetrahedron's top face is shown in the following figure:
Notice that
[tex]\sin(\varphi)=\frac{a/2\,\sqrt{3}}{z'_0}=\frac{a}{2\,\sqrt{3}}\frac{2}{\sqrt{3}\,a}=\frac{1}{3},[/tex][tex]\tan(\varphi)=\frac{a/2\,\sqrt{3}}{z_0}.[/tex]Therefore,
[tex]z_0 = \frac{a}{2\,\sqrt{3}\,\tan(\varphi)} = \frac{a}{2\,\sqrt{3}\,\tan \left[ \arcsin(1/3) \right]} = \frac{a\,\sqrt{1-(1/3)^2}}{2\,\sqrt{3}/3} = \frac{a\,\sqrt{8/9}}{2/\sqrt{3}} = \sqrt{\frac{2}{3}}\,a.[/tex]
Having finally calculated the tetrahedron's height [itex]z_0[/itex], we may consider the tetrahedron to be composed of a collection of equilateral-triangular prisms (with differential height [itex]\text{d}z[/itex] with side length [itex]a'(z)[/itex] stacked on top of each other. [itex]a'[/itex] is a linearly increasing function of [itex]z[/itex] with the following boundary conditions:
[tex]a'(0)=0,[/tex][tex]a'(z_0)=a'\left(\sqrt{\frac{2}{3}}a\right)=a.[/tex]Therefore,
[tex]a'=\sqrt{\frac{3}{2}}z.[/tex]
This expression for [itex]a'[/itex] in terms of [itex]z[/itex] --along with the expressions at the beginning of this section which relate [itex]x_2[/itex], [itex]y_1[/itex] and [itex]y_2[/itex] to [itex]a'[/itex]-- may be used to construct an implicit equation for the tetrahedron (which I will not do at the moment). The volume [itex]V_S[/itex] of the portion of each sphere which lies within the ([itex]D[/itex]-sided) tetrahedron is, then,
[tex]V_S=\int\int\int\,\text{d}x\,\text{d}y\,\text{d}z,[/tex]where the integration limits are given by the intersection of the regions described by the implicit equations for the sphere and the (infinite, with side length [itex]a'(z)[/itex]) tetrahedron.
My question is how to write these limits. The limits of the integral over [itex]z[/itex] are trivial: [itex]z[/itex] runs from [itex]0[/itex] to [itex]a[/itex]. The limits for [itex]x[/itex] and [itex]y[/itex], however, are absolutely not trivial.
Of course, I may write the integration limits as [itex]\min(A,B)[/itex], where [itex]A[/itex] and [itex]B[/itex] are the corresponding integration limits for the sphere and the tetrahedron, respectively, but this is useless because it does not allow me to calculate [itex]V_S[/itex].
Notes
I know there is an easier way to calculate [itex]f[/itex] which uses a hexagonal prism and 10 or so spheres (as opposed to a tetrahedron and 4 spheres). There's a good reason for this, but I shall not go into it in detail here unless asked.
The procedure I have used is probably not the simplest one possible, but it also has a reason: since it ultimately requires nothing more than the implicit equations for a sphere (the packed particle in question) and a tetrahedron (the space-filling figure which allows me to take a finite number (4) of particles rather than having to deal with an infinite amount of them), whichever expression for [itex]f[/itex] I obtain at the end is trivially generalisable to particles of any shape (provided I can describe said shape via an implicit equation).
Thank you! :)
I wish to calculate the density of optimally packed spheres (i.e. the fraction of space which is occupied by the spheres). This number is approximately 0.74, but I know this because I have looked on the net, not because I have calculated it. I know the essentials of how to calculate it, but I am stuck in my calculations.
All of the following analysis and calculations were done by me; I've checked my results (the density of optimally packed circles, a regular tetrahedron's height, etc) with the known expressions found on the internet and in books.
Circles
I'll first derive the density of optimally packed circles on a plane, which is more illustrative and easier to understand, and then I'll proceed to the problem of spheres in space.
Consider an infinite array of optimally-packed identical circles on a plane:
We may trace an (equilateral) triangle with its vertices at the centres of three mutually adjacent circles. If we do this with all the circles, then the (infinite) set of all such triangles covers the entire plane, so the fraction of a single triangle occupied by circle fragments is equal to the fraction of the plane occupied by all the circles. Let us call this the "volume fraction" of the circles and denote it by [itex]f[/itex].
Let [itex]a[/itex] be the radius of the circles and [itex]D=2\,a[/itex] be the length of the triangle's sides.
Because the triangle is equilateral, its angles all equal [itex]\pi/3[/itex] radians. Therefore, the fraction of each circle that lies within the triangle is [itex]1/6[/itex]. The volume fraction is then
[tex]f=3\frac{\pi\,a^2/6}{A_T}=\frac{\pi\,a^2}{2\,A_T},[/tex]where [itex]A_T[/itex] is the triangle's area and the 3 multiplying the first fraction comes from the fact that there are 3 circles which lie at least partially within the triangle.
By Heron's formula,
[tex]A_T=\sqrt{s\,(s-D)^3},[/tex]where [itex]s=3\,D/2[/itex]. Therefore,
[tex]A_T=\sqrt{\frac{3}{2}D\,\left(\frac{3}{2}-1\right)^3\,D^3}=\frac{\sqrt{3}}{4}D^2,[/tex]whereby
[tex]f=\frac{\pi\,a^2}{(\sqrt{3}/2)\,D^2}=\frac{2\,\pi}{\sqrt{3}}\frac{a^2}{D^2}=\frac{\pi}{2\,\sqrt{3}}\approx0.9069.[/tex]
Spheres
We generalise the problem to spheres as follows: consider optimally-packed identical spheres, and take a regular tetrahedron with its vertices at the centres of four mutually adjacent spheres. The (infinite) set of all such tetrahedra again fills all of space, so, if [itex]V_S[/itex] equals the volume of each sphere which lies within the tetrahedron and [itex]V_T[/itex] is the tetrahedron's volume, we have
[tex]f=4\frac{V_S}{V_T}.[/tex]
Since the tetrahedron is regular, its faces are equilateral triangles. Let [itex]a[/itex] be the radius of the spheres, and let [itex]D=2\,a[/itex] once again be the length of the tetrahedron's edges.
The implicit equation of a sphere of radius [itex]a[/itex] is, of course,
[tex]x^2+y^2+z^2-a^2=0.[/tex]
Consider a regular tetrahedron with edge length [itex]a'[/itex] placed such that one of its vertices lies at the origin and the centroid of the face opposite this vertex lies on the [itex]z[/itex] axis. The position of said face's centroid is then of the form [itex](0,0,z_0)[/itex]. We proceed to calculate [itex]z_0[/itex]:
The top face of the tetrahedron (that is, the face which lies at a height [itex]z_0[/itex]) is, of course, an equilateral triangle with side length [itex]a'[/itex]. Let [itex]B[/itex] be the distance from its centroid to any of its vertices and [itex]b[/itex] be the distance from its centroid to the middle point of any of its sides:
If the coordinates of the triangle's vertices are [itex](0,y_1),(-x_2,y_2),(x_2,y_2)[/itex] (omitting the [itex]z[/itex] coordinate for clarity), then, by symmetry,
[tex]y_1^2=x_2^2+y_2^2=B^2.[/tex]Also,
[tex]x_2^2+(y_1-y_2)^2=a'^2.[/tex]
Now, [itex]x_2=a'/2[/itex], whereby the above equations become
[tex]y_1^2=\frac{a'^2}{4}+y_2^2,[/tex][tex]\frac{a'^2}{4}+(y_1-y_2)^2=a'^2.[/tex]The latter equation implies that
[tex]y_1=\sqrt{\frac{3}{4}a'^2}+y_2=\frac{\sqrt{3}}{2}a'+y_2.[/tex]Substituting this in the former equation, we obtain
[tex]\left(\frac{\sqrt{3}}{2}a'+y_2\right)^2=\frac{3}{4}a'^2+\sqrt{3}\,a'\,y_2+y_2^2=\frac{a'^2}{4}+y_2^2[/tex][tex]\Rightarrow\sqrt{3}\,a'\,y_2=-\frac{1}{2}a'^2[/tex][tex]\Rightarrow y_2=-\frac{1}{2\,\sqrt{3}}a'[/tex][tex]\Rightarrow B=\sqrt{\left(\frac{a'}{2}\right)^2+\left(\frac{1}{2\,\sqrt{3}}a'\right)^2}=\sqrt{\frac{1}{4}+\frac{1}{12}}\,a'=\frac{a'}{\sqrt{3}}.[/tex]
To calculate [itex]b[/itex], we divide the triangle into four identical equilateral triangles with side length [itex]a'/2[/itex]:
The central triangle's centroid lies at the same location as that of the original triangle by symmetry. [itex]b[/itex] is then the distance from the centroid of an equilateral triangle with side length [itex]a"=a'/2[/itex] to any of that triangle's vertices. Using the expression we obtained for [itex]B[/itex], we have
[tex]b=\frac{a"}{\sqrt{3}}=\frac{a'}{\sqrt{12}}.[/tex]
The height of the original triangle is
[tex]h=B+b=\left(1+\frac{1}{2}\right)\frac{a'}{\sqrt{3}}=\frac{\sqrt{3}}{2}a'.[/tex]
Now consider the entire tetrahedron (with edge length [itex]a[/itex]). If we place a new coordinate system [itex]x'y'z'[/itex] so that the [itex]z'[/itex] axis lies along the centre of one of the three faces which are not horizontal in the [itex]xyz[/itex] coordinate system, then the "height" [itex]z'_0[/itex] along [itex]z'[/itex] of that face is
[tex]z'_0=\frac{\sqrt{3}}{2}a.
The (non-equilateral) triangular region enclosed by the [itex]z[/itex] and [itex]z'[/itex] axes and the tetrahedron's top face is shown in the following figure:
Notice that
[tex]\sin(\varphi)=\frac{a/2\,\sqrt{3}}{z'_0}=\frac{a}{2\,\sqrt{3}}\frac{2}{\sqrt{3}\,a}=\frac{1}{3},[/tex][tex]\tan(\varphi)=\frac{a/2\,\sqrt{3}}{z_0}.[/tex]Therefore,
[tex]z_0 = \frac{a}{2\,\sqrt{3}\,\tan(\varphi)} = \frac{a}{2\,\sqrt{3}\,\tan \left[ \arcsin(1/3) \right]} = \frac{a\,\sqrt{1-(1/3)^2}}{2\,\sqrt{3}/3} = \frac{a\,\sqrt{8/9}}{2/\sqrt{3}} = \sqrt{\frac{2}{3}}\,a.[/tex]
Having finally calculated the tetrahedron's height [itex]z_0[/itex], we may consider the tetrahedron to be composed of a collection of equilateral-triangular prisms (with differential height [itex]\text{d}z[/itex] with side length [itex]a'(z)[/itex] stacked on top of each other. [itex]a'[/itex] is a linearly increasing function of [itex]z[/itex] with the following boundary conditions:
[tex]a'(0)=0,[/tex][tex]a'(z_0)=a'\left(\sqrt{\frac{2}{3}}a\right)=a.[/tex]Therefore,
[tex]a'=\sqrt{\frac{3}{2}}z.[/tex]
This expression for [itex]a'[/itex] in terms of [itex]z[/itex] --along with the expressions at the beginning of this section which relate [itex]x_2[/itex], [itex]y_1[/itex] and [itex]y_2[/itex] to [itex]a'[/itex]-- may be used to construct an implicit equation for the tetrahedron (which I will not do at the moment). The volume [itex]V_S[/itex] of the portion of each sphere which lies within the ([itex]D[/itex]-sided) tetrahedron is, then,
[tex]V_S=\int\int\int\,\text{d}x\,\text{d}y\,\text{d}z,[/tex]where the integration limits are given by the intersection of the regions described by the implicit equations for the sphere and the (infinite, with side length [itex]a'(z)[/itex]) tetrahedron.
My question is how to write these limits. The limits of the integral over [itex]z[/itex] are trivial: [itex]z[/itex] runs from [itex]0[/itex] to [itex]a[/itex]. The limits for [itex]x[/itex] and [itex]y[/itex], however, are absolutely not trivial.
Of course, I may write the integration limits as [itex]\min(A,B)[/itex], where [itex]A[/itex] and [itex]B[/itex] are the corresponding integration limits for the sphere and the tetrahedron, respectively, but this is useless because it does not allow me to calculate [itex]V_S[/itex].
Notes
I know there is an easier way to calculate [itex]f[/itex] which uses a hexagonal prism and 10 or so spheres (as opposed to a tetrahedron and 4 spheres). There's a good reason for this, but I shall not go into it in detail here unless asked.
The procedure I have used is probably not the simplest one possible, but it also has a reason: since it ultimately requires nothing more than the implicit equations for a sphere (the packed particle in question) and a tetrahedron (the space-filling figure which allows me to take a finite number (4) of particles rather than having to deal with an infinite amount of them), whichever expression for [itex]f[/itex] I obtain at the end is trivially generalisable to particles of any shape (provided I can describe said shape via an implicit equation).
Thank you! :)