|
[Sponsors] |
October 13, 2023, 01:15 |
flowRateInletVelocity
|
#1 |
Member
Niyas
Join Date: Apr 2013
Posts: 45
Rep Power: 13 |
Dear All,
I am trying to use the flowRateInletVelocity BC. There is something that I can not understand: what does the `rho and rhoInlet' field mean? The code looks like this: Code:
inlet { type flowRateInletVelocity; flowRate 0.2; rho rho; rhoInlet 1.14 value uniform (0 0 0); // placeholder } If 'rho' is 'rho', then the density field name is 'rho'. Please correct me if I am wrong. If the density field cannot be found in the database, the user must specify the inlet density using the 'rhoInlet' entry. Here what is meant by database? Anywhere in my case directory or '0 folder'? Thank you.
__________________
Regards, Niyas |
|
October 13, 2023, 10:35 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66 |
rho none; means the cased is incompressible
rho pineapple; means to look for and use the density field named pineapple database means in memory at runtime. For the openfoam newbie this means a density field named pineapple in the 0 dir but it applies, at runtime, every timestep. OpenFOAM is highly customizable and you could even generate a density field on the fly using function objects in your controlDict. You don't have to start at 0 time. The pineapple density field needs to provide the value of rho at the inlet. Many solvers calculate density from the EOS and therefore don't provide a value for density at startup. Hence the user must provide a value for the inlet density. |
|
October 13, 2023, 21:27 |
|
#3 |
Member
Niyas
Join Date: Apr 2013
Posts: 45
Rep Power: 13 |
Thanks for the reply.
So, if I am using Gaseous Ethylene fuel at the inlet, then I should mention 'rhoInlet 1.153 kg/m3'.
__________________
Regards, Niyas |
|
Tags |
flowrateinletvelocity, openfoam 6 |
|
|