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

Different solutions among different computers

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 2, 2012, 14:14
Default Different solutions among different computers
  #1
New Member
 
Juanito
Join Date: Oct 2010
Posts: 27
Rep Power: 16
Aerospace is on a distinguished road
Hello Foamers

I am running a supersonic case with OF (sonicFoam) and i would like to share this annoying experience in order to read your advices.

I have 3 different computers with 3 different version of OF. One has Ubuntu with OF2.0.0; Other has Ubuntu with OF2.0.1 and the other one has Suse with OF2.1.0.

When I run exactly the same case in them, they reach the same solution for UBUNTU computers, but completely different with SUSE one; they have almost the same numbers at the very begining of the simulation, but so different a few iterations later that UBUNTU seems to get a solution and in SUSE the courant number rises so much that diverges.

I have attached the logs of the simulation of both of them if you want to take a look.

Shouldn't get all of them the same (although not exactly) solution? Any comment? Remember that i run exactly the same case: same BCs, same schemes, same initial conditions, etc.

Thanks in advance.
Attached Files
File Type: txt logSUSE.txt (31.0 KB, 9 views)
File Type: txt logUBUNTU.txt (31.0 KB, 3 views)
Aerospace is offline   Reply With Quote

Old   October 3, 2012, 04:09
Default
  #2
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
Test ubuntu with OF-2.1, or SuSE with OF-2.0.1
__________________
*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   October 4, 2012, 13:00
Default
  #3
New Member
 
Juanito
Join Date: Oct 2010
Posts: 27
Rep Power: 16
Aerospace is on a distinguished road
Thank you for your answer.

As you told me I have tested ubuntu with OF-2.1 and it reaches the same solution that suse OF-2.1. (thing that i should have tested before post the thread) Thank you for the observation.

But, it makes me think about this: if OpenFOAM release notes for the new version say nothing about changes in this solver, can anybody tell me why different versions reach different solutions for the same case? Because it is not very usual that the old version finds a solution while the new one diverges.

Regards
Aerospace is offline   Reply With Quote

Old   October 4, 2012, 13:16
Default
  #4
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
If it's exactly the same case, and the non-diverging solution makes sense, I would post a report along with the case on the official bug tracker.
__________________
*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   October 5, 2012, 08:05
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

Before reporting, I would advise to check with OpenFOAM 2.1.1 and 2.1.x as well.
Additionally, it would be helpful to have access to a simple example case that would replicate the problem, specially when you do the bug report!

Last but not least: although solvers themselves don't change, the boundary conditions and other internal algorithms keep evolving and the cases usually need to be adjusted to the new ways of defining the boundary conditions, fvSchemes, fvSolutions and so on. Therefore, it's advisable to compare the reference tutorials between versions, for those you've based your cases on.

As a good example of code evolution, check this bug report: http://www.openfoam.org/mantisbt/view.php?id=627

edit: I forgot to mention that numerical sensitivity can also change between versions!

Best regards,
Bruno
__________________

Last edited by wyldckat; October 5, 2012 at 08:06. Reason: see "edit:"
wyldckat 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
Pressure drop calculation and comparison to analytic solutions n0name STAR-CCM+ 2 August 16, 2012 04:36
multiple solutions using Fluent Hanjie Lee FLUENT 3 August 15, 2006 18:21
Analytical flow solutions Antonio Main CFD Forum 0 December 14, 2005 16:43
Analytical flow solutions Antonio Main CFD Forum 0 November 15, 2005 18:47
Exact solutions zhor Main CFD Forum 4 May 13, 2001 12:26


All times are GMT -4. The time now is 23:58.