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

2order discretization

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 26, 2007, 08:46
Default 2order discretization
  #1
student
Guest
 
Posts: n/a
sir, im new to cfd i just want to know how to apply d2u/dx2 at the boundary. usually we apply du/dx=0 for a fully developed flow at the boundary. inorder to have 2 order accuracy i want to give d2u/dx2 =0 at the boundary please tell.. thanks
  Reply With Quote

Old   April 26, 2007, 08:54
Default Re: 2order discretization
  #2
Harish
Guest
 
Posts: n/a
d^2u/dx^2=(u_n-2u_n-1+u_n-2)/dx^2 + O(dx)

u_n=2u_n-1 - u_n-2

if this is what you are looking for.
  Reply With Quote

Old   April 26, 2007, 08:56
Default Re: 2order discretization
  #3
student
Guest
 
Posts: n/a
thank you very much
  Reply With Quote

Old   April 26, 2007, 09:40
Default Re: 2order discretization
  #4
Mani
Guest
 
Posts: n/a
Maybe we should point out what it is that we are doing here. The centered finite difference of the second-order derivative at n-1 is

(u_n -2u_n-1 +u_n-2)/dx^2

and Harish's approach to use the same term for the boundary (n) amounts to a zeroth-order extrapolation of the second derivative (in other words, you assume a zero third-order derivative). Now that you know where it comes from, you can probably come up with alternative methods. You have to use some sort of extrapolation, unless you know the conditions beyond the boundary. However, if you do know these conditions, you ought to make use of them.
  Reply With Quote

Old   April 29, 2007, 09:44
Default Re: 2order discretization
  #5
student
Guest
 
Posts: n/a
yes mr mani i clearly understand what harish has written. actually im implementing fully developed condition at the exit. so i knw the values at n-1 and n-2. thanks a lot
  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
Spatial vs Angular Discretization in DO radiation model renaldi FLUENT 1 February 16, 2024 08:47
Convergence and discretization karananand FLUENT 3 August 29, 2010 06:07
Discretization and convergence karananand Main CFD Forum 0 August 4, 2010 16:19
Space and time discretization of Euler equation Hooman Main CFD Forum 2 June 6, 2010 08:30
Low-Re and second order discretization Ralf Siemens 1 May 11, 2006 10:16


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