|
[Sponsors] |
November 29, 2017, 05:43 |
Pressure jump wrt Flow/velocity
|
#1 |
Member
carno
Join Date: Mar 2009
Posts: 70
Rep Power: 17 |
Hi Friends,
I want to give pressure jump in OF with respect to flow rate. This is basically fan curve (Pr. vs Q) which I want to enter. Based on the system resistance the flow rate through the fan will be set. When I try to do that through cyclic BC, it takes table only wrt to time not in terms of velocity or flow. This is quite possible in other commercial tools. Is there any workaround on this? Please help. Thnaks Carno |
|
November 30, 2017, 04:17 |
|
#2 |
Senior Member
|
Hi,
You need to use the "fan" boundary in your pressure file: Code:
Fan_master { type fan; patchType cyclic; jumpTable table (// PressureJump vs mean velocity format: ( "mean velocity" "pressure jump") ( 1 250) ( 2 200 ) ( 4 150 ) ( 6.5 100 ) ( 7.5 50 ) ( 8 0.01 ) ); outOfBounds clamp; value $internalField; } Fan_slave { type fan; patchType cyclic; value $internalField; } Cheers, Tom |
|
December 1, 2017, 07:36 |
|
#3 |
Member
carno
Join Date: Mar 2009
Posts: 70
Rep Power: 17 |
Thanks Tom,
I will check that. But in that, how Openfoam will know that the table is of velocity vs deltaP? Thanks Again... Best regards, Carno |
|
December 1, 2017, 07:45 |
|
#4 |
Senior Member
|
Hi,
Check the source code of the fan boundary condition. Regards, Tom |
|
December 1, 2017, 08:11 |
|
#5 | |
Member
carno
Join Date: Mar 2009
Posts: 70
Rep Power: 17 |
Quote:
I apologize for asking again. Why did you comment the line Code:
// PressureJump vs mean velocity format: ( "mean velocity" "pressure jump") |
||
December 1, 2017, 08:15 |
|
#6 |
Senior Member
|
Hi Carno
I did it just to give you this hint. I originally did it for myself. It was not meant to give you confusion, to the contrary actually. Regards, Tom |
|
January 4, 2018, 07:25 |
|
#7 |
Member
carno
Join Date: Mar 2009
Posts: 70
Rep Power: 17 |
My Problem is solved thanks.
Now I have different question about the direction of it. I have used following script in p file. Code:
fan_master { type fan; patchType cyclic; f List<scalar> 3(3 3 -2); value uniform 0; } fan_slave { type fan; patchType cyclic; f List<scalar> 3(3 3 -2); value uniform 0; } If the flow happens from master to slave, how to identify which side is the master and slave? Thanks again.. |
|
January 4, 2018, 10:33 |
|
#8 |
Senior Member
|
Hi,
It depends on the orientation of the master patch. If you flip it (the normal direction), the direction of the fan will change. I am just not sure how to do it in OpenFOAM directly. I prepare my cases using ANSA, where I can easily flip the orientation of such a patch. Probably the slave will have to be flipped as well. I think that the master is always the first entry in constant/polyMesh/boundary. Regards, Tom |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Periodic flow using Cyclic - comparison with Fluent | nusivares | OpenFOAM Running, Solving & CFD | 30 | December 12, 2017 05:35 |
static vs. total pressure | auf dem feld | FLUENT | 17 | February 26, 2016 13:04 |
sonicFoam - pressure driven pipe: flow continuity violation and waveTransmissive BC | Endel | OpenFOAM Running, Solving & CFD | 3 | September 11, 2014 16:29 |
Calculation of the Governing Equations | Mihail | CFX | 7 | September 7, 2014 06:27 |
How to control pressure jump in a fan? | Ana | FLUENT | 1 | April 8, 2006 08:25 |