CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Simulating flow with known pressure drop

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 14, 2018, 04:12
Default Simulating flow with known pressure drop
  #1
Member
 
Anders Dyhr Nørløv
Join Date: Aug 2018
Posts: 32
Rep Power: 8
MrAndersDk is on a distinguished road
Hello

I'm new to OpenFOAM, or actually I'm looking into if I should learn OpenFOAM. So I have no experience with OpenFOAM, but I will take the time to learn if, it can solve the following problem.

I have a large pipe system with serveral heat exchangers placed at different places in the system. I'm currently not interested in the heat transfer in the system but only the flow in the pipes.

I know the Kv value for the heat exchangers (that is the pressure drop vs velocity). Is it possible to simulate this kind of problem. That is regular flow in the pipes, but when the flow reaches a heat exchanger it should use the known Kv value to calculate the pressure drop and flow through the region of the heat exchanger. I know it cannot tell me much about the flow inside the heat exchanger region, but that is ok, I need to know the flow in the pipe system.

I need this kind of setup to check how the flow is in our systems. As I'm not currently a user of OpenFOAM you donøt have to write a long explanation of how to do it, but if you can confirm such a thing is possible, or maybe show a link to an example where something similar is done it would be much appreciated.
MrAndersDk is offline   Reply With Quote

Old   August 14, 2018, 05:01
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
akidess will become famous soon enough
Yes, this is possible, either with a porous region or a porousBafflePressure (jump condition).
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Old   August 14, 2018, 06:06
Default
  #3
Member
 
Anders Dyhr Nørløv
Join Date: Aug 2018
Posts: 32
Rep Power: 8
MrAndersDk is on a distinguished road
Thanks. I had found something about the porous region and thought that might be the solution. However, I could not find out if it is possible to simply just give it at Kv value, or I had to do some hack to get it to do what I want.

Are there somewhere where I can find a good description of what porous region does?
MrAndersDk is offline   Reply With Quote

Old   August 14, 2018, 10:31
Default
  #4
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
akidess will become famous soon enough
It does not make sense to apply a Kv-Value to a region, because Kv is independent of size. You need to compute an equivalent porosity if you want to go this route. If all you care about is the jump, apply a jump condition.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Old   August 14, 2018, 10:39
Default
  #5
Member
 
Anders Dyhr Nørløv
Join Date: Aug 2018
Posts: 32
Rep Power: 8
MrAndersDk is on a distinguished road
I see. But can I make the jump condition depend on the velocity field, and can i make sure that the velocity field is the same on the other side of the jump region?

How would one go about calculating a equivalent porosity?
MrAndersDk is offline   Reply With Quote

Old   August 16, 2018, 12:38
Default
  #6
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
akidess will become famous soon enough
Quote:
Originally Posted by MrAndersDk View Post
I see. But can I make the jump condition depend on the velocity field, and can i make sure that the velocity field is the same on the other side of the jump region?
This is default behaviour. Go ahead and check out porousBafflePressure.



Quote:
How would one go about calculating a equivalent porosity?
You should understand Darcy's law and it's implementation in OpenFOAM. With Darcy's law you get a pressure gradient, which you need to scale with the dimensions our your porous region to get a certain pressure drop. You can find a lot of documents on this online, but I'd recommend the jump condition.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Old   August 17, 2018, 02:46
Default
  #7
Member
 
Anders Dyhr Nørløv
Join Date: Aug 2018
Posts: 32
Rep Power: 8
MrAndersDk is on a distinguished road
Hello again. Thank you so much for your suggestions. I actually stumbled across the porousBafflePressure BC in my research after you led me in the right way.

Is it correct that the difference between porousBafflePressure and porous medium is that, with porousBafflePressure I will get an instantanous jump in pressure (which could be fine in my case), and with the porous medium I can have the pressure increase more gradually over a volume?

So I could use porousBafflePressure BC for thin heat exchangers, but for larger thicker heat exchangers I maybe should use porous medium.?


I'm currently going through Nagy youtube channel, as you have convinced me OpenFOAM can be used for my applications.
MrAndersDk is offline   Reply With Quote

Old   August 17, 2018, 03:36
Default
  #8
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
akidess will become famous soon enough
Quote:
Originally Posted by MrAndersDk View Post
Is it correct that the difference between porousBafflePressure and porous medium is that, with porousBafflePressure I will get an instantanous jump in pressure (which could be fine in my case), and with the porous medium I can have the pressure increase more gradually over a volume?
Yes, that's correct.


Quote:
Originally Posted by MrAndersDk View Post
So I could use porousBafflePressure BC for thin heat exchangers, but for larger thicker heat exchangers I maybe should use porous medium.?
Depends on what you want to know. If you don't care about the flow in or very close to the heat exchangers, you can always use the jump condition.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Old   August 17, 2018, 03:38
Default
  #9
Member
 
Anders Dyhr Nørløv
Join Date: Aug 2018
Posts: 32
Rep Power: 8
MrAndersDk is on a distinguished road
Thanks for the clarification
MrAndersDk is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Pressure drop in pipe flow with Large Eddy Simulation xerox FLUENT 1 October 16, 2019 09:55
total pressure and pressure drop omaralyahia CFX 5 July 14, 2015 09:13
pressure gradient term in low speed flow Atit Koonsrisuk Main CFD Forum 2 January 10, 2002 11:52
what the result is negatif pressure at inlet chong chee nan FLUENT 0 December 29, 2001 06:13
Hydrostatic pressure in 2-phase flow modeling (long) DS & HB Main CFD Forum 0 January 8, 2000 16:00


All times are GMT -4. The time now is 16:40.