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

Specifying timestep

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 29, 2007, 13:47
Default Specifying timestep
  #1
carlos
Guest
 
Posts: n/a
Hi all,

Can anyone tell me how to specify using CCL expresions an specific timestep for a given number of iterations and then change it for the rest.

Thanks,

  Reply With Quote

Old   May 29, 2007, 14:19
Default Re: Specifying timestep
  #2
Robin
Guest
 
Posts: n/a
Hi Carlos,

You mean CEL (CFX Expression Language) expression, not CCL.

You can either use a step function or an easier way is to create a 1D profile and use it for your timestep. The input to the step function of profile would be either the current iteration number (citern) or the absolute iteration number (aitern). The absolute iteration number continues to increase across restarts whereas the current iteration number is only for the current run.

Say you wanted to switch from .001 [s] to .01 [s] after 30 iterations, the step function would be:

timestep = .01 [s]*step(aitern-30) + .001 [s]*step(30-aitern)

The argument to a step function must be unitless (which the iteration number is) and returns 0 if the argument is less than zero, 0.5 if it is equal to zero and 1 if it is greater than zero.

Regards, Robin
  Reply With Quote

Old   June 5, 2007, 15:54
Default Re: Specifying timestep
  #3
hannah
Guest
 
Posts: n/a
Hi, Robin, would you like to tell me where I can put this time step function in Pre? I use CFX 10 now?

Thank you for your advice.

Hannah
  Reply With Quote

Old   June 9, 2007, 08:06
Default Re: Specifying timestep
  #4
carlos
Guest
 
Posts: n/a
Hi hannah,

You have to specify this at the solver control manually. On the solver tree, do rigth click on Solver control > Edit in Command Editor and then modify the corresponding line.

Regards,

Carlos.
  Reply With Quote

Old   June 11, 2007, 09:50
Default Re: Specifying timestep
  #5
hannah
Guest
 
Posts: n/a
thanks carlos for your replying. I open the Pre and enter the solver control section.Do I need to modify the whole CONVERGENCE CONTROL section contents with the commands you guys present here?

Thanks for your further comments.

Hannah

  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
Restart 2-way FSI with different timestep? Lance CFX 10 April 17, 2013 00:37
Timestep study ijk CFX 6 April 9, 2010 07:38
interTrackFoam timestep virginie_e OpenFOAM Running, Solving & CFD 4 April 6, 2009 05:02
Use of Timestep in obtaining solution. hagupta CFX 7 February 28, 2006 13:14
Timestep selection Jindra Kosprdova CFX 9 April 28, 2005 06:41


All times are GMT -4. The time now is 00:35.