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

cfd code using mac cormack scheme

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 4, 2024, 11:08
Default cfd code using mac cormack scheme
  #1
New Member
 
Join Date: Mar 2024
Posts: 1
Rep Power: 0
davidacker is on a distinguished road
Hello,
I've written a cfd code. I used mac cormack scheme. But, the answers are not what I've expected.
When CFL=1, it should give exact solution. But, it's amplitude is damped and its charactristic lines changed their directions,by the way the initial condition is sin(pi(x)) when x is between 0 and 2 and 1 when x is between 2 and 5.

Do I miss any step? How can I get the exact solution I've expected?
Thanks in advance

geometry dash scratch

Last edited by davidacker; March 4, 2024 at 19:04.
davidacker is offline   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
UDF Error: Error code 126 cilliant FLUENT 0 June 30, 2023 06:52
general ARCHITECTURAL structure of the code of a CFD code mecobio Main CFD Forum 0 August 12, 2013 08:04
mac cormack scheme airfoil Main CFD Forum 0 August 2, 2006 06:57
Where do we go from here? CFD in 2001 John C. Chien Main CFD Forum 36 January 24, 2001 21:10
Mac Cormack scheme Zhou Main CFD Forum 4 April 30, 1999 15:32


All times are GMT -4. The time now is 08:12.