|
[Sponsors] |
May 29, 2007, 14:47 |
Specifying timestep
|
#1 |
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, |
|
May 29, 2007, 15:19 |
Re: Specifying timestep
|
#2 |
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 |
|
June 5, 2007, 16:54 |
Re: Specifying timestep
|
#3 |
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 |
|
June 9, 2007, 09:06 |
Re: Specifying timestep
|
#4 |
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. |
|
June 11, 2007, 10:50 |
Re: Specifying timestep
|
#5 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Restart 2-way FSI with different timestep? | Lance | CFX | 10 | April 17, 2013 01:37 |
Timestep study | ijk | CFX | 6 | April 9, 2010 08:38 |
interTrackFoam timestep | virginie_e | OpenFOAM Running, Solving & CFD | 4 | April 6, 2009 06:02 |
Use of Timestep in obtaining solution. | hagupta | CFX | 7 | February 28, 2006 14:14 |
Timestep selection | Jindra Kosprdova | CFX | 9 | April 28, 2005 07:41 |