CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

How to model the mixing of two gases

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 25, 2024, 03:33
Default
  #21
New Member
 
Carmelo Baronetto
Join Date: Dec 2023
Posts: 29
Rep Power: 2
Carmelo98 is on a distinguished road
Thank you, indeed I can see some diffusion.
I tried also the case of two gases at different temperature. Also in this case, diffusion occurs.
I compared results obtained with reactingFoam and rhoCentralFoam for temperature diffusion:

1) For very high viscosity, both simulations give same results;
2) For real viscosity values, diffusion is much more faster in rhoCentralFoam.
I have to invastigate further and compare numerical results with analytical solutions.
I don't know if anyone else has encountered these strange behaviors of the solvers.
Thank you
Carmelo98 is offline   Reply With Quote

Old   January 26, 2024, 10:16
Default
  #22
New Member
 
Carmelo Baronetto
Join Date: Dec 2023
Posts: 29
Rep Power: 2
Carmelo98 is on a distinguished road
Quote:
Originally Posted by Carmelo98 View Post
Thank you, indeed I can see some diffusion.
I tried also the case of two gases at different temperature. Also in this case, diffusion occurs.
I compared results obtained with reactingFoam and rhoCentralFoam for temperature diffusion:

1) For very high viscosity, both simulations give same results;
2) For real viscosity values, diffusion is much more faster in rhoCentralFoam.
I have to invastigate further and compare numerical results with analytical solutions.
I don't know if anyone else has encountered these strange behaviors of the solvers.
Thank you
I run more simulations and I got very strange (and wrong) results.
First of all, reactingFoam seems to work well.

The problem is with rhoCentralFoam.
If I set viscosity:

\mu=0
I got these results:
  1. if I use a coarse mesh (\Delta x=0.1) small diffusion occurs for a time simulation of 1(sec)
  2. If I use a fine mesh (\Delta x=0.01), for a time simulation of 1 (sec) results are completely wrong
I have attached files of these two cases, so that anyone can easily check what I'm saying.
https://we.tl/t-C0GA4p2ap3

It's really strange beacuse for inviscid flow, rhoCentralFoam should directly avoid to solve Navier-Stokes equations.
Thank you
Carmelo98 is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
mixing plane model: too much backflow and does not converge sbhi FLUENT 1 December 4, 2014 00:31
Water subcooled boiling Attesz CFX 7 January 5, 2013 03:32
fluid zone in mixing & transport reaction model rahulangal FLUENT 0 June 6, 2010 11:40
multiphase mixing Problem with MRF model in MixSim Srinivas FLUENT 0 October 17, 2005 06:35
Floworks: Mixing and thermal analysis of two gases Jay Nelson Main CFD Forum 0 June 14, 2005 18:29


All times are GMT -4. The time now is 21:33.