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

easy question regarding icoFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 30, 2013, 23:09
Default easy question regarding icoFoam
  #1
New Member
 
reza
Join Date: Apr 2013
Posts: 16
Rep Power: 13
haghgoo_reza is on a distinguished road
Hello All,

it seems that phi in the icoFoam has the dimension of [meter cubed to time]. Hence the div(phi, u) has the dimension of [meter cubed to time squared]. On the other hand, it seems that ddt(U) has the dimension of [meter to time squared].
Apparently, they are dimensionally inconsistent.
can any body clarify it to me, please?

Moreover, what is the dimension of interpolate(HbyA) $ mesh.Sf()?

Thanks
haghgoo_reza is offline   Reply With Quote

Old   May 31, 2013, 12:22
Default
  #2
Member
 
yijin Mao
Join Date: May 2010
Location: Columbia, MO
Posts: 62
Rep Power: 15
alundilong is on a distinguished road
Quote:
Originally Posted by haghgoo_reza View Post
Hello All,

it seems that phi in the icoFoam has the dimension of [meter cubed to time]. Hence the div(phi, u) has the dimension of [meter cubed to time squared]. On the other hand, it seems that ddt(U) has the dimension of [meter to time squared].
Apparently, they are dimensionally inconsistent.
can any body clarify it to me, please?

Moreover, what is the dimension of interpolate(HbyA) $ mesh.Sf()?

Thanks
You will find mesh.Sf() only return geometrical data, if you take a look at $(FOAM_SRC)/finiteVolume/lnInclude/fvPatch.H. Hence, phi has unit of m/s.
Hope it helps!
alundilong is offline   Reply With Quote

Old   May 31, 2013, 13:09
Default easy question regarding icoFoam
  #3
New Member
 
reza
Join Date: Apr 2013
Posts: 16
Rep Power: 13
haghgoo_reza is on a distinguished road
[QUOTE=alundilong;431245]You will find mesh.Sf() only return geometrical data, if you take a look at $(FOAM_SRC)/finiteVolume/lnInclude/fvPatch.H. Hence, phi has unit of m/s.


Thanks for your reply

I went through $(FOAM_SRC)/finiteVolume/lnInclude/fvPatch.H.but there was not anything as to phi.
Moreover, when you run the icoFoam for a 2-D cavity it creates a phi file inside time step folder saying that phi has the dimension of [m3/s].
could you please explain that to me?

Cheers
haghgoo_reza is offline   Reply With Quote

Old   June 1, 2013, 04:46
Default
  #4
Senior Member
 
fumiya's Avatar
 
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 18
fumiya is on a distinguished road
Hi reza,

As you wrote, the flux phi has the dimension [m^3/s] (for the incompressible solvers).
The term div(phi, U) represents the convection term and it is discretized as written in the Eq. (2.16)
in the Programmers Guide(http://foam.sourceforge.net/docs/Gui...mmersGuide.pdf).
The F in this equation is phi and the dimension of this term after discretized using gauss integration
is [m^4/s^2](=m^3/s * m/s).

As to your last question, interpolate(HbyA) $ mesh.Sf() has the same dimension as the flux phi.

Hope this helps,
Fumiya
fumiya is offline   Reply With Quote

Old   July 6, 2014, 00:05
Default
  #5
Member
 
yijin Mao
Join Date: May 2010
Location: Columbia, MO
Posts: 62
Rep Power: 15
alundilong is on a distinguished road
Quote:
Originally Posted by alundilong View Post
You will find mesh.Sf() only return geometrical data, if you take a look at $(FOAM_SRC)/finiteVolume/lnInclude/fvPatch.H. Hence, phi has unit of m/s.
Hope it helps!
Please ignore my answer.
Sf() is a surfacevectorfield which does have dimension.
alundilong 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unanswered question niklas OpenFOAM 2 July 31, 2013 16:03
Density in icoFoam Densidad en icoFoam manuel OpenFOAM Running, Solving & CFD 8 September 22, 2010 04:10
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58
[blockMesh] Question about icoFoam boundary file jack2000 OpenFOAM Meshing & Mesh Conversion 5 April 26, 2007 12:19
Easy question Confused Main CFD Forum 4 May 22, 2004 02:14


All times are GMT -4. The time now is 07:40.