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

results depends on time step

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 1 Post By ziemowitzima
  • 1 Post By ziemowitzima

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 5, 2015, 09:19
Exclamation results depends on time step
  #1
Senior Member
 
Mieszko Młody
Join Date: Mar 2009
Location: POLAND, USA
Posts: 145
Rep Power: 17
ziemowitzima is on a distinguished road
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
Kummi likes this.
ziemowitzima is offline   Reply With Quote

Old   November 5, 2015, 10:31
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
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.
akidess is offline   Reply With Quote

Old   November 5, 2015, 10:31
Default
  #3
Senior Member
 
Join Date: Oct 2013
Posts: 397
Rep Power: 18
chriss85 will become famous soon enough
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.
chriss85 is offline   Reply With Quote

Old   November 5, 2015, 11:12
Default
  #4
Senior Member
 
Mieszko Młody
Join Date: Mar 2009
Location: POLAND, USA
Posts: 145
Rep Power: 17
ziemowitzima is on a distinguished road
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
Kummi likes this.
ziemowitzima is offline   Reply With Quote

Old   November 6, 2015, 10:17
Default
  #5
Member
 
Christa
Join Date: Apr 2011
Posts: 53
Rep Power: 14
user_of_cfx is on a distinguished road
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.
user_of_cfx is offline   Reply With Quote

Reply

Tags
reactingfoam, sonicfoam, time step

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
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


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