|
[Sponsors] |
September 5, 2019, 10:16 |
Multiple inlet mass flow rate
|
#1 |
Member
Join Date: Mar 2019
Posts: 81
Rep Power: 7 |
Dear Foamers,
I am trying to simulate a geometry with multiple inlets (i.e. 5) and one outlet. I have created the mesh in Salome and grouped all the inlets under one name of Inlet. Then I assigned the mass flow rate boundary condition to Inlet by dividing the total flow to 5 (i.e. the number of inlets). I thought that it would be assigned to each individual inlet and when considered together they would add to the total amount. However, when checking the patch mass flow rate at inlets and outlet, it seems that 1/5 of the mass flow is going through . It seems counter intuitive for me to use the total mass flow rate (but seems like I have to do it). In that case, how would OpenFoam divide the flow rate? Would it be equally divided among all the inlets? Does anyone have experience in this regard? PS: the geometry is complicated and the mesh is huge so it takes a lot of time to test all the possibilities |
|
September 6, 2019, 05:06 |
|
#2 |
Senior Member
|
Hi,
All faces will get the average velocity that gives in total the supplied flow rate. So if all your inlets are the same size, every inlet will have the same flow rate, but if there is a difference in area for those inlets, there will be a difference in the flow rate per inlet. Regards, Tom |
|
September 6, 2019, 08:20 |
|
#3 |
Senior Member
Carlo_P
Join Date: May 2019
Location: Italy
Posts: 176
Rep Power: 8 |
I'm quite sure that OpenFoam thinks that all the patches are one patch called Inlet.
So you have to apply the total mass flow, indipendet of the number of surfaces. I'm pretty sure. If you want, you can try a very simple pipes with two inlet and check the outlet massflow. I have to do in some months, so if you report the solution, I will aprreciated a lot. |
|
September 6, 2019, 11:29 |
|
#4 | |
Member
Join Date: Mar 2019
Posts: 81
Rep Power: 7 |
Quote:
Thank you very much for shedding light on this issue. Indeed, it is as you mentioned but I really do not get the motivation behind this to behave in this manner when dealing with mass flow rate. For my case, one of the inlets is smaller than the rest and now I have to remesh the geometry . I think the best case would be to have an option of some sort for the user to specify if they want an equal flow rate or different flow rates (depending on the cross-sectional area) |
||
September 6, 2019, 11:33 |
|
#5 | |
Member
Join Date: Mar 2019
Posts: 81
Rep Power: 7 |
Quote:
Yes, but if the patches have different size, OF will attribute different mass flow rates (which is not what I wanted). The outlet mass flow is equal to the assigned mass flow rate to Inlet in 0 directory (i.e. the total mass flow). |
||
September 6, 2019, 11:42 |
|
#6 | |
Senior Member
|
Quote:
Unfortunately that goes against the philosophy of the whole code, which is based on unstructured polyhedral cells. This means that a face, belonging to a cell is not necessarily related to other faces in it's neighbourhood. So there is no way for the code to know if a particular face is geometrically close or not to another face of the same patch. So your idea has far more consequences than this remeshing. However you may get away with this by using the createPatch utility, which you can use to manipulate a mesh. Than you keep the mesh, but just rename the small inlet to inlet_small (or whatever you prefer). You should look up the functionality though. Another option might be the use of the extrapolateProfile true setting, but your success may vary. I have had cases fail or show highly unphysical results when I used it. Cheers, Tom |
||
September 6, 2019, 12:04 |
|
#7 |
Senior Member
Carlo_P
Join Date: May 2019
Location: Italy
Posts: 176
Rep Power: 8 |
Why you can't use a fixed velocity?
It would be the same for all the surfaces that compose the Inlet patch |
|
September 6, 2019, 12:29 |
|
#8 | |
Member
Join Date: Mar 2019
Posts: 81
Rep Power: 7 |
Quote:
I wished it was like that. But the problem is that in this incompressible flow, the mass flow rate is the same among all inlets but not the velocity (due to the geometrical difference)... |
||
September 10, 2019, 11:09 |
|
#9 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29 |
Why not using several independent inlet patches instead of a single one?
|
|
September 10, 2019, 14:25 |
|
#10 |
Member
Join Date: Mar 2019
Posts: 81
Rep Power: 7 |
||
Tags |
mass flow rate bc, openfoam 1806, patch average, salome |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Simulating Radial Inflow Turbine - Mass Flow Rate at Inlet not matching outlet | mobangi12 | CFX | 6 | March 8, 2019 16:53 |
Species mass flow inlet | lorenz | FLUENT | 3 | March 15, 2012 08:26 |
Discrete Phase & Mass Flow Rate | MagnusZeus | FLUENT | 0 | December 2, 2011 18:57 |
particle, parcel and mass flow rate balance | flybird | FLUENT | 0 | May 24, 2007 11:44 |
Mass Flow Inlet | Pravir Kumar Rai | FLUENT | 0 | February 19, 2003 15:03 |