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

Discretization of mixed partial deriatives

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 10, 2004, 06:49
Default Discretization of mixed partial deriatives
  #1
Nasim
Guest
 
Posts: n/a
Hello,

I need to solve a partial differential equations having mixed 2nd order partial derivatives like d2u/dxdy.

How can I discretize it in finite difference form?

Is it something like:

(u[i+1][j] - u[i+1][j-1] - u[i][j] + u[i][j-1]) / (2*dx*dy).

Thanks.

  Reply With Quote

Old   June 14, 2004, 03:55
Default Re: Discretization of mixed partial deriatives
  #2
Rami
Guest
 
Posts: n/a
Nasim,

As you wish a 2nd order discretization, a better scheme (assuming a uniform grid) is derived as follows:

U,x|i,j ~ (Ui+1,j - Ui-1,j)/ (2dx)

U,xy|i,j ~ (U,x|i,j),y ~ (Ui+1,j+1 - Ui-1,j+1 - Ui+1,j-1 + Ui-1,j-1) / (4*dx*dy)

Please verify there are no typos. Rami
  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
Truncation & Discretization error rvndr Main CFD Forum 5 February 24, 2020 01:55
Mixed cell zone remeshing in FLUENT 12 ChesterP FLUENT 6 November 1, 2011 07:53
Space and time discretization of Euler equation Hooman Main CFD Forum 2 June 6, 2010 09:30
Discretization of mixed partial derivatives Nasim Main CFD Forum 1 June 10, 2004 08:09
Arbitrary Matching & Partial Boundaries George Siemens 6 July 10, 2001 10:58


All times are GMT -4. The time now is 17:24.