|
[Sponsors] |
September 29, 2015, 14:58 |
|
#21 | |
Senior Member
Join Date: May 2012
Posts: 546
Rep Power: 15 |
Quote:
My experience with stability is that it is usually catastrophic to be outside the stability region (i.e. quick divergence). As I understand from your previous posts (other threads) this might not be the case. Admittedly I have a hard time seeing that the solution would blow up really slow but this is the tricky part of CFD Last edited by Simbelmynė; September 29, 2015 at 14:58. Reason: spelling |
||
September 29, 2015, 19:27 |
|
#22 | |
Member
Join Date: Jul 2013
Posts: 55
Rep Power: 12 |
Quote:
I also believe that a higher order time discretization could exhibit the same behavior. |
||
September 30, 2015, 14:04 |
|
#23 |
Senior Member
Join Date: May 2012
Posts: 546
Rep Power: 15 |
Now I have tested many different time-steps for Re=1000 and if the time-step is close to the stability limit (my idea of stability limit, perhaps not the true one) the average L1 norm might go down to some low value (say 1e-8) and then begins to oscillate. If this is the onset of a slow divergence or not is something that I have not been able to prove.
Small time-steps yield machine precision results. Thanks for all input, I think this might be related to the convergence criteria, although I am not certain how to to correctly define it. I will try to test this on some commercial codes I have access to in order to understand the limits. |
|
January 26, 2016, 04:38 |
|
#24 |
Senior Member
Join Date: May 2012
Posts: 546
Rep Power: 15 |
Sorry to necro this old thread, but this topic bugs me.
I have updated my code to run a second order (still explicit) time stepping and for different time steps I get different results (very small differences though). The convergence criteria is met (1e-10) and convergence is monotone in all cases. It seems that this behavior is also present in SIMPLE formulations. Ferziger and Peric tested different relaxation parameters and found that they have an effect on the steady state solution. Seeing that the time-step in an explicit method is very similar to the relaxation factors in the SIMPLE-type methods, isn't is possible that the results are correct (i.e. that they can actually vary with the time-step)? regards |
|
January 26, 2016, 05:40 |
|
#25 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71 |
The local truncation error explains why, it has the time step therefore the magnitude has effect on the discretization error you measure
|
|
January 26, 2016, 07:43 |
|
#26 | |
Senior Member
Join Date: May 2012
Posts: 546
Rep Power: 15 |
Quote:
So do you suggest that I should always perform a time-step sensitivity analysis for the steady-state solution? |
||
January 26, 2016, 09:35 |
|
#27 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71 |
using explicit time marching scheme, the time step has effect on the solution
|
|
January 26, 2016, 10:22 |
|
#28 | ||
Senior Member
Join Date: May 2012
Posts: 546
Rep Power: 15 |
Quote:
Quote:
Many papers have grid sensitivity studies for steady state flows, but very few have time-step (or relaxation factor) sensitivity studies. Sure, the "relaxation error" might be several orders of magnitude smaller than the discretization error. Might be. |
|||
January 26, 2016, 11:36 |
|
#29 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71 |
I give you an example, very simple, in which the time step has effect in the solution using an explicit first-order accurate discretization.
Consider the equation d phi/dt + u d phi/dx = 0, u= constant>0. Such equation say that the solution is steady along the pathline (D phi /Dt = 0). Depending on the BC.s, you can have also steady solution in all the space. Using the FTUS discretization, the modified equivalent equation is d phi/dt + u d phi/dx = u*h*(1-c)/2 d2 phi/dx2 + ... and you can see that a steady state (d phi/ dt = 0) depends on c=u*dt/h, that is on the time step. For fixed h, the dt provide the slope of the numerical path-line that approximates the exact one. The same analysis is valid if you add the diffusive term to the equation. In general, the convergence analysis is performed for dt/h = constant, so that when you refine the spatial grid, the dt is diminuished according to the stability constraint. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 11:08 |
mixerVesselAMI2D's mass is not balancing | sharonyue | OpenFOAM Running, Solving & CFD | 6 | June 10, 2013 09:34 |
plot over time | fferroni | OpenFOAM Post-Processing | 7 | June 8, 2012 07:56 |
calculation diverge after continue to run | zhajingjing | OpenFOAM | 0 | April 28, 2010 04:35 |
Modeling in micron scale using icoFoam | m9819348 | OpenFOAM Running, Solving & CFD | 7 | October 27, 2007 00:36 |