Two component (liquid+gas) simulation

4 views (last 30 days)
Luis
Luis on 7 Jul 2022
Commented: Luis on 18 Jul 2022
Hi all. I'd like to simulate a system of air carrying droplets of a liquid (let's say oil) or a system of liquid with trapped gas bubbles. I tought about using moist air models with a "fake water" model but it does not allow computations with condensed "water" on the pipeline. Does anyone know a model for this kind of situation?

Answers (1)

Yifeng Tang
Yifeng Tang on 14 Jul 2022
For the first case (air carrying liquid droplets), it MAY be possible to use MA domain and use the trace gas part of the model to trace the liquid fraction. You'll need to fake the properties of trace gas so it doesn't impact much on the pressure and density of the air. Using the trace gas part may be easier than the water part, because there are less properties that you need to fake.
For the second case, if you are not worried about temperature change and the change of trapped gas faction during the simulation, the isothermal liquid or hydraulic (not recommended) domain allows you to have entrained air as part of the fluid properties. If you do need to track those changes, I believe you'll need a custom domain, most likely based on the thermal liquid domain. This question on modeling electrolyte may give you some ideas.
Speaking of a custom domain, the same idea may work also for the first case: tracking the concentration/fraction of liquid droplets as a "passive" scalar, on top of the existing Gas domain, which is a bit easier to handle than MA.
Good Luck and Happy Modeling!

Categories

Find more on Thermal Liquid Library in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!