|
[Sponsors] |
June 12, 2019, 11:31 |
How to set deltaT in controlDict?
|
#1 |
Senior Member
Raza Javed
Join Date: Apr 2019
Location: Germany
Posts: 183
Rep Power: 7 |
Hello Everyone,
I have a question related to deltaT in controlDict. What things do I need to consider while choosing the deltaT? I am running my simulation, there is a fluid flow in my case, and velocity of fluid is in range of 1e-3 m/s to 1.5 m/s. but my residuals for velocity are not getting down. I exactly don't know but could it be also because of my deltaT because solver seems to be working, but the velocity residuals are very high (between 0.003 to 0.01). Do I need to set deltaT by keeping in mind my velocity of fluid? I shall be very thankful if someone can help me out in this. Thank you |
|
October 9, 2023, 20:30 |
|
#2 |
New Member
Johannes
Join Date: Feb 2023
Posts: 6
Rep Power: 3 |
Have a look at the Courant Number and the Courant–Friedrichs–Lewy condition.
|
|
October 10, 2023, 15:08 |
|
#3 |
Senior Member
Saeed Jamshidi
Join Date: Aug 2019
Posts: 214
Rep Power: 8 |
On the basis of my information, there are two ways for setting delta t:
First and easiest way is working with courant number directly; in controlDict set adjustableTimeStep to true. Second way is to manually calculate time step. You should take the smallest cell volume (3D) and adapt your time step on the basis of it. See attached file. However, in my opinion, it's better to use forst way, because the second way automatically is done by openfoam. Good luck. |
|
Tags |
controldict, openfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
feature or bug - deltaT issue | lakeat | OpenFOAM Running, Solving & CFD | 29 | August 8, 2020 02:34 |
Possible bug with stitchMesh and cyclics in OpenFoam | Jack001 | OpenFOAM Pre-Processing | 0 | May 21, 2016 09:00 |
Ansys SIG$ILL error | loth | ANSYS | 3 | December 24, 2015 06:31 |
Unexpected deltaT decrease in pimpleFoam simulation | robyTKD | OpenFOAM Running, Solving & CFD | 9 | June 27, 2014 07:52 |
[General] 2 datas on one plot | Akuji | ParaView | 46 | December 1, 2013 15:06 |