CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Bubble Modeling in Star-CCM+

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 21, 2012, 18:50
Default Bubble Modeling in Star-CCM+
  #1
Member
 
Tayo
Join Date: Aug 2012
Posts: 94
Rep Power: 13
tayo is on a distinguished road
Please I urgently need your help guys. I'm very new to Star-CCM+ and I want to model a gas bubble rising inside a liquid. I intend to use VOF for the 2-phase but Star-CCM+ does not model "particles" on VOF so I selected Lagrangian multiphase in order to model the bubble as a particle. Since I want 2-phase and not 3-phase, my volume fractions for the VOF was 1:0 for the initial and boundary conditions. Here are my questions?

1) Is this volume fraction assumption correct?

2) Do I need to create a region / interface so that I can track the bubble movement in the velocity field? How do I do this?

3) A mini tutorial on simulating bubble flow using star-ccm+ will be highly appreciated. Note: I"m using the 6.04 version and the none of the tutorials really simulate a bubble flow itself. Also note that I don't want to use segregated multiphase model.

4) Is it possible to couple level set method to the VOF used in star-ccm+? Simply put, how can I use CLSVOF here?

Thanks in advance.
tayo is offline   Reply With Quote

Old   August 22, 2012, 06:14
Default
  #2
Senior Member
 
siara817's Avatar
 
siamak rahimi ardkapan
Join Date: Jul 2010
Location: Copenhagen, Denmark
Posts: 220
Rep Power: 17
siara817 is on a distinguished road
Hi,
Have you tried Eulerian.
Search this phrase in tutorial
Bubble Formation in a Fluidized Bed
Otherwise, in lagrangian multiphase, you can add Track Model to track the particles and then show later by a streamline.
good luck
ramakant likes this.
siara817 is offline   Reply With Quote

Old   August 22, 2012, 12:04
Default
  #3
Member
 
Tayo
Join Date: Aug 2012
Posts: 94
Rep Power: 13
tayo is on a distinguished road
Thanks Siamak.

Actually, VOF is an eulerian model but because it does not explicitly model bubble, I'm combining it with Lagrangian. As for the track model, I'm already applying it, I'm just new to it. There is no "bubble formation in fluidized bed" in my user guide and even the "fluidized bed" available just mentions that it is applicable in solid dispersed phase for drag model. Because I want only 2-phase i.e. VOF and lagrangian for each phase, I quietly set the volume fraction for the eulerian to 1:0 for the initial and BCs to ensure that only one phase is active in the eulerian. Do you have any material/tutorial that can guide me? Do you know how starccm couples eulerian and lagrangian? What about CLSVOF, any hope about it in Star-ccm+? Thanks.
tayo is offline   Reply With Quote

Old   August 24, 2012, 04:13
Default
  #4
Member
 
Join Date: May 2010
Posts: 40
Rep Power: 15
Ladnam is on a distinguished road
If you want to model only one bubble then I would have used only VOF. With surface tension if the bubble is small. For many bubbles I would have used lagrangian or segregated multiphase (Eulerian).
Ladnam is offline   Reply With Quote

Old   August 28, 2012, 12:41
Default
  #5
Member
 
Tayo
Join Date: Aug 2012
Posts: 94
Rep Power: 13
tayo is on a distinguished road
Thanks Ladnam. I've stopped using Lagrangian and segregated flow and I'm just focusing on VOF. Apparently, I need adaptive meshing so that it can track the bubble dynamics. Does anyone know how to do this on star-CCM+? I've searched the user-guide and online, nothing at all. Does this imply that star-ccm+ cannot be used to model a single bubble? Please help.
tayo is offline   Reply With Quote

Old   August 28, 2012, 19:29
Default
  #6
Senior Member
 
Join Date: Oct 2009
Location: Germany
Posts: 636
Rep Power: 21
abdul099 is on a distinguished road
Adaptive mesh refinement is not yet available in Star-CCM+.

