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

pseudo air flow produced by interFoam solver

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Phicau

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 11, 2018, 13:44
Default pseudo air flow produced by interFoam solver
  #1
lin
Senior Member
 
Hua Zen
Join Date: Mar 2009
Posts: 138
Rep Power: 17
lin is on a distinguished road
I encounter some strange flow problem with interfoam. The problem can be reproduced with a simple example modified with dambreak tutorial. I think if the initial phase interface is normal to gravity, there should no flow produced in the domain.
For the dambreak tutorial, I change the following line in setFieldsDict
box (0 0 -1) (0.1461 0.292 1);
to
box (0 0 -1) (0.584 0.292 1);

and run the case with interfoam. I expect the air and water should be at still state, meaning the velocity field should be zero everywhere, but as shown in the attachment, air flow are produced for this scenario. I have tested this with openfoam4 and openfoam6.

Is this reasonable?
Attached Images
File Type: png alpha.png (10.9 KB, 25 views)
File Type: png vel.png (12.4 KB, 34 views)
lin is offline   Reply With Quote

Old   August 22, 2018, 22:04
Default
  #2
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
Hi Zen,

this is known as parasitic currents or spurious currents. It is a well-known phenomenon. Do a quick search in the forum and you will find a lot of information about it.

Best,

Pablo
lin likes this.
__________________
Check out my new project: olaFlow --> The olaFlow Support Thread
Phicau is offline   Reply With Quote

Old   August 24, 2018, 04:01
Default
  #3
lin
Senior Member
 
Hua Zen
Join Date: Mar 2009
Posts: 138
Rep Power: 17
lin is on a distinguished road
Thanks Pablo for your suggestion. I have searched the forum on this topic and get more information. I find that most of them are related to the curvature calculation. For my demonstration example, the problem still exist even the surface tension is neglected, thus there is still more work needed for interFoam solver.

I still wonder:
1)whether this problem exist for commercial software?
2)Whether this issue contaminate the results of wave related computation, for example your contribution, the olaFlow solver?
lin is offline   Reply With Quote

Old   August 24, 2018, 04:41
Default
  #4
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
Hi Zen,

take a look at this Vukcevic, Jasak & Gatin reference, it might clarify things further:

http://navalhydro.wikkiltd.co.uk/wp-...7-Preprint.pdf

I have never encountered any contamination in any olaFlow results, even for cases in which surface tension is important (e.g. meniscus at the shoreline), since water is 1000 times denser. The only inconvenience is the decrease of dt due to the Courant number restrictions.
Nevertheless, people dealing with smaller scales, as studying microfluidics, really struggle with spurious currents, as you have probably read in the forum posts.

Best,

Pablo
__________________
Check out my new project: olaFlow --> The olaFlow Support Thread
Phicau is offline   Reply With Quote

Old   August 25, 2018, 09:09
Default
  #5
lin
Senior Member
 
Hua Zen
Join Date: Mar 2009
Posts: 138
Rep Power: 17
lin is on a distinguished road
Thanks Pablo for your info. I think this is what I want but I can not code it. Hope it will be in one of the release version soon. Thanks.
lin 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
compressible flow calculation error using rhoSimpleFoam solver student4326 OpenFOAM Running, Solving & CFD 7 November 2, 2015 12:34
interFoam solver for free surface flow past a circular cylinder tfuwa OpenFOAM Running, Solving & CFD 6 June 12, 2013 09:55
Simulation of air flow in a chamber Issa CFX 3 November 23, 2009 18:16
Open Channel Flow using InterFoam type solver sxhdhi OpenFOAM Running, Solving & CFD 3 May 5, 2009 22:58
Problems modeling subsonic engine air inlet with flow separation TWaung CFX 2 March 29, 2009 19:42


All times are GMT -4. The time now is 09:50.