What goes into making a cosmological model? Here is a presentation (that was part of my Ph.D. dissertation) that I have reproduced and embedded here to describe what actually goes into the making of a cosmological model. After describing some general properties, I describe specifically a early-universe model that contains a viscous fluid and a magnetic field.
The background mathematics can be found in this old presentation of mine here: