|
[Sponsors] | |||||
Problem with staggered grid on numerical simulation |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
New Member
Ivano
Join Date: Feb 2012
Posts: 3
Rep Power: 15 ![]() |
Hello everyone, this is my first question on this forum
i've made a simulatio of a stratified fluid in a rotating system of reference. So i'm going to solve equation of motion using Shallow Water approximation. the code is written in matlab using C grid i've done also one using an unstaggered (A) grid The problem is that code with c grid is unstable even though cfl condition is satisfied (the scheme of integration is FTCS + LAX for both cases). With A grid code works as it's expected in the attachment there are both codes (you can use word pad to view) can you tell me if there's any mistake? |
|
|
|
|
|
|
|
|
#2 |
|
New Member
Ivano
Join Date: Feb 2012
Posts: 3
Rep Power: 15 ![]() |
maybe CFL condition is different for C grid.
for an unstaggered grid is CFL<0.5 (in 2 dimension) i've noticed that c grid code is stable for very little courant numbers, like 0.01 does anyone know something more about this? thanks |
|
|
|
|
|
![]() |
| Tags |
| staggered grid |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| production term on staggered grid | behzadmaha | Main CFD Forum | 0 | April 24, 2011 17:30 |
| tracer simulation for transient problem. | John | CFX | 0 | August 12, 2005 11:37 |
| Problem with grid interface | Anindya | FLUENT | 9 | July 26, 2002 17:04 |
| problem with grid dimension | nisheet goyal | Phoenics | 1 | June 18, 2001 10:28 |
| Numerical methods for discontinuous grid interfaces? | Hansong Hang | Main CFD Forum | 12 | September 16, 1998 23:26 |