|
[Sponsors] |
October 20, 2015, 14:09 |
What mass flow value?
|
#1 |
Senior Member
Gustavo
Join Date: Jun 2015
Posts: 121
Rep Power: 11 |
Hi,
I have a mass flow as BC of the inlet measured in a atmospheric environment of 200 cm3/min. If I would like to run a simulation in 1Pa, than I need to set the Operating Pressure condition to 1Pa and the pressure outlet to 0Pa. Doing that, Fluent automatically convert this mass flow in the inlet to this 1 Pa Pressure? Or should I manually calculated and input it? |
|
October 20, 2015, 20:07 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,752
Rep Power: 66 |
It's not entirely clear what you are trying to accomplish, but please verify:
If you set the operating pressure to 1 Pa and then set the exit pressure to 0 Pa then the absolute pressure at the exit will be 1 Pa. This means that the pressure in your domain will be greater than 1 Pa. Is this a constant density case? 200 cm^3/min is not a mass flow rate, that is a volumetric flow rate. But 200 cm^3/min @ ~1kg/m^3 is a mass flow rate of ~0.012 kg/hr. Now if you specify 0.012 kg/hr at ~ 1Pa pressure, what is your density? If you are using say ideal gas law your velocity would increase by a factor of 100,000 and you would probably be supersonic? If you are running constant density, what then pressure doesn't affect the density/velocity. What fluent does is it solves for velocity and pressure and then calculates the mass flow at the inlet to see if they match. If not, it adjusts the boundary conditions accordingly. When you specify the mass-flow rate, you do exactly that. Fluent does not convert mass-flow into anything. And mass-flow is mass-flow regardless of what the pressure is. 0.012 kg/s is 0.012 kg/s. |
|
October 21, 2015, 06:06 |
|
#3 |
Senior Member
Gustavo
Join Date: Jun 2015
Posts: 121
Rep Power: 11 |
Sorry, based on the volume flow rate I calculated the mas flow rate. I´m working with gas nitrogen.
I´m using ideal gas law. So, Nitrogen at STP has a density 1.2506 kg/m3. At 1 Pa it´s density is 1,129E-05. For 200 cm^3/min in STP the mass flow rate would be ~3,81293E-06 kg/s. At 1 Pa the mass flow would be ~ 3,76307E-11 kg/s. So this would be the BC at my inlet, correct? With this input, can I ensure that I´m taking into consideration the expansion of the gas once the reference volumetric flow rate I have it´s in atmospheric pressure and my domain is in low pressure (~1Pa)? Because when I read your comment, I didn´t understand why I would have a supersonic velocity using ideal gas model. I found 0,17 m/s for velocity in my inlet (Diameter = 5mm) with this mass flow rate 3,76307E-11 kg/s. Regarding the pressure in my Domain, if I would like it to be 1Pa what should I do? Because you said that with Operating Conditions as 1Pa and pressure outlet as 0Pa the pressure in my domain will be higher than 1Pa. Just for you have in mind what I´m simulating I attached a scheme. I have a chamber with an outlet in the top (middle). On the base of the cahmber there is a pipe with some holes in the top face. And I have one inlet in the middle of the bottom face of this pipe. I´m using laminar flow model. |
|
October 21, 2015, 10:50 |
|
#4 |
Senior Member
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 27 |
Gustavo do you want to simulate a compressible or an incompressible gas?
__________________
The skeleton ran out of shampoo in the shower. |
|
October 21, 2015, 10:59 |
|
#5 |
Senior Member
Gustavo
Join Date: Jun 2015
Posts: 121
Rep Power: 11 |
I would like to simulate a incompressible gas... because as it´s low pressure I don´t believe the density will variate...
|
|
October 21, 2015, 11:09 |
|
#6 |
Senior Member
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 27 |
Ok, for such a setup you usually set the gas density by hand in fluent to a fixed value (create/edit materials). Now, you set the outlet to pressure outlet. Basically you can set any pressure you want here, but usually just leave the "0". The inlet is either a velocity inlet or a mass-flow inlet. You don't need to set any "operating pressure" here.
In your first post you write about a mass flow ... and then in units of a volume flow rate. This is confusing. In your second post you write that the mass flow at different pressures changes. But it doesn't. If the flow is 200 cm^3/min under atmospheric conditions, the mass flow is the same for 1Pa, 1000Pa, and so on. It's always the same mass flow.
__________________
The skeleton ran out of shampoo in the shower. |
|
October 21, 2015, 11:18 |
|
#7 |
Senior Member
Gustavo
Join Date: Jun 2015
Posts: 121
Rep Power: 11 |
Sorry for the confusion.
Actually I have a volumetric flow rate of 200 cm3/min measured at Atmospheric Pressure. What I have in mind to do is to set the gas as ideal gas. With this selection, I think Fluent will calculate the density of the gas based on the pressure of my domain, right? But I want the pressure of my domain to be 1 Pa. To have that pressure shouldn´t I need to set operating pressure as 1 Pa and outlet pressure as 0 Pa? Because if I let as standard Fluent will calculate as atmospheric pressure. Am I wrong? |
|
October 22, 2015, 02:24 |
|
#8 | |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,752
Rep Power: 66 |
Quote:
If you decide to go the ideal gas route, then definitely set your operating pressure to be ~the pressure in the domain which is ~1 Pa. Otherwise you'll have problems with the truncation error. Also if you have volumetric flow rate, it could be easier to just use a velocity inlet rather than a mass flow inlet, since that's exactly what you're trying to impose with a volumetric flow rate is velocity. |
||
October 22, 2015, 02:31 |
|
#9 |
Senior Member
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 27 |
1) If you activate "ideal gas" you solve for compressible equations. You need to manually calculate the density and viscosity of your gas and then put it into the form as a fixed value. Then you have incompressible equations at 1Pa.
2) If you do so (1) and have incompressible equations the absolute pressure value becomes insignificant. You should have a look at the Navier-Stokes equations. You will only see the pressure gradient here, not the pressure itself. So if you add something constant to the pressure your equation won't even recongnize. If you set the outlet pressure to 0 Pa or to 10000 Pa will not change the result at all, except the pressure field becomes an offset of 10000 Pa. For better pictures I would set the outlet to 0 Pa. Maybe operating pressure is used for the pictures to show "real pressure" or so... but it won't change the result. I never used it.
__________________
The skeleton ran out of shampoo in the shower. |
|
October 22, 2015, 02:36 |
|
#10 | |
Senior Member
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 27 |
Quote:
Velocity inlet needs the face area of the inlet and the density ratio of both high and low pressure to calculate. I wouldn't use it...
__________________
The skeleton ran out of shampoo in the shower. |
||
October 22, 2015, 05:22 |
|
#11 |
Senior Member
Gustavo
Join Date: Jun 2015
Posts: 121
Rep Power: 11 |
Thank you so much for the replies.
I tried in both conditions: 1)Calculate the gas density in 1Pa - I found 1,13E-05 kg/m3. The velocity calculate by the software in the inlet was 740m/s (Inlet has 5mm diameter). In this way I had problems with convergence.. All parameters were in the range of 1e-3 of residuals. In this case I used constant density, Operating Pressure 1Pa, outlet pressure 0Pa and mass flow on the inlet. 2) I used the same conditions of (1) just change the constant density to ideal gas.. and the results were even worse. I think I´m making confusion. The point is: I need to evaluate the behaviour of the gas in 1Pa pressure. The gas inlet has 5mm diamater, then get into a pipe of 900mm2 section area (first expansion) then through 6 holes of 2mm diameter come into the chamber (2m3 volume) it will have a big expansion. Please see the attachment... With this velocity so high in the inlet.. I´m having temperature divergence... How can I evaluate this situation? |
|
October 22, 2015, 08:36 |
|
#12 |
Senior Member
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 27 |
You don't need temperature equation. Why do you solve it at all?
What turbulence model do you use?
__________________
The skeleton ran out of shampoo in the shower. |
|
October 22, 2015, 10:04 |
|
#13 |
Senior Member
Gustavo
Join Date: Jun 2015
Posts: 121
Rep Power: 11 |
I´m using laminar model.... I have low Reynolds...
I´m not sure if I can consider it incompressible... Because the gas comes from a small diameter (5mm) than passes to the pipe (square section = 30mm side) and then.. through the holes... goes to the chamber (2m3 volume). So in this sections I think the density will change... What do you think? If changes, I need to use ideal gas model for the material and then I´m obligated to enable energy equation... What´s your opinion? |
|
October 22, 2015, 10:10 |
|
#14 |
Senior Member
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 27 |
They should both converge... Why don't you just try? Start with incompressible and get it running. You can post pictures here... don't forget to post the residual plot.
__________________
The skeleton ran out of shampoo in the shower. |
|
October 22, 2015, 10:58 |
|
#15 |
Senior Member
Gustavo
Join Date: Jun 2015
Posts: 121
Rep Power: 11 |
So,
please find in attach both residuals. 1) Laminar model, constant density = 1e-5 Operating Pressure= 1Pa Mass flow inlet = 3,81293E-06 kg/s Pressure outlet = 0Pa Residual didn´t go below 1e-6 2) Laminar model, ideal gas Operating Pressure= 1Pa Mass flow inlet = 3,81293E-06 kg/s Pressure outlet = 0Pa divergence = temperature Can we conclude something based on this plots? |
|
October 22, 2015, 11:30 |
|
#16 |
Senior Member
Gustavo
Join Date: Jun 2015
Posts: 121
Rep Power: 11 |
Now I was trying to do the following approach:
Laminar model, ideal gas Operating Pressure= 0Pa Pressure outlet = 1Pa Mass flow inlet = 3,81293E-06 kg/s But when I took a look in the Reference values based on the inlet I faced some errors.. Please see the attachment... What does it means? |
|
October 22, 2015, 13:56 |
|
#17 |
Senior Member
Gustavo
Join Date: Jun 2015
Posts: 121
Rep Power: 11 |
I think I realized what´s my problem.
I know two things: 1) Mass flow inlet – 3.81e-6 kg/s 2) Pressure outlet (Absolute Pressure = 1Pa) When I set Operating Pressure = 1Pa I think the software understands all my domain is in such pressure, that´s why it calculates the velocity in the inlet as too high ~ 17200 m/s because the density will be two low ~ 1e-5 kg/m3. But in reality the inlet pressure is not 1Pa… it´s higher than that. So, regarding the scheme I have attached the sequence of pressure will be like this: Pinlet >>> PPipe >>>>>> PChamber > Poutlet =1Pa As pressure outlet is 1 Pa, measured data inside the chamber is something about 1.2 Pa. So, when I set the gauge pressure in the outlet as 0 I would expect the software to calculate the others pressures (Pipe, chamber and inlet) based on that information and in the mass flow. But I think it doesn´t process in such way… Where is my misunderstanding? How to set the proper boundary conditions? |
|
October 23, 2015, 04:01 |
|
#18 |
Senior Member
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 27 |
Yes, this is correct. You did something wrong, so the solver could not converge. This could be many things, such as the grid, bad initial guess, some bad numerical settings. You need to post more information about these things to get any help.
__________________
The skeleton ran out of shampoo in the shower. |
|
October 23, 2015, 04:08 |
|
#19 |
Senior Member
Gustavo
Join Date: Jun 2015
Posts: 121
Rep Power: 11 |
What kind of information?
A print of the reference values? |
|
October 23, 2015, 04:09 |
|
#20 |
Senior Member
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 27 |
No. Grid, initialization, numerical settings.
__________________
The skeleton ran out of shampoo in the shower. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Issues on the simulation of high-speed compressible flow within turbomachinery | dowlee | OpenFOAM Running, Solving & CFD | 11 | August 6, 2021 07:40 |
mass flow inlet and pressure outlet with target mass flow rate | Zigainer | FLUENT | 13 | October 26, 2018 06:58 |
Convergence problem with target mass flow rate | ADL | FLUENT | 2 | May 29, 2012 22:11 |
mass flow | Wenbin Song | FLUENT | 0 | September 27, 2005 14:00 |
Mass Flow Inlet | Pravir Kumar Rai | FLUENT | 0 | February 19, 2003 15:03 |