|
[Sponsors] |
November 5, 2015, 09:19 |
results depends on time step
|
#1 |
Senior Member
Mieszko Młody
Join Date: Mar 2009
Location: POLAND, USA
Posts: 145
Rep Power: 17 |
Dear Foamers,
I encountered a worrying problem , the results depend on the time step, even if the Cu number is much smaller than 1. It happens in sonicFoam and reactingFoam. e.g. I had significantly different results changing time step from 1e-5 to 2e-5. (Cu number ~ 0.15 and 0.3 respectively). Any thoughts, comments ? thx ZMM |
|
November 5, 2015, 10:31 |
|
#2 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
Half your time step again and check if you see any convergence. There is nothing particularily worrying about the time step dependence of your simulation. Co<1 is a guideline for stability, not accuracy.
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
|
November 5, 2015, 10:31 |
|
#3 |
Senior Member
Join Date: Oct 2013
Posts: 397
Rep Power: 19 |
It's quite possible that you still have numerical errors with these time step sizes. To rule this out, successively decrease the time step size until the results don't change anymore.
|
|
November 5, 2015, 11:12 |
|
#4 |
Senior Member
Mieszko Młody
Join Date: Mar 2009
Location: POLAND, USA
Posts: 145
Rep Power: 17 |
Yes,
that is true, but I observed as well, that calculations with smaller time steps gets unstable. e.g. having some reasonably changes in the results with decreasing time step, there is a min time step below which the calculations gets numerically unstable... which seems to be counterintuitive, because there should be a minimal time step below which there is no further changes in the results. thanks for your reply ZMM |
|
November 6, 2015, 10:17 |
|
#5 |
Member
Christa
Join Date: Apr 2011
Posts: 53
Rep Power: 15 |
Have you tried refining your mesh? If your mesh is too coarse you may have to refine it until, again, you don't get any different results. Then you may get stable and accurate solutions for larger timesteps.
|
|
Tags |
reactingfoam, sonicfoam, time step |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Floating point exception error | lpz_michele | OpenFOAM Running, Solving & CFD | 53 | October 19, 2015 03:50 |
Star cd es-ice solver error | ernarasimman | STAR-CD | 2 | September 12, 2014 01:01 |
Help for the small implementation in turbulence model | shipman | OpenFOAM Programming & Development | 25 | March 19, 2014 11:08 |
dynamic Mesh is faster than MRF???? | sharonyue | OpenFOAM Running, Solving & CFD | 14 | August 26, 2013 08:47 |
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 | bookie56 | OpenFOAM Installation | 8 | August 13, 2011 05:03 |