In the context of a research project of mine, I am faced with the difficult task of modeling the mixing of two fluids in a container. I would like to achieve the following:
Given a container (cylindrical or spherical) containing a static mixture of gases (carbon dioxide + nitrogen), an inflow channel of oxygen into the container, and a vacuum outflow exiting the container, I would like to simulate the evolution of the mixing of gases inside the container (composition and vortices) and in the outflow channel. In fact, the goal is to end up with a crude model of a lung with the particularity of a vacuum outflow.
Does anyone point me to a tool (perferably free) or a set of techniques that could help me build such a simulation? I can program in pretty much any language, and GUI software packages would be ok too