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

MacCormack scheme

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 28, 2020, 01:56
Default MacCormack scheme
  #1
Member
 
E
Join Date: Mar 2018
Posts: 77
Rep Power: 8
IbizaFR is on a distinguished road
Hello to everyone,

Am I allowed to use the following form of the two-step MacCormack scheme? i.e. may I descretize the spatial derivative at the corrector step in k iteration level and not in the intermediate stage?

where k is the present iteration level, the variables with one (*) and two (**) asterisks denote the intermediate values of variables and i is the spatial node.

Thank you.
Attached Images
File Type: jpg MacCormack scheme.jpg (18.3 KB, 15 views)

Last edited by IbizaFR; January 28, 2020 at 09:57.
IbizaFR is offline   Reply With Quote

Old   January 30, 2020, 10:32
Default
  #2
Member
 
E
Join Date: Mar 2018
Posts: 77
Rep Power: 8
IbizaFR is on a distinguished road
Any help?

Thank you.
IbizaFR is offline   Reply With Quote

Old   January 30, 2020, 11:50
Default
  #3
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by IbizaFR View Post
Hello to everyone,

Am I allowed to use the following form of the two-step MacCormack scheme? i.e. may I descretize the spatial derivative at the corrector step in k iteration level and not in the intermediate stage?

where k is the present iteration level, the variables with one (*) and two (**) asterisks denote the intermediate values of variables and i is the spatial node.

Thank you.



The MacCormack method in case of a linear equation corresponds to the Lax-Wendroff method. However, the steps are:


1) Q*(i) =Qn(i) -(dt/h)*[f[Qn(i+1)] - f[(Qn(i)]
2) Q**(i)=Q*(i) -(dt/h)*[f[Q*(i)] - f[(Q*(i-1)]
3) Qn+1(i)= 0.5*[Q**(i)+Qn(i)]
FMDenaro is offline   Reply With Quote

Old   January 31, 2020, 08:18
Default
  #4
Member
 
E
Join Date: Mar 2018
Posts: 77
Rep Power: 8
IbizaFR is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
The MacCormack method in case of a linear equation corresponds to the Lax-Wendroff method. However, the steps are:


1) Q*(i) =Qn(i) -(dt/h)*[f[Qn(i+1)] - f[(Qn(i)]
2) Q**(i)=Q*(i) -(dt/h)*[f[Q*(i)] - f[(Q*(i-1)]
3) Qn+1(i)= 0.5*[Q**(i)+Qn(i)]
Thank you.
IbizaFR 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
A question about TVD Maccormack scheme? dinhanh Main CFD Forum 0 October 24, 2017 06:20
MacCormack scheme dusky.he Main CFD Forum 2 February 1, 2007 00:17
How tro solve this problem using maccormack scheme mehul CFX 1 June 8, 2006 14:24
MacCormack scheme for subsonic flow Shahab Main CFD Forum 1 March 28, 2005 21:15
References for MacCormack scheme L Srinivasa Mohan Main CFD Forum 1 March 10, 2000 14:45


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