[ENH] split up flux class for fluid and solid domain