CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

(OpenFoam) outlet velocity boundary condition depending on outlet pressure (PUMP)

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Tobi

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 27, 2019, 03:23
Default (OpenFoam) outlet velocity boundary condition depending on outlet pressure (PUMP)
  #1
New Member
 
stefano zinna
Join Date: Mar 2009
Posts: 29
Rep Power: 17
giordy is on a distinguished road
Hi All,

I would like to simulate how a pump work when it suck air from a vessel. In particular I am interested in the boundary condition at outlet of the vessel where the air is sucked with a velocity that depends on the pressure at outlet. Is there any boundary condition in OpenFoam that I can use for it?
Thanks.

regards,
Stefano
giordy is offline   Reply With Quote

Old   March 28, 2019, 06:23
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,673
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
fanPressure?
LuckyTran is online now   Reply With Quote

Old   March 28, 2019, 06:28
Default
  #3
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Quote:
Originally Posted by LuckyTran View Post
fanPressure?
This will not work, as you need two patches where you apply a pressure drop. If you know the pressure at the inlet of the pump, then you can build a pressure based boundary condition couple. At the inlet you define a totalPressure and at the outlet a fixedValue. The velocity should be pressureInletVelocity and zeroGradient respectively.
daniyalaltaf likes this.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   March 28, 2019, 07:07
Default
  #4
New Member
 
stefano zinna
Join Date: Mar 2009
Posts: 29
Rep Power: 17
giordy is on a distinguished road
Hi Tobias,

I only have a patch that is the exit of the vessel. At this exit I would like to apply the velocity (or flowrate) condition based on the pressure at the exit itself (or in the vessel).
giordy is offline   Reply With Quote

Old   March 28, 2019, 07:14
Default
  #5
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi Stefano,

you have two options:
  • Flow Rate / Velocity based fluid motion (in simple words: you get the information of a pressure gradient)
  • Pressure based fluid motion (in simple words: you get the information of the mass flow rate)

If you know the mass flow rate, you can apply the mass flow rate at the outlet (where is the problem?). Accordingly, you use a zero pressure gradient there and a fixed on at the inlet/or a totalPressure depending on your needs and set-up.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   March 28, 2019, 07:21
Default
  #6
New Member
 
stefano zinna
Join Date: Mar 2009
Posts: 29
Rep Power: 17
giordy is on a distinguished road
Hi Tobias,

This is a transient case. My flowrate / velocity should change depending on which is the pressure in the vessel.
giordy is offline   Reply With Quote

Old   March 29, 2019, 07:48
Default
  #7
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi,

so then you should have a pressure based force. Where is the problem?
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   March 29, 2019, 07:55
Default
  #8
New Member
 
stefano zinna
Join Date: Mar 2009
Posts: 29
Rep Power: 17
giordy is on a distinguished road
Hi Tobias,

How would you write such a BC for velocity and pressure?
giordy 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
Wind turbine simulation Saturn CFX 58 July 3, 2020 01:13
User-defined Outlet Boundary Condition in CFX modest_may CFX 5 November 27, 2017 22:08
Outlet boundary condition for compressible nozzle flows blais.bruno OpenFOAM Running, Solving & CFD 0 July 12, 2016 08:40
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 15:45


All times are GMT -4. The time now is 10:23.