How to insert a mechanical element into a flow simulation?

I'm currently doing simulation work on a fuel tank, it has a mechanical element that I want to include in the simulation. I've attached a picture of the mechanical element, a hinge. The hinge will “open” up when the fluid goes into the cavity on the left (When the car accelerated), but when the fluid tries to leave the cavity (When the car deaccelerates), the hinge closes not allowing the fluid to leave. Any solutions? Thanks.

SolidworksSimulation