Comoving coordinates
Comoving coordinates is a spatial coordinate system used in cosmology to model the expanding universe.[1]
Notation
$$ (r,\theta,\phi) $$
Properties
Time-independence
In this coordinate system, the spatial coordinates of stationary objects are time-independent, and the increase in proper distance between them from cosmic expansion is modelled by a single cosmological scale factor.[1]
The proper distance $dl$ between two infinitesimally close objects with coordinates $(r,\theta,\phi)$ and $(r+dr,\theta+d\theta,\phi+d\phi)$ satisfies
$$ dl^2=a(t)^2\left[\frac{dr^2}{1-kr^2}+r^2\left(d\theta^2+\sin^2\theta\,d\phi^2\right)\right] $$
where $a(t)$ is the cosmological scale factor at current cosmic time $t$ and $k$ is the spatial curvature parameter.
Special case: Spatially-flat Universe
When $k=0$, reassigning Cartesian coordinates to each point in space
$$\begin{gathered} (r,\theta,\phi) \to (x,y,z) \\ \Rightarrow dl^2=a^2(t)(dx^2+dy^2+dz^2) \end{gathered}$$