|
[Sponsors] |
Euler equation reaches different steady-state solution with different time stepping |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Join Date: Jul 2024
Posts: 6
Rep Power: 2 ![]() |
Hi everyone,
I'm currently solving the Euler equation with the Lax method with matlab to see the transient behaviour of my gas parameters. Previous to this I have solved the steady-state Euler equation (both 1d) to know the steady-state solution. After fullfiting the CFL condition, with the Courant number ~0.33, I can well reproduce the steady-state solution, but if I keep reducing the time-stepping, I will reach another steay-state solution, which also looks more weird. This confuses me profundly, cause I think smaller time-stepping should produce the same steady-state solution, just with higher resolution. Can anyone help? |
|
![]() |
![]() |
![]() |
![]() |
#2 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,964
Rep Power: 73 ![]() ![]() ![]() |
Quote:
Could you better detail your flow problem? Is your scheme fully explicit? In principle, the solution should show convergence at constant CFL, that is reducing both the time ans the space step. Reducing only the the time step could highlight the remaining part of the local truncation error due to the spatial discretization. Post the figures of your solution. |
||
![]() |
![]() |
![]() |
![]() |
#3 | |
New Member
Join Date: Jul 2024
Posts: 6
Rep Power: 2 ![]() |
Quote:
Then does it mean the solution would change with different Courant number? In that case, how do I know which is the right solution? |
||
![]() |
![]() |
![]() |
![]() |
#4 | |
New Member
Join Date: Jul 2024
Posts: 6
Rep Power: 2 ![]() |
Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#5 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,964
Rep Power: 73 ![]() ![]() ![]() |
What you are asking is something that is the basis of any CFD student. What is your background? You will find this topic in any CFD textbook, just study the modified differential equation.
|
|
![]() |
![]() |
![]() |
![]() |
#6 | |
New Member
Join Date: Jul 2024
Posts: 6
Rep Power: 2 ![]() |
Quote:
I studied physics but not in the direction of gas/fluid dynamics, I will check some CFD textbook. |
||
![]() |
![]() |
![]() |
![]() |
#7 | |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,797
Rep Power: 66 ![]() ![]() ![]() |
Quote:
The Courant number is low with coarse grids. If you have a very coarse grid the Courant number becomes very very low and you fool yourself. Now you have a spatial discretization error that remains even for stupidly small timesteps. This is why we tell people to always do sensitivity studies and validate their tools for each specific new problem. The simplicity of the problem doesn't mean that common errors that plague numerical codes don't exist, actually it makes it even easier to find them. Stable does not necessarily mean accurate. |
||
![]() |
![]() |
![]() |
![]() |
#8 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,964
Rep Power: 73 ![]() ![]() ![]() |
||
![]() |
![]() |
![]() |
![]() |
#9 | |
New Member
Join Date: Jul 2024
Posts: 6
Rep Power: 2 ![]() |
Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#10 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,964
Rep Power: 73 ![]() ![]() ![]() |
Just as an example the first order upwind for the linear wave equation produces a modified equation like this
df/dt+u*df/dx= 0.5*dx*(1-c)*d^2f/dx^2 + ... you can see what happens when c is reduced and dx is fixed. |
|
![]() |
![]() |
![]() |
![]() |
#11 |
New Member
Join Date: Jul 2024
Posts: 6
Rep Power: 2 ![]() |
Understood, the dissipation would become huge. Thank you very much!
|
|
![]() |
![]() |
![]() |
Tags |
cfd, courant number, lax method, time step |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Difference steady state / unsteady | dnl_xr | OpenFOAM Pre-Processing | 1 | March 9, 2024 09:25 |
Setting the height of the stream in the free channel | kevinmccartin | CFX | 12 | October 13, 2022 21:43 |
Simulation time for steady state solution using transient solver | spelletier | Main CFD Forum | 1 | June 26, 2019 04:08 |
dynamic Mesh is faster than MRF???? | sharonyue | OpenFOAM Running, Solving & CFD | 14 | August 26, 2013 07:47 |
About the difference between steady and unsteady problems | Lisa | Main CFD Forum | 11 | July 5, 2000 14:37 |