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

How to model pressure loss as function of velocity BC?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 18, 2017, 19:36
Default How to model pressure loss as function of velocity BC?
  #1
New Member
 
Daniel Norton
Join Date: Feb 2015
Posts: 17
Rep Power: 11
Dano62 is on a distinguished road
Hello,

I am trying to model an outlet boundary which functions similarly to a loss coefficient. In other words, the pressure drop at the boundary is proportional to the velocity squared i.e.P=C v^{2} where C is an experimentally determined constant. This boundary condition has worked well for me in ANSYS for simulating the flow through an orifice beneath a free surface, but I haven't been able to find an equivalent boundary condition in OpenFOAM. Any help would be much appreciated.
Dano62 is offline   Reply With Quote

Old   October 19, 2017, 00:38
Default
  #2
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
I don't believe that you think in the right direction. The pressure loss is a function of the flow in it's geometry. It can be calculated, but not used as a boundary condition.

It may be that from a theoretical view of point this pressure drop has to be expected. But you cannot use it as bc. If you give two pressures as bc this will change the flow in each time step, mostly increasing. Often such simulation blow up because the flow is not limited.

In your case the rise of the flow may be limited, but if you don't have the fortune of finding an exact balance between your flow and the b.c. the flow moves to anywhere but not to a physical acceptable result.
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Old   October 19, 2017, 02:52
Default
  #3
New Member
 
Daniel Norton
Join Date: Feb 2015
Posts: 17
Rep Power: 11
Dano62 is on a distinguished road
Thanks Piu58. Perhaps I should rephrase description. I'm looking to set a boundary pressure to a function of velocity. To properly simulate the orifice pressure drop would require substantially more nodes than I can spare.

As an example, if I have an orifice at the bottom of a bucket that's discharging into the atmosphere, I can calculate it's pressure loss experimentally as a function of its velocity. I would then use this function to specify the pressure of an outlet boundary. I suspect that this may be doable if I use the results from the previous timestep.

In my case, I have numerous orifices spread around the bottom of a trough. Fully resolving these orifices and the air beneath them is not feasible.

Edit: I'm looking for a boundary condition comparable to Fluent's Outlet Vent Boundary condition.
Dano62 is offline   Reply With Quote

Old   October 19, 2017, 07:07
Default
  #4
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
If I understand you right you want to have some kind of pressure resistance at the oulet, where the resistance itself is velocity dependent?

I think this may be implemented with a Robin b.c. which contains a linear connection between velocity and pressure.
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Reply

Tags
outlet boundary condition, pressure, velocity


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
Running UDF with Supercomputer roi247 FLUENT 4 October 15, 2015 13:41
Analyzing pressure and velocity loss through a zig-zag rectangular duct. arshbunny CFX 1 January 18, 2015 05:51
[swak4Foam] installation problem with version 0.2.3 Claudio87 OpenFOAM Community Contributions 9 May 8, 2013 10:20
[blockMesh] non-orthogonal faces and incorrect orientation? nennbs OpenFOAM Meshing & Mesh Conversion 7 April 17, 2013 05:42
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56


All times are GMT -4. The time now is 19:17.