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

mac cormack in 3-D!

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 29, 2003, 10:34
Default mac cormack in 3-D!
  #1
austin meyer
Guest
 
Posts: n/a
Hello!

When doing a MacCormack predictor and corrector step in 3-D, everyone will recognize these vectors:

xflt F[5]={r[c]*u[c] ,

p[c]+r[c]*sqr(u[c]),

r[c]*u[c]* v[c] ,

r[c]*u[c]* w[c] ,

(p[c]+U[c][4])*u[c] };

xflt G[5]={r[c]*v[c] ,

r[c]*v[c]* u[c] ,

p[c]+r[c]*sqr(v[c]),

r[c]*v[c]* w[c] ,

(p[c]+U[c][4])*v[c] };

xflt H[5]={r[c]*w[c] ,

r[c]*w[c]* u[c] ,

r[c]*w[c]* v[c] ,

p[c]+r[c]*sqr(w[c]),

(p[c]+U[c][4])*w[c] };

Now, for the 2-D case, we can find our predicted or corrected "Fstar" and "Gstar" as follows:

for(eq=0;eq<5;eq++)

{

Fs[c][eq]=yj[c][j_d]*F[eq]-xj[c][j_d]*G[eq];

Gs[c][eq]=xi[c][i_d]*G[eq]-yi[c][i_d]*F[eq];

}

BUT WHAT SHOULD THOSE LINES ABOVE LOOK LIKE FOR THE 3-D CASE?

thanks!

austin
  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
Extend Project 1.6-ext Binary Release for Mac OS X hjasak OpenFOAM Announcements from Other Sources 26 November 5, 2013 16:50
mac cormack scheme airfoil Main CFD Forum 0 August 2, 2006 06:57
Mac Cormack scheme and use of PML boundary conditi vineet kshirsagar Main CFD Forum 1 January 13, 2002 01:46
MAC + SOLA for free surface T Main CFD Forum 1 April 11, 2001 13:43
Mac Cormack scheme Zhou Main CFD Forum 4 April 30, 1999 15:32


All times are GMT -4. The time now is 15:13.