Modeling of hydrodynamic cavitation reactors: a unified approach