CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

what could be wrong with my structured code?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 10, 2005, 12:18
Default what could be wrong with my structured code?
  #1
quarkz
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!
  Reply With Quote

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

Reply


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 Off
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 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


All times are GMT -4. The time now is 23:45.