|
[Sponsors] |
January 27, 2020, 05:13 |
How to set up large timesteps?
|
#1 |
New Member
Ann
Join Date: Nov 2019
Posts: 6
Rep Power: 7 |
Hi there,
i'm not sure if it's even possible: I'd like to run a case for a long time (in future probably up to 4 weeks, so that the endtime is around 2.400.000 seconds). The details in between are not that important to me, so the timesteps can be large. In controlDict I tried to adjust the Courant Number maxCo (set it to 1000.000), timePrecision, writeInterval and deltaT, but every time i got errors. So my questions are: is it possible at all to run a case for such long time interval (with large timesteps/writeInterval) and if yes, how do i do this? Hope you can help me out! |
|
January 27, 2020, 05:24 |
|
#2 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
Hi
The best solution to large timesteps is to use the pimple algorithm the "right" way. https://openfoamwiki.net/index.php/O...hm_in_OpenFOAM https://holzmann-cfd.com/en/openfoam...rithm-analysis https://holzmann-cfd.com/en/publicat...nd-openfoam-v7 (Worth the €9.99) Most transient in-compressible tutorials utilize pimple, but in PISO mode. Using a Co = 1000 might be a stretch. You can maybe safely utilize a Co of 50 -> 200 depending on your flow type. Beware this is only for in-compressible transient simulations. If you are doing combustion, interface flow (VoF) etc. a Co below or equal to 1 would still be needed.
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
January 27, 2020, 05:43 |
|
#3 |
New Member
Ann
Join Date: Nov 2019
Posts: 6
Rep Power: 7 |
Hi Linnemann,
thanks for your quick reply! Well, I'm using rheoInterfoam (from rheoTools), it's a solver for incompressible, two-phase flows (VOF). I'm not sure, but I think it's using pimple: in "fvSolution": Code:
PIMPLE { nInIter 1; SIMPLEC true; nCorrectors 1; nNonOrthogonalCorrectors 0; } |
|
January 27, 2020, 07:19 |
|
#4 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
Well it depends on the level of accuracy you expect from your solution.
https://www.researchgate.net/post/is...gh_in_openFoam So even though you "can" have a high Co, the trade-off is between accuracy/stability and simulation time.
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
Tags |
controldict, large timestep, timestep, writeinterval |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
does Hyperthreading affect the application of UDF? | SJSW | Fluent UDF and Scheme Programming | 11 | October 10, 2018 23:28 |
CFD-Post: create chart from a large data set | Kosch | ANSYS | 0 | August 30, 2018 23:39 |
AMI memory leak? | MichiB | OpenFOAM Programming & Development | 14 | August 1, 2015 19:18 |
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found | piprus | OpenFOAM Installation | 22 | February 25, 2010 14:43 |
Help with GNUPlot | Renato. | Main CFD Forum | 6 | June 6, 2007 20:51 |