When you want to model bubbles using VOF, you should have a very fine mesh to resolve the bubbles with a sufficient number of cells.
Also keep the CFL number low or your solution will smear and your bubbles might disappear.
__________________
We do three types of jobs here:
GOOD, FAST AND CHEAP
You may choose any two!
abdul099 is offline   Reply With Quote

Old   August 29, 2012, 11:16
Unhappy
  #7
Member
 
Tayo
Join Date: Aug 2012
Posts: 94
Rep Power: 13
tayo is on a distinguished road
Thanks abdul.

I'm using a very fine mesh but here are the issues:
1) I tried to separate the liquid and gas into distinct regions by creating two geometries (the circle is meant to represent the bubble) and two meshes to form two regions with an interface created. Then, I assigned each mesh to each region after specifying each phase for each region. The bubble (circle) is meant to be initialized at a specific distance. Unfortunately, the phases were still not distinct after running the simulation. Find attachment below.

Obviously, there should be a better way. I'm new to star-ccm+.

2)How do I get the bubble to rise as it runs. The motion specification icon at the physics value of the bubble region is stationary by default setting and I don't know how to change it.

Please I need help/guide on how to model this bubble. I will appreciate any advice/help from anyone else. Please send any useful material to msgenius10@yahoo.com. Thanks.
Attached Images
File Type: jpg Scene_4Image100016.jpg (24.9 KB, 196 views)
ramakant and chawki like this.
tayo is offline   Reply With Quote

Old   August 29, 2012, 15:51
Default
  #8
Senior Member
 
Join Date: Oct 2009
Location: Germany
Posts: 636
Rep Power: 21
abdul099 is on a distinguished road
Well, it all depends on what you exactly try to do, or to be precise, what you want to achieve. Just as an example, what diameter does the bubble have? When it's a "very small" bubble, it's pretty simple, but all hints will not help when it's a big bubble. So please give a little more information, especially about domain and bubble size, fluid types (viscosity, densities), time scales etc.

When you're just doing a VOF simulation, I think you don't need to have two separate regions. You can also initialize with a field function.

But to give you some food for thoughts:
How did you judge your mesh to be fine enough? Can you post some pictures?
Did you switch on gravity?
What about the time step size? What Courant numbers result from your settings?
What boundary do you have at the top side? When it's a pressure outlet, are you aware, there might be liquid leave your domain?
__________________
We do three types of jobs here:
GOOD, FAST AND CHEAP
You may choose any two!
abdul099 is offline   Reply With Quote

Old   August 29, 2012, 21:07
Default
  #9
Member
 
Tayo
Join Date: Aug 2012
Posts: 94
Rep Power: 13
tayo is on a distinguished road
Thanks abdul. My bubble is 10mm diameter, placed in a 100mm by 80mm 2-D domain. The 2-phases have densities of 1.1kg/m3 and 868kg/m3 with a surface tension coefficient of 0.0289N/m. Cell number generated is 332700, vertices number is 1688296 and face number of 1685736, could my mesh be too refined? Surface remesher and polyhedral mesh models were used to generate a 3D mesh and then, it was converted to 2D mesh. Flow is isothermal for now.

