CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > FloEFD, FloWorks & FloTHERM

Calculate Density

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 15, 2015, 15:07
Default Calculate Density
  #1
New Member
 
mehmet mumtaz ersan
Join Date: Nov 2014
Posts: 24
Rep Power: 12
mumtaz ersan is on a distinguished road
Hello Everyone;

About 4 months ago, i asked similar ques. in this forum and chris helps me...
And i can answer que. about pressure-drop in my mind but about density still i need a help....

I want to analyze some kind of nozzle,
Air is passed through inside this nozzle at 1,1 bar , 25 celcius , 120 lt/min

So , i define 120lt/min for inlet volume flow and define Environment pressure for outlet volume flow, and start to calculate for density.

Program shows me density is 1,20 kg/m3 as a result,

BUT in my hand calculation; i find the density 1,28 kg/m3;
P=d*R*T ; d=P/(R*T) P=1,1 bar=110 kPA , R =0,287 , T=25celcius=298 K so density is 1,28....

The difference between two calculation(one from cfd which is 1,2;one from my hand calculation which is 1,28) lead me to make miss-calculations...

Because if i use 1,20 kg/m3 as a density my mass flow is 0,0024kg/sec(1,2*0,002m3/sec=0,0024kg/sec), if i use 1,28 kg/m3 as a density my mass flow is 0,0026kg/sec....

to stop to confusion between my hand-calculation and flowsimulation, i try to define inlet-pressure with 120lt/min,(i add a picture-a for showing how i define inlet pressure,Red-circled area) but still i got the same result 1,20kg/m3 as a density...

I am very confused,
i think , i miss sth but what???


I am really glad that someone can help me.....
Attached Images
File Type: png picture-a.png (72.1 KB, 27 views)
File Type: jpg picture-b.jpg (42.4 KB, 29 views)
mumtaz ersan is offline   Reply With Quote

Old   September 17, 2015, 05:26
Default
  #2
Disabled
 
Join Date: Jul 2009
Posts: 616
Rep Power: 24
Boris_M will become famous soon enough
Hi Mehmet,
The pressure in the inlet volume flow rate boundary condition is just an approximate pressure. This helps for faster convergence as the calculation starts with this pressure as initial condition on the inlet but it is not fixed and will change as the calculation progresses.
If you go with your mouse over the ~P in the boundary condition you will see that it is "approximate Pressure".

Your problem is that you specify a volume flow and temperature. Since Air is a compressible fluid a change in pressure can result in a different density. If you want to consider a specific mass flow then specify one.
The reason for your problem is that you specify an environment pressure at the outlet but you are not sure if it is exactly that pressure or you cannot tell the total pressure and don't know the pressure loss between inlet and outlet. So if you specify the static or environment pressure in case of an outlet (then this is the same) you will fix the static pressure but the velocity can vary as the total pressure is not defined.
So what the calculation does is that it only has a volume flow rate and temperature at the inlet but no specific pressure except that the total pressure has to be higher than at the outlet. The solver therefore cannot change the volume flow rate and temperature but the pressure on the inlet and on the outlet it can change the temperature.
Not that correct described but I put it simple.

Your hand calculation is correct but lets to it the other way around and you'll see where I come from. If you calculate with the density you expect (1,28) and solve for the pressure, you will see that the pressure is 1,0265 bar and not 1,1 bar!
So if you want to have a fixed density then use the mass flow rate and temperature on the inlet. With a density of 1,28 and a volume flow rate of 120 lt/min you will get 0,1536 kg/min at 25°C.
For the outlet you can specify the environment pressure and you will see that the total pressure will be different compared to your old simulation.

Also try to have the surface goals on inlet and outlet for the values so you can see that directly rather than a surface plot. Use total pressure and static pressure for anything you are interested in pressure loss or also in your case mass flow rate and velocity and temperature.

You always have to keep in mind: density, temperature volume flow rate and pressure are the values that can influence each other. If you specify the mass flow rate it is fixed and temperature or pressure change cannot change the mass flow rate as it is the mass balance that is kept. If you specify volume flow rate on the inlet you might get a different volume flow rate on the outlet if the pressure, temperature or density changes. Especially in nozzles density and temperature are changing due to the compression and possible local supersonic regions where it is not incompressible anymore. As soon as you experience a velocity of around 0,3 Mach number, you cannot expect an incompressible flow anymore.

I hope this helps,
Boris
Boris_M 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
difference between density and density all preetam69 FLUENT 1 November 1, 2014 21:49
icoPoly8ThermoPhysics limits density below 2 kg/m3 smajer OpenFOAM 2 March 16, 2012 07:11
specified density Fluent Tres FLUENT 0 November 22, 2011 08:23
Density of air for calculating the mass flow rate from Darcy's law Hermano Main CFD Forum 0 August 22, 2011 12:17
density update by UDF in non-premixed combustion IKSOO FLUENT 2 December 8, 2002 21:37


All times are GMT -4. The time now is 03:50.