|
[Sponsors] |
April 26, 2007, 08:46 |
2order discretization
|
#1 |
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
|
|
April 26, 2007, 08:54 |
Re: 2order discretization
|
#2 |
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. |
|
April 26, 2007, 08:56 |
Re: 2order discretization
|
#3 |
Guest
Posts: n/a
|
thank you very much
|
|
April 26, 2007, 09:40 |
Re: 2order discretization
|
#4 |
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. |
|
April 29, 2007, 09:44 |
Re: 2order discretization
|
#5 |
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
|
|
|
|
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 |