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

VOF: Wrong results for low velocity flows

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By thomasArk47
  • 2 Post By thomasArk47

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 15, 2016, 09:17
Default VOF: Wrong results for low velocity flows
  #1
Member
 
Join Date: Mar 2014
Posts: 39
Rep Power: 12
Traction is on a distinguished road
Hey foamers,
In various interFoam and interFlow (interFoam with isoAdvector) trials I observed that the damBreak tutorial case does not lead to a steady and stable fluid behavior over time– even after increasing the simulation time to 1000s. I expected to observe some kind of damping which finally results in a smooth fluid behavior but right now I can see a lot of vertices, instabilities and artificial flows arising in both phases. It looks like they are formed in the air phase and pass through the gas/fluid interface to induce vertices inside the water phase.
For testing purposes I extended the damBreak tutorial case to “simulate” a calm fluid by just filling half of the domain with water. In doing so I also observed vertices in a similar manner which is physically wrong in my opinion.
I reproduced that with different OF versions (3.0.x, 4.1, foundation-dev, v1606+)

My main concern is that this disturbance also influences flows with low velocity areas or low velocity flows in general and as a consequence leads to wrong results. I noticed that by simulating low velocity channels.
Consequently I think this is an important topic to have a focus on and to exchange views about.

Has anyone experienced a similar behavior ? What is the reason for this ? Is it possible to achieve accurate results without spoiling physics / numerics ?
Maybe there also some ongoing projects to contribute to !?
Attached Images
File Type: png damBreak_dev_fine.png (145.0 KB, 102 views)
Traction is offline   Reply With Quote

Old   December 16, 2016, 16:38
Default
  #2
Member
 
Thomas Boucheres
Join Date: May 2013
Posts: 41
Rep Power: 13
thomasArk47 is on a distinguished road
Hello,

I'm interested (sorry my english is bad) to analyze your case.

OpenFOAM is a wonderfull toolbox but there are some pitchfalls around numerical behavior. Mainly with unstructured meshes and multiphase flows.

So can you send me all your files related to your case please? I will try to see if your problem falls into something I have already done.
thomasArk47 is offline   Reply With Quote

Old   December 17, 2016, 11:26
Default
  #3
Senior Member
 
Paulo Vatavuk
Join Date: Mar 2009
Location: Campinas, Brasil
Posts: 200
Rep Power: 18
vatavuk is on a distinguished road
Hi,

I think it would be interesting to report that issue in the bug tracking page in this link:
https://bugs.openfoam.org/my_view_page.php

Best Regards,
Paulo
vatavuk is offline   Reply With Quote

Old   December 19, 2016, 06:55
Default
  #4
Member
 
Join Date: Mar 2014
Posts: 39
Rep Power: 12
Traction is on a distinguished road
Hi,

I prepared 2 interFoam cases to reveal the main points I am concerned about. These cases were tested with the foundation-dev version.

The first one is a modified damBreak tutorial case. I initialized it with a uniform water level in the whole domain - so I basically excluded the dynamic break to have a more or less static situation. As you can see this leads to the generation of vertices and an unaccountable flow field in general.

The second example is a simple 2D channel with a low velocity inflow. As long as the inflow velocity is above 1.0m/s the flow field seems to be reasonable. By decreasing the inflow velocity to a value of 0.5m/s the oscillations start to form. These effects increase by decreasing the inflow velocity further on.
I attached an example with a velocity of 0.2m/s where you can see that the flow field is not like the expected uniform / parabolic flow. The resulting velocity peaks are above 0.3m/s !
Besides the physical aspects this extends the computational time - especially for large 3D cases.

For both cases I tried different configurations (BCs, turbulence, etc) to eliminate that this problem is related to inconsistent BC´s. By now I was not able to achieve improvements doing so.

As thomasArk47 mentioned maybe this is an expected numerical behavior ? I am not able to judge this because of my limited numerical knowledge so I am very interested to hear your thoughts.
Attached Images
File Type: jpg damBreak_mod_100s.jpg (105.1 KB, 61 views)
File Type: jpg lowVelocityChannel_2000s.jpg (82.9 KB, 64 views)
Attached Files
File Type: zip damBreakMod.zip (12.3 KB, 5 views)
File Type: zip lowVelocityChannel.zip (142.6 KB, 7 views)
Traction is offline   Reply With Quote

Old   December 19, 2016, 15:40
Default Ok
  #5
Member
 
Thomas Boucheres
Join Date: May 2013
Posts: 41
Rep Power: 13
thomasArk47 is on a distinguished road
Hello,

thanks for the input files.

I will try to inspect closely your cases.

PS: I have other things to do so don't worry if I take time...
Traction likes this.
thomasArk47 is offline   Reply With Quote

Old   December 20, 2016, 05:06
Default
  #6
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
akidess will become famous soon enough
Quote:
Originally Posted by Traction View Post
As thomasArk47 mentioned maybe this is an expected numerical behavior ? I am not able to judge this because of my limited numerical knowledge so I am very interested to hear your thoughts.
It's a well known problem. Typically in papers you'll find the test case of a static droplet, which is prone to exactly the same problems. Small errors in curvature calculation lead to stresses at the interface. You can find lot's of literature and threads on this very forum on "parasitic" or "spurious" currents.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Old   December 20, 2016, 06:44
Default Re
  #7
Member
 
Thomas Boucheres
Join Date: May 2013
Posts: 41
Rep Power: 13
thomasArk47 is on a distinguished road
Hello,

i have a look at your dambreak case and as Akidess says it falls into "something" like spurious current.

Nevertheless, in your case it is not related directly to the surface tension but rather to the density jump via the gravity field (g.X \nabla rho). A few remarks:
1- the magnitude of the oscillations is dependent on the mesh resolution (it converges say)
2- strongly dependent on the underlying integration scheme (mainly spatial one). Both on U and on alpha (it is better to use explicit integration for alpha with low Courant number, something like 0.1, possibly with sub cycling)

It seems that Jasak has recently worked aroung a new procedure to reduce this type of spurious currents. But I believe he didn't released the work (maybe he did it in the naval hydro pack but it is not free of charge)

I will have a look at your pipe simulation in order to check it is the same problem.
Traction and SHUBHAM9595 like this.
thomasArk47 is offline   Reply With Quote

Old   February 16, 2017, 05:51
Default Any updates
  #8
New Member
 
Bram De Jaegher
Join Date: Jan 2017
Posts: 2
Rep Power: 0
bramDeJaegher is on a distinguished road
Hi all

I'm currently struggling with the same issue, are there any updates on this post?

Regards,
Bram
bramDeJaegher is offline   Reply With Quote

Reply

Tags
dambreak, interflow, interfoam, vof


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
Review: Reversed flow CRT FLUENT 1 May 7, 2018 06:36
Difficulty in calculating angular velocity of Savonius turbine simulation alfaruk CFX 14 March 17, 2017 07:08
Get Maxwell ansoft results in ansys workbench and find the flow velocity in Fluent, i rrahman FLUENT 0 April 16, 2016 22:11
Velocity of flow v time MitsubishiEvo6 FLUENT 0 August 31, 2012 00:51
Problem with time average tangential velocity in swirl flow. lakhi FLUENT 5 July 18, 2012 17:28


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