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

Degassing Boundary Condition

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By Aurelien Thinat
  • 1 Post By cdegroot

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 25, 2013, 10:21
Default Degassing Boundary Condition
  #1
Senior Member
 
Aurelien Thinat
Join Date: Jul 2010
Posts: 165
Rep Power: 15
Aurelien Thinat is on a distinguished road
Hello everyone,

I'm looking for a way to model a degassing boundary condition for twoPhaseEulerFoam solver.

The case :
Air bubbles are injected at the bottom of a water tank, free surface at the top.

As far as I know I have three options :

1) Compute the interface of the free surface.

2) Slip wall at the BC and add a negative source term in the alpha equation and pressure equation at the last cell before the BC. Something like : S = - alpha/time_step.
How should I modify the momentum equation ? I guess I have to include a source term in the momentum equation too.

3) Find a boundary condition setup as there is on Fluent or CFX. But I could'nt find any litterature on this subject.

I have already tested a setup and I'm not really happy with the result:
p : fixedValue
alpha : inletOutlet
Ua : zeroGradient
Ub : surfaceNormalFixedValue : 0

Do you have any tips on how to manage this kind of problem ?
Aurelien Thinat is offline   Reply With Quote

Old   October 29, 2013, 05:15
Default degassing BC
  #2
Member
 
Jeong Kim
Join Date: Feb 2010
Posts: 42
Rep Power: 16
enoch is on a distinguished road
I'm also looking for this BC available for twoPhaseEulerFoam.
That'd be very appreciated if you give me some idea on how to implement this BC or share a source code with me.^^
Thanks in advance for your big help.
enoch is offline   Reply With Quote

Old   October 31, 2013, 03:39
Default
  #3
Senior Member
 
Aurelien Thinat
Join Date: Jul 2010
Posts: 165
Rep Power: 15
Aurelien Thinat is on a distinguished road
Hi Enoch,

There are 2 ways of dealing with that as far as I know :

- slip wall for the continuous phase and free stream for the dispersed one. I had few problems with this in OpenFoam-2.1.1. Since OF-2.2 release, it seems ok.

- source term applied at the first cells near your degassing BC. At each time step you extract the mass of the dispersed phase (something like : alpha 1 * rho1 / DT). You'll have to modify the pressure equation and add source terms in the momentum equations. I'm not fond of this but well...it does the trick.
rarnaunot likes this.
Aurelien Thinat is offline   Reply With Quote

Old   April 21, 2016, 10:25
Default
  #4
New Member
 
jp279
Join Date: Jul 2015
Posts: 9
Rep Power: 10
jp279 is on a distinguished road
Send a message via Skype™ to jp279
Quote:
Originally Posted by Aurelien Thinat View Post
Hi Enoch,

There are 2 ways of dealing with that as far as I know :

- slip wall for the continuous phase and free stream for the dispersed one. I had few problems with this in OpenFoam-2.1.1. Since OF-2.2 release, it seems ok.

- source term applied at the first cells near your degassing BC. At each time step you extract the mass of the dispersed phase (something like : alpha 1 * rho1 / DT). You'll have to modify the pressure equation and add source terms in the momentum equations. I'm not fond of this but well...it does the trick.
Hi Aurelien,

About the first option - Slip wall for the continuous phase is understood, but why free stream for the dispersed phase? I mean one can use pressureInletOutletVelocity or inletOutlet too.

About the second option - Do you have any reference for this option? I haven't found much about making changes in the source code to implement degassing BC (except for the CFX Tutorial on UDFs, which does something similar to what you mentioned above).
jp279 is offline   Reply With Quote

Old   August 17, 2018, 22:25
Default
  #5
Senior Member
 
cdegroot's Avatar
 
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 17
cdegroot is on a distinguished road
I wasn't able to find anything online for a degassing boundary condition in OpenFOAM, so I wrote a degassing source using fvOptions. Here's a link in case anyone finds it useful: https://bitbucket.org/cdegroot/degassingsourcefvoptions
rarnaunot likes this.
cdegroot 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
Radiation interface hinca CFX 15 January 26, 2014 17:11
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 17:44
External Radiation Boundary Condition for Grid Interface CFD XUE FLUENT 0 July 9, 2010 02:53
External Radiation Boundary Condition (Two sided wall), Grid Interface CFD XUE FLUENT 0 July 8, 2010 06:49


All times are GMT -4. The time now is 12:07.