Adaptively Refined Large-Eddy Simulations of Galaxy Clusters

Appendix I Color fields

There are two possibilities to implement a color field c in a fluid code. One can treat color like the density, i.e. the color variable obeys a conservation law like the density

∂∂⁡t⁢c+∂∂⁡rj⁢(vj⁢c) =0. (I.1)

In this case c will exactly behave like density, if density and color have the same initial value.

On the other hand one can treat it like a specific quantity obeying a conservation law like

∂∂⁡t⁢ρ⁢c+∂∂⁡rj⁢(vj⁢ρ⁢c) =0. (I.2)

In this case we see that if c is spatially constant at a time t0, i.e. c⁢(t0)=c0, ∂⁡c⁢(t0)∂⁡rj=0, it will stay constant forever

∂∂⁡t⁢ρ⁢c+∂∂⁡rj⁢(vj⁢ρ⁢c) =0
⇔∂⁡c∂⁡t+vj⁢∂⁡c∂⁡rj =0
⇔dd⁢t⁢c =0
⇒c =const.=c0