The intracranial pressure (ICP) is an important factor in the proper functioning of the brain. This pressure is needed to be constantly regulated, since an abnormal elevation can be quite dangerous. In this article, we develop some numerical tools to better understand the regulation of this pressure. In particular, as it is impossible to measure the ICP in a non-invasive way, these numerical tools can allow to estimate values of the ICP. In addition, we propose to compute the dynamics of the cerebrospinal fluid (CSF), taking into account the connected environment of the skull and the arterio-venous flows. A computational fluid dynamics model in two dimensions is developed for the cerebrospinal fluid system, with Windkessel type boundary conditions. This model shows that the dynamics can impact the distribution of the CSF in the different compartments of the cerebrospinal system.