Rudimentary hydro code