A fluid flow simulator