|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Oli
Join Date: Apr 2009
Posts: 27
Rep Power: 6 ![]() |
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 |
|
|
|
|
|
|
|
|
#2 |
|
Member
Cedric Van Holsbeke
Join Date: Dec 2009
Location: Belgium
Posts: 81
Rep Power: 5 ![]() |
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 }
|
|
|
|
|
|
|
|
|
#3 |
|
Member
Cedric Van Holsbeke
Join Date: Dec 2009
Location: Belgium
Posts: 81
Rep Power: 5 ![]() |
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 |
|
|
|
|
|
|
|
|
#4 |
|
Senior Member
Nilesh Rane
Join Date: Apr 2010
Posts: 119
Rep Power: 5 ![]() |
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..
![]() |
|
|
|
|
|
|
|
|
#5 |
|
Member
Cedric Van Holsbeke
Join Date: Dec 2009
Location: Belgium
Posts: 81
Rep Power: 5 ![]() |
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:
|
|
|
|
|
|
|
|
|
#6 |
|
Senior Member
Nilesh Rane
Join Date: Apr 2010
Posts: 119
Rep Power: 5 ![]() |
Oh..gotcha...
Thanks Cedric for the quick reply..Have a good day..
__________________
Imagination is more important than knowledge..
![]() |
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |