Fluid simulator