Seol mar théacs é seo: Continuity equations for general matter: applications in numerical relativity