|
[Sponsors] |
May 19, 2015, 16:38 |
UDF for varying max iterations for time step
|
#1 |
New Member
Juan Man
Join Date: Apr 2015
Posts: 6
Rep Power: 11 |
Hi everybody!
What i want to do is to use a greater number of iterations in the first time steps and fewer afterwards. Is it possible using UDFs? Or should I do it manually? Thanks. Juan |
|
May 19, 2015, 17:46 |
|
#2 |
Senior Member
Join Date: Mar 2015
Posts: 892
Rep Power: 18 |
Changing the number of iterations per time step is possible with a Scheme file which can be run at each (or every so often) iteration or time step using Calculation Activities. Include an if statement to set how many iterations per time step is used as a function of time (or otherwise). You'll need the equivalent TUI command and apply this setting with ti-menu-load-string.
|
|
May 20, 2015, 09:25 |
|
#3 |
New Member
Juan Man
Join Date: Apr 2015
Posts: 6
Rep Power: 11 |
Thanks for your answer`e`.
I haven't used Scheme yet, I'm going to do some research and see what i can do. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
settlingFoam unstable? | bendel_boy | OpenFOAM Running, Solving & CFD | 38 | July 8, 2016 06:07 |
Compressor Simulation using rhoPimpleDyMFoam | Jetfire | OpenFOAM Running, Solving & CFD | 107 | December 9, 2014 14:38 |
dynamic Mesh is faster than MRF???? | sharonyue | OpenFOAM Running, Solving & CFD | 14 | August 26, 2013 08:47 |
Convergence moving mesh | lr103476 | OpenFOAM Running, Solving & CFD | 30 | November 19, 2007 15:09 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |