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

equations in Hirsch's numerical computation of internal and external flows - 2nd edit

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 15, 2016, 04:24
Default equations in Hirsch's numerical computation of internal and external flows - 2nd edit
  #1
New Member
 
zeshan
Join Date: Apr 2016
Posts: 24
Rep Power: 10
Thecomebackkid is on a distinguished road
Hi, i am following a book, Hirsch's numerical computation of internal and external flows - 2nd edition, vol 1. I have a task to extend a set of equations from 2d to 3d but i cant understand how Hirsch defines/derives his 2d numerical solution. The equations i refer to are (12.4.27).

I cant understand how he gets the equations can anyone explain?
Thecomebackkid is offline   Reply With Quote

Old   April 15, 2016, 16:15
Default
  #2
New Member
 
zeshan
Join Date: Apr 2016
Posts: 24
Rep Power: 10
Thecomebackkid is on a distinguished road
http://postimg.org/image/3w9v1ko97/ can anyone explain how the equations 12.4.27 are formed/derived to me please

I know that the scheme is second order central difference but would like to be able to derive the equations from Taylor series expansion.

Last edited by Thecomebackkid; April 15, 2016 at 16:19. Reason: added link
Thecomebackkid is offline   Reply With Quote

Old   April 15, 2016, 17:24
Default
  #3
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,776
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by Thecomebackkid View Post
http://postimg.org/image/3w9v1ko97/ can anyone explain how the equations 12.4.27 are formed/derived to me please

I know that the scheme is second order central difference but would like to be able to derive the equations from Taylor series expansion.

I do not have the book at this moment, the grid is non-uniform and staggering is used?
I see the use of linear averaging for the mid-section values
FMDenaro is offline   Reply With Quote

Old   April 15, 2016, 17:33
Default
  #4
New Member
 
zeshan
Join Date: Apr 2016
Posts: 24
Rep Power: 10
Thecomebackkid is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
I do not have the book at this moment, the grid is non-uniform and staggering is used?
I see the use of linear averaging for the mid-section values
yes your right grid is clustered and staggering is applied to connect values at the cell centers with face defined values. weighted averages are applied to obtain the interface values.
Thecomebackkid is offline   Reply With Quote

Old   April 15, 2016, 17:40
Default
  #5
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,776
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by Thecomebackkid View Post
yes your right grid is clustered and staggering is applied to connect values at the cell centers with face defined values. weighted averages are applied to obtain the interface values.
Ok, I think that once the grid arrengement is defined you can apply the linear average between connected nodes. It can be somehow tedious to do the manipulation but it is not very complicated to verify the formulas.
FMDenaro is offline   Reply With Quote

Old   April 15, 2016, 17:45
Default
  #6
New Member
 
zeshan
Join Date: Apr 2016
Posts: 24
Rep Power: 10
Thecomebackkid is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
Ok, I think that once the grid arrengement is defined you can apply the linear average between connected nodes. It can be somehow tedious to do the manipulation but it is not very complicated to verify the formulas.
can you explain what you mean further please?
Thecomebackkid is offline   Reply With Quote

Old   April 15, 2016, 17:48
Default
  #7
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,776
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by Thecomebackkid View Post
can you explain what you mean further please?

you should know from the book the arrangement of the staggered variables to verify the equation
FMDenaro is offline   Reply With Quote

Old   April 15, 2016, 18:08
Default
  #8
New Member
 
zeshan
Join Date: Apr 2016
Posts: 24
Rep Power: 10
Thecomebackkid is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
you should know from the book the arrangement of the staggered variables to verify the equation
http://postimg.org/image/wsi9o4ood/

is this what you are talking about?
Thecomebackkid is offline   Reply With Quote

Old   April 15, 2016, 18:26
Default
  #9
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,776
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Yes.
FMDenaro is offline   Reply With Quote

Old   April 15, 2016, 18:29
Default
  #10
New Member
 
zeshan
Join Date: Apr 2016
Posts: 24
Rep Power: 10
Thecomebackkid is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
Yes.
ok i still not sure how to get the (12.4.27) equations for u_x,v_x,u_y,v_y etc can you show me? thanks for helping me btw.
Thecomebackkid is offline   Reply With Quote

Old   April 18, 2016, 20:25
Default
  #11
New Member
 
zeshan
Join Date: Apr 2016
Posts: 24
Rep Power: 10
Thecomebackkid is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
Yes.
ok i think i have understood how the equations for 2d are derived but i have tried to extend the scheme to be three dimensional. can you tell me if i am correct in my 3d formulas please?

http://imageshack.com/a/img923/3116/prEM4i.png

Last edited by Thecomebackkid; April 22, 2016 at 18:19. Reason: had error in second equation, then error in other equations - corrected now
Thecomebackkid is offline   Reply With Quote

Old   April 20, 2016, 07:05
Default
  #12
New Member
 
zeshan
Join Date: Apr 2016
Posts: 24
Rep Power: 10
Thecomebackkid is on a distinguished road
please help fellow cfders.
Thecomebackkid 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



All times are GMT -4. The time now is 23:32.