CFD Online Logo CFD Online URL
Home > Forums > Main CFD Forum

what could be wrong with my structured code?

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   August 10, 2005, 11:18
Default what could be wrong with my structured code?
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.

  Reply With Quote

Old   August 10, 2005, 21:05
Default Re: what could be wrong with my structured code?
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.
  Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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 10:38
Design Integration with CFD? John C. Chien Main CFD Forum 19 May 17, 2001 15:56
What is the Better Way to Do CFD? John C. Chien Main CFD Forum 54 April 23, 2001 08: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

All times are GMT -4. The time now is 22:41.