CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

controlling timestep decrease

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

LinkBack Thread Tools Display Modes
Old   December 1, 2013, 09:59
Default controlling timestep decrease
benoit paillard
Join Date: Mar 2010
Posts: 72
Rep Power: 10
bennn is on a distinguished road
Hi all,

I'm running unsteady simulations for which there's a long, uninteresting transient behavior, and then the final 10-20% are relevant. This is due to wake development and convection.

For the initial transient part I run at a timestep approximately 10 times larger than the appropriate one. Then I reduce it at the very end when the wake is formed.

My question is : is there a way to have that timestep reduced automatically while the computation runs, by changing it with a python script or whatever in the controlDict, after a predefined computation time ?

Courant-controlled timestep is useless here, and I do not want to go through a restart (this is what I'm doing right now and I'd like to change that.)

Thanks !
bennn is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Modifying sonicFoam to run with variable timestep - strange results dalaron OpenFOAM Programming & Development 1 September 2, 2013 07:21
Restart 2-way FSI with different timestep? Lance CFX 10 April 17, 2013 00:37
Timestep and Pressure Correction Relationship in SIMPLE rks171 Main CFD Forum 23 May 4, 2012 01:04
Adequate timestep selection for multidomain problem gerardosrez CFX 6 November 28, 2010 17:50
Use of Timestep in obtaining solution. hagupta CFX 7 February 28, 2006 13:14

All times are GMT -4. The time now is 02:47.