Gravity is already placed in the y-direction. BCs are all wall except at the top where the pressure is O(1MPa). Courant number used is less than one (I'm actually using default setting for now) and time step is 5e-6. I was initially using pressure outlet (thanks for pointing that out, I noticed that too), what's an advisable BC to use? Can you give more details about the use of field function?

Please any useful advice/tutorial will be highly appreciated (find my email add in previous reply). I'm new to star-ccm+. Thanks
tayo is offline   Reply With Quote

Old   August 30, 2012, 19:04
Default
  #10
Senior Member
 
Join Date: Oct 2009
Location: Germany
Posts: 636
Rep Power: 21
abdul099 is on a distinguished road
A too fine mesh will not cause issues except for computing time. I'm not sure about the cell count. Are the ~332700 cell from 2D representation or is it the total number including the 3D mesh where the 2D mesh was created from? Could you please post a picture of your mesh?

I think a pressure outlet at the top is fine, but I would put it away from the liquid surface.

I'll look into this in the next week since I'll out for a few days and don't have access to my machine. Hopefully somebody else can support you in the meantime, otherwise it will take some time until I get back to you.
__________________
We do three types of jobs here:
GOOD, FAST AND CHEAP
You may choose any two!
abdul099 is offline   Reply With Quote

Old   September 4, 2012, 09:48
Default
  #11
Member
 
Tayo
Join Date: Aug 2012
Posts: 94
Rep Power: 13
tayo is on a distinguished road
It was the 3D mesh that had the 332700 cell numbers. However, the z-direction was just 0.1mm thick compared to the other directions with 100mm and 80mm. I will be expecting your response / email to me. Thanks
tayo is offline   Reply With Quote

Old   September 6, 2012, 15:44
Default
  #12
Senior Member
 
Join Date: Oct 2009
Location: Germany
Posts: 636
Rep Power: 21
abdul099 is on a distinguished road
Quote:
Originally Posted by tayo View Post
However, the z-direction was just 0.1mm thick compared to the other directions with 100mm and 80mm.
That means, your domain is very thin, which might cause bad quality cells while volume meshing. I think it would be better to have a thicker 3D region
just to keep the initial cell quality high. It will not harm afterwards since the 2D region will not contain more cells.
I would also use a trimmed mesh instead of a poly mesh, it's quicker to generate, needs less memory, is faster to solve and the motion of your bubble will be pretty much aligned with mesh lines.

However, the mesh should be fine enough since in my case it worked well even with a poly mesh and a thin region. My 3D region had approx. 340 000 cells, the 2D region approx. 160 000. My results are looking pretty nice with a time step of 1e-4s. To keep it simple, I initialized the phases with a square, not a circle. The bubble rises, forming the typical "mushroom shape" (it looks similar to an atomic cloud). Also my results don't smear that much at the top boundary.
Are you sure, you've put the right volume fractions on the top boundary? Maybe there's liquid entering the domain instead of N2.

Which version of Star-CCM+ do you use? I've created the model with v7.02 and can provide you the sim-file when needed.
__________________
We do three types of jobs here:
GOOD, FAST AND CHEAP
You may choose any two!
abdul099 is offline   Reply With Quote

Old   September 8, 2012, 11:18
Default
  #13
Member
 
Tayo
Join Date: Aug 2012
Posts: 94
Rep Power: 13
tayo is on a distinguished road
Quote:
Originally Posted by abdul099 View Post
That means, your domain is very thin, which might cause bad quality cells while volume meshing. I think it would be better to have a thicker 3D region
just to keep the initial cell quality high. It will not harm afterwards since the 2D region will not contain more cells.
I would also use a trimmed mesh instead of a poly mesh, it's quicker to generate, needs less memory, is faster to solve and the motion of your bubble will be pretty much aligned with mesh lines.

However, the mesh should be fine enough since in my case it worked well even with a poly mesh and a thin region. My 3D region had approx. 340 000 cells, the 2D region approx. 160 000. My results are looking pretty nice with a time step of 1e-4s. To keep it simple, I initialized the phases with a square, not a circle. The bubble rises, forming the typical "mushroom shape" (it looks similar to an atomic cloud). Also my results don't smear that much at the top boundary.
Are you sure, you've put the right volume fractions on the top boundary? Maybe there's liquid entering the domain instead of N2.

Which version of Star-CCM+ do you use? I've created the model with v7.02 and can provide you the sim-file when needed.

Thank you for your time abdul. To get this right, what was the thickness of your z-direction? After generating your 3D mesh, did you convert to 2D mesh? How did you initialize the phases with either a square or a circle? What if I want to work in 3D, can how do I initialize with a sphere or cuboid? To prevent liquid from entering the domain, what BC did you use? I use star-ccm+ v6.04. What volume fraction did you use? Kindly guide me right by answering these questions. I use star-ccm+ v6.04. Please send me your sim-file and whatever info you think would be relevant. My email address is msgenius10@yahoo.com. Thank you.
tayo is offline   Reply With Quote

Old   September 15, 2012, 16:25
Default
  #14
Senior Member
 
Join Date: Oct 2009
Location: Germany
Posts: 636
Rep Power: 21
abdul099 is on a distinguished road
I run a 2D case, so I created a 3D mesh and converted it to a 2D mesh. This means, there is only one cell layer in the z-direction.

I've initialized the domain with a square, by using a field function:
$$Position[0]>=0.045&&$$Position[0]<=0.055&&$$Position[1]>=0.015&&$$Position[1]<=0.025?1:0
A circle would work in a similar way, e.g. sqrt(pow($$Position[0],2)+pow($$Position[1],2))<="radiusOfTheBubble"?1:0 (Not tested). It also might work with local coordinate systems, just have a look in the user guide.
In 3D, it works exactly the same way, you just need to add the third dimension in a similar way.

I've used a pressure outlet boundary condition at the top. A little of the liquid will disappear through the boundary, but I didn't care since it was only a test case. You might put the boundary a little away from the position you want to have liquid surface and initialize according to the intended liquid level.
To make sure there will be no liquid enter the domain, you just need to specify the right volume fraction. Nothing magic.

I could send you the sim-file, but you won't be able to open it. You can't open a sim-file created with a specific version with an older version of Star-CCM+.
__________________
We do three types of jobs here:
GOOD, FAST AND CHEAP
You may choose any two!
abdul099 is offline   Reply With Quote

Old   September 15, 2012, 16:46
Default
  #15
Member
 
Tayo
Join Date: Aug 2012
Posts: 94
Rep Power: 13
tayo is on a distinguished road
Thanks abduls. That would surely help. I didn't realize that it was similar way to initialize in Star-ccm+ just like funkySetField in OpenFoam. Thank you so much.
tayo is offline   Reply With Quote

Old   October 3, 2012, 18:40
Default
  #16
New Member
 
Join Date: Apr 2012
Location: OR USA
Posts: 12
Rep Power: 14
bryan he is on a distinguished road
Hi Abdul099,
I just start to do a similar 3D case. At first, I was thinking to use lagrangian multiphase, because I just want to simulate a single bubble. But since you've already done it, I'll follow you.
Here is the difference between your case and mine. I'll make the right and left boundary to be periodic interfaces. And, firstly, there is no flow passing the domain. Secondly, I'll add a certain flow over the domain. Do you have any suggestion about that?
And if you can send me your sim.file, that'll be very helpful! I'm using version 7.04.006.
Bryan


Quote:
Originally Posted by abdul099 View Post
I run a 2D case, so I created a 3D mesh and converted it to a 2D mesh. This means, there is only one cell layer in the z-direction.

I've initialized the domain with a square, by using a field function:
$$Position[0]>=0.045&&$$Position[0]<=0.055&&$$Position[1]>=0.015&&$$Position[1]<=0.025?1:0
A circle would work in a similar way, e.g. sqrt(pow($$Position[0],2)+pow($$Position[1],2))<="radiusOfTheBubble"?1:0 (Not tested). It also might work with local coordinate systems, just have a look in the user guide.
In 3D, it works exactly the same way, you just need to add the third dimension in a similar way.

I've used a pressure outlet boundary condition at the top. A little of the liquid will disappear through the boundary, but I didn't care since it was only a test case. You might put the boundary a little away from the position you want to have liquid surface and initialize according to the intended liquid level.
To make sure there will be no liquid enter the domain, you just need to specify the right volume fraction. Nothing magic.

I could send you the sim-file, but you won't be able to open it. You can't open a sim-file created with a specific version with an older version of Star-CCM+.
bryan he is offline   Reply With Quote

Old   October 13, 2012, 06:07
Default
  #17
Senior Member
 
Join Date: Oct 2009
Location: Germany
Posts: 636
Rep Power: 21
abdul099 is on a distinguished road
Well, your first case is pretty much the same, nothing special.

The second case, when you add the flow over the domain, might be more challenging. The issue is, with periodic boundary conditions, you're restricted how you specify the flow crossing your domain. The options at a periodic boundary, pressure jump and mass flow rate, are both not suitable to control the velocity. I don't know what happens when the bubble leaves the domain since the lower density would cause a reduced mass flow rate. I suspect the solver to adjust the velocity. Maybe you can solve it with a field function by taking the average density at the interface into account.

So you might play around with the available options to get the expected result.
__________________
We do three types of jobs here:
GOOD, FAST AND CHEAP
You may choose any two!
abdul099 is offline   Reply With Quote

Old   November 18, 2012, 03:17
Default (VOF video)
  #18
t0m
New Member
 
Join Date: Nov 2012
Location: Germany. Be very afraid.
Posts: 2
Rep Power: 0
t0m is on a distinguished road
Thought I'd share a VOF Bubble Video I made some time ago.

Woo! Multiple Bubbles!

http://www.youtube.com/watch?v=Kf8PlBkqBSg

Have fun! :-)
t0m is offline   Reply With Quote

