CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Div(F)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 26, 2010, 14:01
Default Div(F)
  #1
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
hi friend
i get some how confused about the function of fvc::div in openFoam
how does it work?
i had a scalar variable with dimension set [1 -2 -1 0 0 0 0] after div ,i had
a variable with dimension set [1 -5 -1 0 0 0 0] , how is it possible ?
nimasam is offline   Reply With Quote

Old   July 31, 2010, 10:40
Default
  #2
Senior Member
 
Claus Meister
Join Date: Aug 2009
Location: Wiesbaden, Germany
Posts: 241
Rep Power: 18
idrama is on a distinguished road
Basically, div(U):=u_x + v_y + w_z for any tridimensional vector U=[u v w] and div(f):=f_x+f_y+f_z for any scalar field f. Derivation of any quantity includes a change in dimension, for instance, let U be a velocity vector, i.e. [m/s], then U_x has the dimension [1/s]. Better is you would look into book of contiuums mechanics.
Futhermore, in OpenFOAM the evalutaion is numerically, meaning central differencing is used when in fvSchemes
div(U) Gauss linear; is specified. The rest will ya proberly find in some numerical textbooks.
idrama is offline   Reply With Quote

Old   July 31, 2010, 11:59
Default
  #3
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
then what was the reason?
i know the meaning of div(F) i can't understand why initial dimensionSet [1 -2 1 0 ...] after "div" change into [1 -5 1 0 ....] instead of [1 -3 1 0 ...] ?
nimasam is offline   Reply With Quote

Reply

Tags
fvc


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 19:05.