|
[Sponsors] |
August 10, 2005, 12:18 |
what could be wrong with my structured code?
|
#1 |
Guest
Posts: n/a
|
Hi everyone,
I am now trying to change my cartesian FVM NS solver to a structured one. It uses fractional step method. I am discretizing and interpolating in physical space. However after debugging for quite a while, I am still not able to obtain the correct results for my test case, which is a skewed(inclined) lid driven cavity. It either converges to the wrong ans or diverges, especially as grid points increase. does anyone knows what could be the possible error that might occur? I am wondering if the cause could be the interpolation scheme. I am using the interpolation suggested by Kim & Choi (JCP 162 p411) which they use for unstructured grids. thanks! |
|
August 10, 2005, 22:05 |
Re: what could be wrong with my structured code?
|
#2 |
Guest
Posts: n/a
|
its hard to tell what could be wrong with your code from here, but if the code converges with cartesian meshes, and does not converge when used with inclined meshes, the most probable cause is descetisation of diffusion terms.
having said that, there is another element that works against you is how you calculate the gradients. try to search about this issue. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
what's wrong about my code for 2d burgers equation | morxio | Main CFD Forum | 3 | April 27, 2007 11:38 |
Design Integration with CFD? | John C. Chien | Main CFD Forum | 19 | May 17, 2001 16:56 |
What is the Better Way to Do CFD? | John C. Chien | Main CFD Forum | 54 | April 23, 2001 09:10 |
Structured Grid Definition | craig shores | Main CFD Forum | 3 | March 21, 2001 15:48 |
own Code vs. commercial code | Bernhard Mueck | Main CFD Forum | 10 | February 16, 2000 11:07 |