basic framework of fluidsim