SPH modeling of multi-phase and energetic flows