I know that the equation for a torus is given by $$\left(R - \sqrt{x^2 + y^2}\right)^2 + z^2 = r^2$$
where $R$ is the larger radius and the $r$ is the smaller radius. Now I was reading about the solid torus, which can be constructed by forming a cartesian product of a disc in $D^2 \in \mathbb{R}^2$ and a circle $S^1$. Suppose for example my disc has radius $r$ and the circle has radius $R$, then what does the equation representing a solid torus look like?
Some parametrization is helpful.
$$\rho= R+r \cos\phi\quad z= r \sin \phi \;$$
$$(\rho-R)^2+z^2=(R-\sqrt{x^2+y^2})^2 +z^2=r^2 $$
We can employ a variable along the normal to the circle section $ 0< rt<r $. Then the solid is the sum of many layers of expanding $r$ with $ 0<t<1 :$
$$\left(R - \sqrt{x^2 + y^2}\right)^2 + z^2 = r^2 t^2$$
Simply put, this exterior surface is associated with the torus. If the inside of the toroidal surface is filled with a fluid then the volume is associated with the solid torus.
Sections on Torus show some outer profiles of the layered solid when sectioned along a radius.
Parts of sections of such tori can be seen through oval annular rings in lumber/plywood/studs around knots and single cut bent branches.