Regular Grid Based Methods For Fluid Simulation And Meshing Self-Intersecting Surfaces