CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development


Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   January 15, 2013, 08:03
Default twoFluidRhoSimpleFoam
Super Moderator
Tobi's Avatar
Tobias Holzmann
Join Date: Oct 2010
Location: Leoben (Austria)
Posts: 1,872
Blog Entries: 6
Rep Power: 32
Tobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hey all,

I wanna build a two fluid solver for research of mixing two different fluids (e.g. methan + air).

I can use the reactingFoam solver but thats too expensive (calculation time).
I made a scalarRhoSimpleFoam which gives good results but I am mixing Air/Air. Inlet 1 = scalar = 0 || inlet2 = scalar = 1.

So I consider the mixing of the added conserved scalar but due to the same density of the inlets (air / air) there is an error.

I made an compare of my solver and the reactingFoam solver (added pictures).
You can see that the reactingFoam solver gives a better result due to the density of the different fluids and therefor you ll get other velocity values and other mixing values.

So I thought building a solver which uses two fluids (constant/transportProperties or thermodynamics) with different physical properties it should be possible to be more accurate then the scalar solver. Is that right?

How can I manage that?
I dont wanna get a complete solution but some ideas what 's necessary would be very nice.

Thanks tobi
Attached Images
File Type: jpg Vergleich.jpg (72.7 KB, 11 views)
Tobi is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT -4. The time now is 19:14.