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

question regarding the codes for setting inlet flow

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   November 10, 2009, 03:59
Default question regarding the codes for setting inlet flow
  #1
New Member
 
Alice
Join Date: Nov 2009
Posts: 16
Rep Power: 16
Alicelin is on a distinguished road
Dear all,
I have a question about writing the codes for the inlet flow.I would like to know what's the difference between the following two codes?
Code 1:
inletk==1.5*pow(0.11*Foam:: pow(z*2,-0.18),2)*magSqr(inletU)
Code 2:
inletk==1.5*pow(0.11*pow(z*2,-0.18),2)*magSqr(inletU)

actually what's the difference in the meaning between "Foam:: pow" and "pow"?

Thanks
Alicelin is offline   Reply With Quote

 


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
Internal Flow BCs for Compressible inlet flow Katie FLUENT 2 March 3, 2012 17:35
Mass flow inlet compressible flow richard FLUENT 2 June 1, 2008 11:44
inlet mass flow rate BC manu FLUENT 0 February 5, 2008 13:24
velocity or mass flow inlet? Silvia FLUENT 1 August 12, 2005 13:55
Inlet diffuser of ramjet Mohammad Kermani Main CFD Forum 25 December 29, 2000 18:46


All times are GMT -4. The time now is 09:41.