Old   December 4, 2012, 22:15
Default Bubble rise in StarCCM+
  #19
New Member
 
Join Date: Dec 2012
Posts: 1
Rep Power: 0
kman87 is on a distinguished road
Hi Abdul, would you mind sending me the below case as well, I'm very confused on how to use STARCCM+ interface tracking capability compare to other CFD codes.

(any version of star works) thanks!

Quote:
Originally Posted by abdul099 View Post
I run a 2D case, so I created a 3D mesh and converted it to a 2D mesh. This means, there is only one cell layer in the z-direction.

I've initialized the domain with a square, by using a field function:
$$Position[0]>=0.045&&$$Position[0]<=0.055&&$$Position[1]>=0.015&&$$Position[1]<=0.025?1:0
A circle would work in a similar way, e.g. sqrt(pow($$Position[0],2)+pow($$Position[1],2))<="radiusOfTheBubble"?1:0 (Not tested). It also might work with local coordinate systems, just have a look in the user guide.
In 3D, it works exactly the same way, you just need to add the third dimension in a similar way.

I've used a pressure outlet boundary condition at the top. A little of the liquid will disappear through the boundary, but I didn't care since it was only a test case. You might put the boundary a little away from the position you want to have liquid surface and initialize according to the intended liquid level.
To make sure there will be no liquid enter the domain, you just need to specify the right volume fraction. Nothing magic.

I could send you the sim-file, but you won't be able to open it. You can't open a sim-file created with a specific version with an older version of Star-CCM+.
kman87 is offline   Reply With Quote

Old   March 31, 2013, 10:35
Default
  #20
New Member
 
Marti J
Join Date: Jul 2010
Location: swe
Posts: 14
Rep Power: 15
MartiJ is on a distinguished road
Hi T0m,

Cool animation you have!

Could you say if it was 2D/3D and what was the mesh size to capture the interface of these relatively small bubbles?

Actually, what was the minimum size of the bubbles you were able to resolve in your case?

Cheers!

Marti
MartiJ 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
[Commercial meshers] Using starToFoam clo OpenFOAM Meshing & Mesh Conversion 33 September 26, 2012 04:04
Fluent Vs Star CCM firda Main CFD Forum 3 February 26, 2011 02:51
[Other] StarToFoam error Kart OpenFOAM Meshing & Mesh Conversion 1 February 4, 2010 04:38
error in star ccm maurizio Siemens 3 October 16, 2007 05:17
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 04:15


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