CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

controlling timestep decrease

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 1, 2013, 10:59
Default controlling timestep decrease
  #1
Member
 
benoit paillard
Join Date: Mar 2010
Posts: 42
Rep Power: 7
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

Reply

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 11 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 18:50
Use of Timestep in obtaining solution. hagupta CFX 7 February 28, 2006 14:14


All times are GMT -4. The time now is 15:18.