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

VoF comparison for different openFoam Versions

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

Like Tree7Likes
  • 5 Post By flowgeek
  • 1 Post By flowgeek
  • 1 Post By Simbelmynë

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 5, 2023, 07:20
Default VoF comparison for different openFoam Versions
  #1
New Member
 
Alexander Meier
Join Date: Feb 2017
Posts: 15
Rep Power: 9
flowgeek is on a distinguished road
Howdy interFoamers,

Over the last few days I was trying to get a VoF case properly running with openfoam v9 - interFoam with/without MPLIC interface treatment.
I did get random crashes - so i dug into that rabbit hole to understand where i'm doing something wrong.

I ended up running the "damBreakWithObstacle" tutorial cases for different openfoam versions and got various results (visualization in the attached image):
  • openfoam v9 with MPLIC --> looks terrible, as there seems to be something wrong with the dynamic mesh refinements and it randomly crashes
  • openfoam v9 without MPLIC --> looks terrible as well
  • openfoam v10 with MPLIC looks nice until it crashes
  • openfoam v11 runs fine and looks nice
  • openfoam 2012 runs fine - with known ripple artifacts
  • openfoam 2012 with interIsoFoam runs fine and looks nice (with increased resolution compared to the tutorial case)

I did not expect to get such varying results even on the tutorial cases - maybe that helps others as well.
(and yes i'm aware i'm using old versions of OF - but that's what i have installed on the compute cluster at the moment...)

cheers
flowgeek
Attached Images
File Type: jpg interfoamComparison.jpg (50.7 KB, 82 views)
flowgeek is offline   Reply With Quote

Old   December 19, 2023, 17:37
Default
  #2
Member
 
Rishikesh
Join Date: Apr 2016
Posts: 63
Rep Power: 10
mrishi is on a distinguished road
I have noticed weird unstable behaviour in OF9 multiphase as well. The solver behaved far more poorly in controlling numerical perturbations etc, to the point that an initially stagnant laminar cylindrical bath with circular surface started to move around like a spinning coin on a table.
mrishi is offline   Reply With Quote

Old   January 8, 2024, 07:24
Default
  #3
Member
 
Lourenço SM
Join Date: Jul 2014
Location: Lisboa, Portugal
Posts: 40
Rep Power: 11
lourencosm is on a distinguished road
Nice post!

What about the calculation time of v2012 and v11?
The v11 is with MPLIC?

Cheers,
Lourenço
lourencosm is offline   Reply With Quote

Old   January 8, 2024, 09:42
Default
  #4
New Member
 
Alexander Meier
Join Date: Feb 2017
Posts: 15
Rep Power: 9
flowgeek is on a distinguished road
hi Lourenço

v11 was also with MPLIC.
On the simulation times --> can't check it anymore... deleted the files last week

cheers
lourencosm likes this.
flowgeek is offline   Reply With Quote

Old   January 8, 2024, 10:15
Default
  #5
Member
 
Lourenço SM
Join Date: Jul 2014
Location: Lisboa, Portugal
Posts: 40
Rep Power: 11
lourencosm is on a distinguished road
Regarding the time, do you have any approximate estimation?

Last edited by lourencosm; January 8, 2024 at 10:16. Reason: language correction, better undersanding
lourencosm is offline   Reply With Quote

Old   January 11, 2024, 02:24
Default
  #6
Senior Member
 
Simbelmynë's Avatar
 
Join Date: May 2012
Posts: 549
Rep Power: 16
Simbelmynë is on a distinguished road
Hi,


I can just confirm that I get the same behavior when comparing v10 and v11. v10 crashes without warning, i.e., residuals, time-step and Courant number looks fine before the crash. On different machines it can reach different simulation times before the crash.


I just copied the cases from the tutorial folders so I have not explicitly checked if they are identical in setup, other than controlDict and decomposePar.
flowgeek likes this.
Simbelmynë is offline   Reply With Quote

Old   January 11, 2024, 08:10
Default
  #7
Member
 
Lourenço SM
Join Date: Jul 2014
Location: Lisboa, Portugal
Posts: 40
Rep Power: 11
lourencosm is on a distinguished road
Quote:
Originally Posted by Simbelmynë View Post
Hi,
...I have not explicitly checked if they are identical in setup, other than controlDict and decomposePar.
Yet, this check is essential. I've found a similar behaviour some years ago, and it was due to different fvSchemes.
lourencosm is offline   Reply With Quote

Reply

Tags
interfoam, interisofoam, openfoam 10, openfoam 11, openfoam 2012

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] Using different MPI types and versions with OpenFOAM spaceprop OpenFOAM Installation 2 May 28, 2018 03:31
OpenFOAM 4.0 Released CFDFoundation OpenFOAM Announcements from OpenFOAM Foundation 2 October 6, 2017 05:40
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 January 5, 2016 03:18
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 cfd.direct OpenFOAM Announcements from Other Sources 2 August 31, 2015 13:36
Comparison of axisymmetric case, Starccm+ and OpenFOAM linnemann OpenFOAM Running, Solving & CFD 12 June 16, 2011 05:43


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