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

BC for outlet - interFoam - spillway

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By piu58

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 14, 2017, 04:47
Default BC for outlet - interFoam - spillway
  #1
New Member
 
Kim Le
Join Date: May 2016
Location: Lyon, France
Posts: 21
Rep Power: 10
lethu is on a distinguished road
Hello everyone !

I am working on OpenFOAM 4.1 and I am using interFoam to model a lateral spillway with two exits. See the attached image.

https://drive.google.com/open?id=0B7...TdiekNuNjB1emM

I have tried many set of BC for my outlets. Please see the excel chart. Some words are in French but it is quite explicit.

https://drive.google.com/open?id=0B7...lJiNXc4MmlLSjQ

I am struggling with the fact that :
- either the simulation is doing well but one outlet is not emptying, or the two outlets are have very, very small outflow (such as 0.02 m3/s)
- either the chamber seems to empty in both outlets but it encounters some diverging problem. I am monitoring U and P with fieldMinMax in controlDict and it shows exploding values !

checkMesh does not seem to report anything wrong.

I have tried so many combinations of BC for the outlets that I am starting to wonder if it doesn't come from my mesh.

Please, can anyone help ? I have been working on this case for three months now.
lethu is offline   Reply With Quote

Old   June 14, 2017, 05:20
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 recommend setting zero gradient for U and a fixed pressure for p at the outlets. I did not find this combination in your sheet. But it may be I missed something.

For the inlet a fixed U (which you want to simulate) and zero gradient for the pressure.

That means:
The outflow is "free", without any constraints. The pressure level has to set somewhere, and the outlet is fine for this.
The inflow is also free: It is not (additional) pressure driven.
BlnPhoenix likes this.
__________________
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   June 14, 2017, 06:54
Default
  #3
New Member
 
Kim Le
Join Date: May 2016
Location: Lyon, France
Posts: 21
Rep Power: 10
lethu is on a distinguished road
Thanks for your reply Uwe.

But isn't it the case for the first try "0" I made ?

From the .H file, I understood that pressureInletOutletVelocity means that zeroGradient is applied for all components on U when there is an outflow.


I am going to try your solution anyway. For the outlet, should I use totalPressure with p0 = 0 ? Or fixedValue = 0 ?

I hope this time, it will work !

Plus, I am also wondering if it comes from my initial conditions.
I used for the last cases, solution that seems correct for the initial conditions using mapFields. The fact that it is not emptying or diverging cannot come from that, can it ?
I don't know if should use a simple setFields and initialize with a simple box of water on the top with a small velocity. I suppose this would take more time to converge than using mapFields.
lethu is offline   Reply With Quote

Old   June 14, 2017, 09:03
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
> pressureInletOutletVelocity means that zeroGradient

I don't work with pressureInletOutletVelocity , but always use zeroGradient.


> use totalPressure with p0 = 0 ? Or fixedValue = 0 ?

I always use fixedValue.
__________________
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


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
interFoam vs. simpleFoam channel flow comparison DanM OpenFOAM Running, Solving & CFD 12 January 31, 2020 16:26
Spillway simulation with interfoam, water disappearing through atmosphere Wokl OpenFOAM Running, Solving & CFD 5 July 12, 2016 10:42
interFoam (HELYX-OS) pressure boundary conditions SFr OpenFOAM Running, Solving & CFD 8 June 23, 2016 17:36
k-e & GAMG interFoam Schemitisation Stability Issue JFM OpenFOAM Running, Solving & CFD 3 December 1, 2015 06:58
Flow Over a Spillway Nicopep OpenFOAM 1 October 21, 2009 05:48


All times are GMT -4. The time now is 22:54.