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

flowRateInletVelocity compressible

Register Blogs Community New Posts Updated Threads Search

Like Tree7Likes
  • 7 Post By CedricVH

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 15, 2010, 12:12
Default flowRateInletVelocity compressible
  #1
New Member
 
Oli
Join Date: Apr 2009
Posts: 27
Rep Power: 17
olhe0002 is on a distinguished road
Hello world!

I have a question about the unit of the inlet boundary flowRateInletVelocity.

When using an incompressible solver like simpleFoam, the flowRate is given in [ m³/s ].

Which unit is given when using a compressible solver, for example buoyantPisoFoam?
Is is it still [m³/s] or then [kg/s] ?


Best Regards
olhe0002 is offline   Reply With Quote

Old   April 15, 2010, 12:44
Default
  #2
Member
 
Cedric Van Holsbeke
Join Date: Dec 2009
Location: Belgium
Posts: 81
Rep Power: 16
CedricVH is on a distinguished road
Your question is answered in the following part of flowRateInletVelocityFvPatchVectorField.C:

Code:
00129     if (phi.dimensions() == dimVelocity*dimArea)
00130     {
00131         // volumetric flow-rate
00132         operator==(n*avgU);
00133     }
00134     else if (phi.dimensions() == dimDensity*dimVelocity*dimArea)
00135     {
00136         const fvPatchField<scalar>& rhop =
00137             patch().lookupPatchField<volScalarField, scalar>(rhoName_);
00138 
00139         // mass flow-rate
00140         operator==(n*avgU/rhop);
00141     }
If the dimension of phi is in m^3/s, the value of flowRateInletVelocity will be a volumetric flow rate in m^3/s. If the dimension of phi is in kg/s, the value of flowRateInletVelocity will be a mass flow rate in kg/s. I think this is indeed the difference between an incompressible and a compressible solver, but I'm not sure.
CedricVH is offline   Reply With Quote

Old   April 16, 2010, 03:56
Default
  #3
Member
 
Cedric Van Holsbeke
Join Date: Dec 2009
Location: Belgium
Posts: 81
Rep Power: 16
CedricVH is on a distinguished road
I was indeed correct:
Incompressible solver: phi is in m^3/s --> flowRateInletVelocity is in m^3/s
Compressible solver: phi is in kg/s --> flowRateInletVelocity is in kg/s
cutter, calim_cfd, pfhan and 4 others like this.
CedricVH is offline   Reply With Quote

Old   August 27, 2010, 05:31
Default
  #4
Senior Member
 
Nilesh Rane
Join Date: Apr 2010
Posts: 122
Rep Power: 16
nileshjrane is on a distinguished road
I didnt get this concept. How i suppose to give the mass flow rate value, for the same case, when i am solving with incompressible solver and with compresible solver??? Say i have a mass flow rate of 5kg/s through an inlet. can anyone elaborate please???
__________________
Imagination is more important than knowledge..
nileshjrane is offline   Reply With Quote

Old   August 27, 2010, 05:42
Default
  #5
Member
 
Cedric Van Holsbeke
Join Date: Dec 2009
Location: Belgium
Posts: 81
Rep Power: 16
CedricVH is on a distinguished road
Assuming that you use a fluid with the density of water (rho = 1000 kg/m³) and you want to achieve a mass flow rate of 5kg/s, you will have to fill in this value for the flowRate:
  1. Incompressible solver: flowRate 0.005 (= massflow/rho = (kg/s)/(kg/m³) = m³/s)
  2. Compressible solver: flowRate 5 (= massflow = kg/s)
CedricVH is offline   Reply With Quote

Old   August 27, 2010, 05:56
Default
  #6
Senior Member
 
Nilesh Rane
Join Date: Apr 2010
Posts: 122
Rep Power: 16
nileshjrane is on a distinguished road
Oh..gotcha...

Thanks Cedric for the quick reply..Have a good day..
__________________
Imagination is more important than knowledge..
nileshjrane 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
Compressible -> incompressible. Jinwon Main CFD Forum 6 November 23, 2007 21:07
compressible flow maria teresa FLUENT 1 September 7, 2007 16:58
smoothed interface capturing method: compressible. jinwon Main CFD Forum 0 May 14, 2007 00:20
compressible gas problem hx CFX 1 January 5, 2004 02:00
Compressible vs. Incompressible formulations Fernando Velasco Hurtado Main CFD Forum 3 January 7, 2000 16:51


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