|
[Sponsors] |
Numerical instability using "small" time step |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 20, 2016, 05:52 |
Numerical instability using "small" time step
|
#1 |
New Member
Pierluigi Olmati
Join Date: Apr 2016
Location: Tokyo
Posts: 21
Rep Power: 10 |
Hi All,
I am experiencing a numerical instability (I think) when the time step goes small as 5E-5 or 1E-5 seconds. I am simulating a gas explosion with XiFoam and I would like to keep the Courant number smaller than 1 thus my time step is 5E-5 - 1E-5 seconds for a 50 - 25 millimeters mesh modeling a 4x4x3 meters chamber. I would like to highlight that a so small time step is common in combustion but seems something, that I am not able to debug, causes a numerical instability. Velocity and pressure drop and the combustion stops at a certain time when the time step goes smaller than around 8E-5 seconds; this is the numerical instability I am experiencing. Currently I am trying to avoid this issue allowing a Courant number up to 3 and keeping the time step large enough. Please let me know if you experienced something similar also using different solvers. Thanks, Pierluigi |
|
September 20, 2016, 12:40 |
|
#2 |
New Member
|
Hi Pier84,
I would recommend you to use adjustable time-steps, i.e. time step control by openfoam. You can tell the solver to adjust the time steps such that a predefined value of the courant number is not exceeded. You can check the Breaking of a Dam example to look how time-step control is configured in openfoam, http://cfd.direct/openfoam/user-guide/dambreak/ Good luck! Lesh |
|
September 20, 2016, 22:23 |
|
#3 |
New Member
Pierluigi Olmati
Join Date: Apr 2016
Location: Tokyo
Posts: 21
Rep Power: 10 |
Hi Lesh,
Thank you for your reply. I am already using adjustable time-steps. Sorry I did not specify it explicitly. Adjustable time-steps is the reason why my time step decreases unfortunately until a small value that causes the "numerical instability" I mentioned. Thanks, Pierluigi Last edited by Pier84; September 21, 2016 at 06:23. |
|
September 21, 2016, 20:45 |
|
#4 |
New Member
|
Hi Pier84,
sorry, I didnt know that you're already using adjustable time steps :-). In this case I'm sure that the solver is running into a singularity for some reason, and that also explains why it frequently tries to decrease the time steps. You should check your boundary conditions and initial conditions. Also verify whether your problem is well defined, such that the solver is able to find a (hopefully) reasonable physical solution. Best, Lesh |
|
December 7, 2016, 21:57 |
|
#5 |
New Member
Pierluigi Olmati
Join Date: Apr 2016
Location: Tokyo
Posts: 21
Rep Power: 10 |
Hi,
It is something in the solver that cannot be fixed right now. Increasing the time step or the mesh size solves the issue. Cheers, PO |
|
October 23, 2019, 04:56 |
|
#6 |
New Member
anonymous
Join Date: Sep 2018
Posts: 2
Rep Power: 0 |
Hello to all,
I know that this post is old. However, I am currently using Xifoam to simulate hydrogen combustion, more likely based on the same experiment as Pier84, and I faced similar issues. With certain grids when using Courant number equal to 0.5 the simulation fails: pressure drops abruptly and it is as if the flame front stops moving. It would be really helpful if you could please let me know if you managed to solve the issue or if anyone else have faced similar problem. Thanks |
|
January 15, 2020, 07:39 |
Time Step gradually decreasing to very low value
|
#7 | |
Member
Vivek
Join Date: Mar 2018
Location: India
Posts: 54
Rep Power: 8 |
Quote:
I am too having similar problem with time step gradually decreasing to very low value , mean CFL number as well. Here, If i want to lookup numerical settings, what would you check if someone has managed to overcome deltaT issues ? |
||
May 6, 2020, 12:08 |
unstable at small time-step (Courant Number)
|
#8 |
New Member
Phil
Join Date: Mar 2011
Location: West Des Moines, Iowa, U.S.A.
Posts: 17
Rep Power: 15 |
For what it's worth, I have not run XiFoam, so I'm afraid I can't help you there, but I have encountered what sounds like a very similar problem https://www.cfd-online.com/Forums/showthread.php?t=172144. Have you tried running reactingFoam or some other combustion solver? This problem may be more systemic than just one or two solvers.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field | lakeat | OpenFOAM Community Contributions | 58 | December 23, 2021 03:36 |
AMI speed performance | danny123 | OpenFOAM | 21 | October 24, 2020 05:13 |
High Courant Number @ icoFoam | Artex85 | OpenFOAM Running, Solving & CFD | 11 | February 16, 2017 14:40 |
plot over time | fferroni | OpenFOAM Post-Processing | 7 | June 8, 2012 08:56 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |