# Spurious currents using interFoam (OF 1.6)

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

 October 4, 2009, 17:45 Spurious currents using interFoam (OF 1.6) #1 New Member   Peter Wulf Join Date: Oct 2009 Location: Hamburg, Germany Posts: 3 Rep Power: 9 Sponsored Links Dear Foamers, I did some simple tests with interFoam (OF 1.6) on a fluid resting in a half filled squared box (2D) with gravity acting normal to the surface and found that spurious currents are appearing in the 2nd phase (air) after a while. The case is very similar to the damBreak tutorial: The mesh is somewhat simpler as it is only a square and it is filled from left to right wall. The surface tension is set to zero. Fluid properties & BC are the same as they are in the damBreak tutorial. The magnitude of the spurious currents is much higher when I use a mesh with hex-cells with dy/dx=2 and is much lower when dy/dx=0.5 (dx is the cell width, dy is the cell height - parallel to the gravity vector). Can some please explain this to me or give me a link to a post where this was already discussed. I did not find anything. Thank you. Peter

 October 5, 2009, 12:07 correction #2 New Member   Peter Wulf Join Date: Oct 2009 Location: Hamburg, Germany Posts: 3 Rep Power: 9 Sorry, I mixed it up. The magnitude of the spurious currents is much higher when I use a mesh with hex-cells with dy/dx=0.5 (horizontally extended hex cells) and is much lower when dy/dx=2 (vertically extended hex cells). However, the problem remains.

October 5, 2009, 18:39
#3
New Member

Paul Schiefer
Join Date: Sep 2009
Posts: 25
Rep Power: 9
Quote:
 Originally Posted by peterW Can some please explain this to me or give me a link to a post where this was already discussed. I did not find anything. Thank you.
This forum has a search function. Search for "spurious currents" and read the thread "About interFoam solver".

This problem is mentioned every few weeks. I think here is the last one:
http://www.cfd-online.com/Forums/ope...ht=atmospheric

I don't know if your mesh dimensions are relevant for the problem. InterFoam seems to be broken for every case like this. If you could upload your simple tests, this will help to discuss the failure.

Paul

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post francesco_b OpenFOAM Running, Solving & CFD 8 July 31, 2013 02:29 azman OpenFOAM Running, Solving & CFD 2 January 7, 2013 14:47 niudie OpenFOAM Installation 13 April 26, 2011 00:48 sxhdhi OpenFOAM Running, Solving & CFD 3 May 5, 2009 21:58 Xiaofeng Liu (Liu) OpenFOAM Running, Solving & CFD 8 October 26, 2005 21:38