|
[Sponsors] |
September 8, 2012, 10:35 |
About changing time step at the CFX-solver
|
#1 |
Senior Member
Meimei Wang
Join Date: Jul 2012
Posts: 494
Rep Power: 15 |
Hi,
May I ask if there's any way to change the time step at the CFX-solver? So that when I want to change the time step to let the RMS converge I can stop the simulation and change it directly without going back to CFX-pre. Then start the running again with the result before changing the time step as the initial data. Thank you very much.
__________________
Best regards, Meimei |
|
September 8, 2012, 14:57 |
|
#2 |
Senior Member
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 17 |
Yes there is a button to edit the run in progress.
|
|
September 9, 2012, 07:22 |
|
#3 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143 |
For a stady state run use the edit run in progress option in the solver manager. For a transient state run use adaptive time stepping, converging on 3-5 coeff loops per iteration.
|
|
September 15, 2012, 19:08 |
|
#4 |
Senior Member
Meimei Wang
Join Date: Jul 2012
Posts: 494
Rep Power: 15 |
Thanks! But is there a way that I can set the change in advance and change it automatically during the running? Like I can set when the convergence stop, it changes its time step to another value. Or when it reaches a time step number (for example, like 500), it changes to another.
__________________
Best regards, Meimei |
|
September 15, 2012, 19:23 |
|
#5 |
Senior Member
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 17 |
Yes you can give multiple timesteps. See the section of the CFX manual entitled "Transient Timestep Control". You can give a comma separated list, but in your case it's probably better to write an expression that gives the timestep.
|
|
September 16, 2012, 05:50 |
|
#6 |
Senior Member
Meimei Wang
Join Date: Jul 2012
Posts: 494
Rep Power: 15 |
Thanks. But I work on the steady-state flow. And I always would like to change my time step from local time step of factor 5 to physical time step of 10^-4 in the middle of the simulation (when RMS doesn't decrease any more). How to make it changes automatically?
__________________
Best regards, Meimei |
|
September 16, 2012, 08:47 |
|
#7 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143 |
Set it up as two runs, one which does the local time step bit and a second which uses that as an initial condition for a physical time step run. The automate is by using a batch/script file so you can run it all from a single command.
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Reading forces from previous time step within solver | SD@TUB | OpenFOAM Programming & Development | 5 | April 24, 2023 12:51 |
High Courant Number @ icoFoam | Artex85 | OpenFOAM Running, Solving & CFD | 11 | February 16, 2017 14:40 |
InterFoam negative alpha | karasa03 | OpenFOAM | 7 | December 12, 2013 04:41 |
CFX Post: Problems with moving point cloud for changing time steps | spatialtime | CFX | 0 | December 7, 2009 05:56 |
Small time step and CFX solver crashing | Vanessa | CFX | 2 | June 21, 2006 10:18 |