A unified approach for modeling complex occlusions in fluid simulations