flowRateInletVelocity compressible
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 
Your question is answered in the following part of flowRateInletVelocityFvPatchVectorField.C:
Code:
00129 if (phi.dimensions() == dimVelocity*dimArea) 
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 
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???

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:

Oh..gotcha...
Thanks Cedric for the quick reply..Have a good day..:) 
All times are GMT 4. The time now is 03:22. 