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

Bug/Problem: sonicFoam results depend on relaxation factor

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 22, 2015, 07:49
Default Bug/Problem: sonicFoam results depend on relaxation factor
  #1
Senior Member
 
Join Date: Oct 2013
Posts: 397
Rep Power: 19
chriss85 will become famous soon enough
I'm currently experiencing a problem with sonicFoam in regards to relaxation.

I'm getting different results with sonicFoam when changing the relaxation factors of U/e. From my understanding the relaxation factors should only affect the stability and convergence speed of the iterative procedure during one time step.
I make sure that the result is fully converged by looking at the evolution of the residuals and maximum field values and then running some more iterations.

This result is mostly noticeable when using very high temperatures (my case: dense plasmas, T~50000 K). It is easily visible in the tutorial cases like forward step when the temperature is increased to 50000 K and different relaxation factors are tested. Convergence speed and stability behaves as expected but results are different by a small amount. I suspect this is a numerical problem as this error seems to get larger with increasing temperatures.

Can anyone shed some light on this? If I don't get unique solutions, which are most valid?

I have attached a test case based on sonicFoam. If you monitor the maximum field values for a few time steps you will see a difference when relaxation factors are modified (say 0.1 vs. 0.3, but also with higher values). Furthermore I attached some screens that show the numerical difference (on another mesh though). I'm currently testing if this error is adding up by calculating larger time spans, as the significance of this error is not known for the final result of a calculation.
Attached Images
File Type: jpg sonic0.1_50000.jpg (65.5 KB, 19 views)
File Type: jpg sonic0.3_50000.jpg (65.0 KB, 13 views)
File Type: jpg sonic0.5_50000.jpg (65.3 KB, 9 views)
File Type: jpg sonic0.7_50000.jpg (65.1 KB, 10 views)
Attached Files
File Type: zip forwardStepConvergence.zip (7.1 KB, 4 views)
chriss85 is offline   Reply With Quote

Old   November 5, 2015, 09:22
Default
  #2
Senior Member
 
Mieszko Młody
Join Date: Mar 2009
Location: POLAND, USA
Posts: 145
Rep Power: 17
ziemowitzima is on a distinguished road
Dear Chriss

I encountered different, but similar problem to yours. Could you look here:
http://www.cfd-online.com/Forums/ope...tml#post572034

best
ZMM
ziemowitzima 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
Suitable range of relaxation factor for VOF boiling cases? manupp STAR-CCM+ 1 February 4, 2020 07:07
Lets talk about relaxation factor optimization chriss85 OpenFOAM Running, Solving & CFD 35 June 21, 2019 10:54
sprayFoam results depend on the type of chemistryReader (chemkinReader/foamChemistry arash1 OpenFOAM Running, Solving & CFD 1 April 2, 2012 13:47
help: results depend on writeInterval ckoch OpenFOAM 2 September 1, 2010 19:42
Influence of relaxation factor on the final result bylin FLUENT 4 December 27, 2003 11:32


All times are GMT -4. The time now is 01:24.