CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

How to modify the source to make the existed phase disappear

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 10, 2018, 09:11
Default How to modify the source to make the existed phase disappear
  #1
Member
 
zhubohong
Join Date: Apr 2018
Posts: 37
Rep Power: 6
zhubohong is on a distinguished road
As shown in the attached figure, does anyone know how to make the injected gas phase disappear, when the injected gas floats out water and meets the top air, or injected gas meets the top gas when the volume fraction of air reach to 1. Thanks for your advices.
Attached Images
File Type: jpg figure.jpg (11.1 KB, 3 views)
zhubohong is offline   Reply With Quote

Old   May 10, 2018, 12:05
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 1,552
Rep Power: 28
Opaque will become famous soon enough
Search for "Degassing" boundary condition in the documentation

2.5.1.9. Degassing Condition (Multiphase only)
Degassing boundary conditions are used to model a free surface from which dispersed bubbles are permitted to escape, but the liquid phase is not. They are useful for modeling flow in bubble columns.
Opaque is offline   Reply With Quote

Old   May 10, 2018, 13:56
Default
  #3
Member
 
zhubohong
Join Date: Apr 2018
Posts: 37
Rep Power: 6
zhubohong is on a distinguished road
Quote:
Originally Posted by Opaque View Post
Search for "Degassing" boundary condition in the documentation

2.5.1.9. Degassing Condition (Multiphase only)
Degassing boundary conditions are used to model a free surface from which dispersed bubbles are permitted to escape, but the liquid phase is not. They are useful for modeling flow in bubble columns.
Thanks for your reply. However, I have known the particle model with degassing condition. I am not simulating the bubble column. I want to achieve the purpose as I mentioned above.
zhubohong is offline   Reply With Quote

Old   May 10, 2018, 18:35
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,091
Rep Power: 134
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
How are you modelling this?

If you are modelling it using Eularian bubble model you use a degassing boundary as Opaque stated.

If you are using a Lagrangian particle tracking model you could just make the top surface a wall with coefficient of restitution =0. Then the bubbles will hit the wall and be stopped.

If you are using a free surface model then you will need to explicitly model somewhere for the air to go, so an opening boundary is a common choice.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   May 11, 2018, 01:19
Default
  #5
Member
 
zhubohong
Join Date: Apr 2018
Posts: 37
Rep Power: 6
zhubohong is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
How are you modelling this?

If you are modelling it using Eularian bubble model you use a degassing boundary as Opaque stated.

If you are using a Lagrangian particle tracking model you could just make the top surface a wall with coefficient of restitution =0. Then the bubbles will hit the wall and be stopped.

If you are using a free surface model then you will need to explicitly model somewhere for the air to go, so an opening boundary is a common choice.
Thanks for your reply. let me describe my model firstly. There are three phases in my model, injected gas, water and top air. The injected gas was treated as the dispersed phase, and both water and top air are continuous. I used the particle model to predict the bubble column in the water, and also applied the free surface model to reflect the variety of water free surface between water phase and top air phase. Now, the problem is that if I simultaneously apply these two models, the injected gas will affact the flow field of top air. So, it will indirectly affact the shape of free surface. However, the dominated effect on the free surface is the bubble column. Therefore, I want to do some adjustments, as I mentioned above. I want to let the injected gas disappear when it floats out the water/or when it meets the top air phase with the certain volume fraction. I think this method should be acheived by modifying the Source term.
zhubohong is offline   Reply With Quote

Old   May 11, 2018, 01:31
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,091
Rep Power: 134
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Can I ask how were we meant to guess what you were doing based on your first post? Why didn't you post this information right from the start?

Anyway, to answer your question: If you are using Lagrangian particle tracking you will need to define a track termination criteria for when it reaches the surface. I suspect this could be looking at the volume fraction and if it is lots of air or bubbles over a defined volume fraction you terminate the track.

But then, as you say, you will need to use a source term to generate as much air as you terminate in the particle track.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks 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
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 ordinary OpenFOAM Installation 19 September 3, 2019 18:13
what is swap4foam ?? AB08 OpenFOAM 28 February 2, 2016 01:22
Problem compiling a custom Lagrangian library brbbhatti OpenFOAM Programming & Development 2 July 7, 2014 11:32
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 09:17
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 13, 2000 23:03


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