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

Dam break example results different

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 18, 2017, 09:30
Question Dam break example results different
  #1
New Member
 
Vania
Join Date: Dec 2016
Posts: 13
Rep Power: 9
VLima is on a distinguished road
Hi there.

I am new to OpenFOAM and started testing some examples from the tutorial.
In the dam break problem my results are different from what is documented (see plots attached).
I was wondering if someone has any idea why these differences are observed and if all is ok with my installation or if something is missing.

Many thanks in advance for your time and help.

Vānia
Attached Images
File Type: png alpha_water_0.25.png (19.4 KB, 29 views)
File Type: png alpha_water_0.50.png (25.3 KB, 28 views)
VLima is offline   Reply With Quote

Old   June 15, 2022, 09:35
Default Re: Dam break example results different
  #2
New Member
 
Chris van Dijk
Join Date: May 2022
Location: Delft
Posts: 4
Rep Power: 3
chrisvandijk is on a distinguished road
Hi,


I have the same issue as you. My results are different for one and four cores.


Note that your figures look a lot like the ones in the tutorial (https://cfd.direct/openfoam/user-gui...k/#x7-520002.3), so I assume your results are right. However I don't know why the results are different, I'd also like to know the answer.


Greetings,
Chris
chrisvandijk is offline   Reply With Quote

Old   June 15, 2022, 11:46
Default
  #3
Senior Member
 
Domenico Lahaye
Join Date: Dec 2013
Posts: 725
Blog Entries: 1
Rep Power: 17
dlahaye is on a distinguished road
Do you obtain the same residual values for 1 and 4 processors?
dlahaye is offline   Reply With Quote

Old   June 16, 2022, 16:53
Default
  #4
New Member
 
Chris van Dijk
Join Date: May 2022
Location: Delft
Posts: 4
Rep Power: 3
chrisvandijk is on a distinguished road
Quote:
Originally Posted by dlahaye View Post
Do you obtain the same residual values for 1 and 4 processors?
The residual values are a bit different. The average of the final residuals for the last five timesteps for 1 core are 8.264e-8, for 4 cores it's 9.267e-8. This is probably correlated with the amount of iterations needed for convergence (again as an average of the last five timesteps: 52 for 1 core, 114 for 4 cores).


However, I'd say an error of less than 1e-7 shouldn't cause such a big discrepancy between the results for 1 and 4 cores.
chrisvandijk is offline   Reply With Quote

Old   June 17, 2022, 02:57
Default
  #5
Senior Member
 
Domenico Lahaye
Join Date: Dec 2013
Posts: 725
Blog Entries: 1
Rep Power: 17
dlahaye is on a distinguished road
I agree. No idea what else might cause the discrepancy.
dlahaye is offline   Reply With Quote

Old   August 10, 2022, 07:29
Default
  #6
New Member
 
Chris van Dijk
Join Date: May 2022
Location: Delft
Posts: 4
Rep Power: 3
chrisvandijk is on a distinguished road
Hi, I managed to find the answer (together with help from my thesis supervisors) in the meantime. The problem is the tolerances. If I edit my fvSolutions file and change all tolerances to 1e-18 or so, my results for one and four cores are much more similar.


Greetings,
Chris
chrisvandijk is offline   Reply With Quote

Reply

Tags
dam break results


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
Dam break with gate lifting Oldrich OpenFOAM Running, Solving & CFD 1 November 18, 2021 10:53
dam break problem sega Main CFD Forum 2 April 23, 2008 11:39
Zhou's dam break experiment Mary Main CFD Forum 1 November 19, 2007 11:47
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 12:24
Dam break // wet bed Mehdi BEN ELHADJ Main CFD Forum 4 August 24, 2000 07:39


All times are GMT -4. The time now is 18:12.