A fluid simulation library