CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Mixture of two elements in a bubble (https://www.cfd-online.com/Forums/openfoam-solving/246597-mixture-two-elements-bubble.html)

edems86 December 12, 2022 05:35

Mixture of two elements in a bubble
 
Hello everyone,



I am new to OpenFOAM and working on my first project. The goal is to simulate the dynamic of a rising bubble (oil) in water.



I would like to specify that in the oil region, there are two chemical elements (acetronitrile and chlorobenzene) with their own volume fraction (0.48 and 0.52 resp.). The problem is, I have no idea how to do that. I have been searching on the Internet and on the OpenFOAM tutorials but I can not find any help.


Do you happen to know a test case using such a configuration or how to do that? I am using inerFoam, is it adapted for my project? A few people talk about a 'thermophysicalProperties' file but I do not know anything of this file.


Hope you will be able to help me out, thank you!

überschwupper December 12, 2022 07:47

interFoam isnt able to resolve the components inside your fluid. You need to use another solver for this purpose. The thermo library is able to do what you want.
Solvers which are using the thermo library in OF-Foundation (.org) versions are:
compressibleInterFoam
multiphaseEulerFoam


in ESI-Version (.com) there are some more:
same as above, but additionally
reactingTwoPhaseEulerFoam / reactingMultiPhaseEulerFoam

icoReactingMultiphaseInterFoam


All times are GMT -4. The time now is 12:00.