Գրեք սա: Continuity equations for general matter: applications in numerical relativity