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

Slightly different results between parallel and serial run. Which results to trust?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 9, 2018, 08:11
Default Slightly different results between parallel and serial run. Which results to trust?
  #1
Member
 
Join Date: Nov 2016
Posts: 73
Rep Power: 9
h0rst is on a distinguished road
Hello everybody,

I am considering a heated tube that is flowed though by water.

I made simulations in LES with serial and with parallel solvers and found out that there are slightly different results in temperature distribution.

Why is there a difference and can I avoid it? Can I trust the serial values more than I can trust the parallel ones?

Thank you, h0rst
h0rst is offline   Reply With Quote

Old   March 9, 2018, 17:43
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,668
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Are you using QUICK?

When you run in parallel the grid is chopped up into many partitions. Only the information at partition boundaries can be shared. So, some discretization schemes (such as QUICK) cannot be used on cells near partition boundaries. In the QUICK, Fluent switches to 2nd order upwind at boundaries.
LuckyTran is offline   Reply With Quote

Old   March 10, 2018, 05:47
Default
  #3
Member
 
Join Date: Nov 2016
Posts: 73
Rep Power: 9
h0rst is on a distinguished road
I don't know what QUICK is so I guess I don't use it

So as I understand parallel processing can make issues in some cases so I should better rely on the results from serial processing.
h0rst is offline   Reply With Quote

Old   March 12, 2018, 02:20
Default
  #4
Senior Member
 
Kumaresh
Join Date: Oct 2016
Posts: 347
Rep Power: 11
Kummi is on a distinguished road
Send a message via Yahoo to Kummi
Hello h0rst,
Could you please post your residual plots for serial and parallel processing. Might help to resolve your problem..
Kummi is offline   Reply With Quote

Old   March 12, 2018, 17:10
Default
  #5
Member
 
Join Date: Nov 2016
Posts: 73
Rep Power: 9
h0rst is on a distinguished road
Hello Kummi,

attached you find the plots of each residuals.

After 11 iterations, the results are more or less the same. But if I run 1000 iterations, than there is a bigger difference.

Maybe this has something to do with the fact that I have quite high values concerning convergation at the moment (0,1).


Best regards
h0rst
Attached Images
File Type: jpg residuals_parallel_serial.jpg (74.4 KB, 35 views)
h0rst is offline   Reply With Quote

Old   March 12, 2018, 20:26
Default
  #6
Senior Member
 
Kumaresh
Join Date: Oct 2016
Posts: 347
Rep Power: 11
Kummi is on a distinguished road
Send a message via Yahoo to Kummi
Hello h0rst,
I have faced the same error long ago. Guess there is more than one inlet condition in your work.
However, try to initiate your problem with "Hybrid Initialization" and compare your residuals and final solutions..

Thank you..Good day ^^
Kummi is offline   Reply With Quote

Old   March 13, 2018, 03:24
Default
  #7
Senior Member
 
Cees Haringa
Join Date: May 2013
Location: Delft
Posts: 607
Rep Power: 0
CeesH is on a distinguished road
Since you are using LES, are the results truly due to the way of solving, and not just due to the finite runtime of the simulation (I assume you are looking at averages in distribution?)
CeesH is offline   Reply With Quote

Old   March 13, 2018, 09:22
Default
  #8
Member
 
Join Date: Nov 2016
Posts: 73
Rep Power: 9
h0rst is on a distinguished road
I've changed to hybrid initilalization and it looks like the difference between the results have decreased. I need to run more iterations to say for sure.

I am running a transient simulation with LES but my model converges to a stationary state, where the heat from the tube and the cooling of the flowed through water reaches an equilbrium.
I am considering the temperature distribution in the heated tube afterwards and compare at the moment the maximum temperature when running in parallel and in serial mode.
h0rst is offline   Reply With Quote

Old   March 14, 2018, 03:05
Default
  #9
Member
 
Join Date: Nov 2016
Posts: 73
Rep Power: 9
h0rst is on a distinguished road
Hello,

I've run many iterartions now and the temperature difference decreases very much to a value that can be easily neglected.

Can you or someone explain the reason for that and if this approach (hybrid initialization) is recommended?


Best regards
h0rst
h0rst is offline   Reply With Quote

Old   March 14, 2018, 03:22
Default
  #10
Senior Member
 
Cees Haringa
Join Date: May 2013
Location: Delft
Posts: 607
Rep Power: 0
CeesH is on a distinguished road
In the end, it shouldn't matter, but for simulations with in- and outlets the hybrid initialization method produces a better initial guess for the velocity and pressure fields, as it already solves an approximative equation rather than posing constant values as regular initialization would do. And a better initial guess typically means fewer iterations to converge the problem.
CeesH is offline   Reply With Quote

Old   April 12, 2018, 01:41
Default
  #11
New Member
 
rudi purwo
Join Date: Aug 2017
Location: kanazawa
Posts: 2
Rep Power: 0
rudipewe is on a distinguished road
Send a message via Skype™ to rudipewe
Quote:
Originally Posted by h0rst View Post
Hello everybody,

I am considering a heated tube that is flowed though by water.

I made simulations in LES with serial and with parallel solvers and found out that there are slightly different results in temperature distribution.

Why is there a difference and can I avoid it? Can I trust the serial values more than I can trust the parallel ones?

Thank you, h0rst
Hello Horst,

I have the same problem. I knew from the fluent in my case, when using parallel setting the node position is become counted from smallest y position to the largest. The average value of the pressure (for example) is same, but if we counted the pressure related to the node position, it will be different. So my conclusion, if we considering the value of pressure or something else considering the node position the serial setting is the best and the parallel (in my case) totally become wrong. Unfortunately, serial setting is very slow it takes 5 days for 1 point of data/case meanwhile I can did it only 1 day using parallel setting.

Thank you
rudipewe 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
different results between serial solver and parallel solver wlt_1985 FLUENT 11 October 12, 2018 08:23
chtMultiRegionSimpleFoam: crash on parallel run student666 OpenFOAM Running, Solving & CFD 3 April 20, 2017 11:05
parallel run is slower than serial run (pimpleFoam) !!! mechy OpenFOAM 18 August 17, 2016 17:19
The results difference between parallel and serial run. Hkp OpenFOAM Running, Solving & CFD 2 April 17, 2014 02:26
serial run fine, but parallel run diverged phsieh2005 OpenFOAM Running, Solving & CFD 2 October 6, 2009 08:33


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