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

VOF-Simulation

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

Like Tree1Likes
  • 1 Post By akidess

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 11, 2010, 04:16
Default VOF-Simulation
  #1
Member
 
toto
Join Date: Jun 2009
Posts: 71
Rep Power: 16
ronaldo is on a distinguished road
could someone please send me an example of VOF-Simulation (Water and Air) or Tutorial?
Thank you in advance
ronaldo is offline   Reply With Quote

Old   June 11, 2010, 04:55
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
Whats wrong with the dam break tutorial in OpenFOAM?
Bernhard likes this.
akidess is offline   Reply With Quote

Old   June 11, 2010, 05:24
Default
  #3
Senior Member
 
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 370
Rep Power: 23
l_r_mcglashan will become famous soon enough
Like this (2D) air bubble rising in water?

http://people.pwf.cam.ac.uk/lrm29/files/movie.gif
__________________
Laurence R. McGlashan :: Website
l_r_mcglashan is offline   Reply With Quote

Old   June 11, 2010, 06:14
Default
  #4
Member
 
toto
Join Date: Jun 2009
Posts: 71
Rep Power: 16
ronaldo is on a distinguished road
hi linespoints,

could you please send me an example of VOF-simulation 3D using OpenFoam?


Thanks you in advance.
ronaldo is offline   Reply With Quote

Old   June 11, 2010, 09:46
Default interFoam
  #5
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
hi foamer
i simulated a 2d axisymmetric and a 3D modeling of bubble rising
but it seems there is some thing wrong with open foam, instead of bubble rising, bubble collapses down.
gravity is in -y direction

i used these BC's in 2D case it works well but in 3D and 2D axisymmetric,
it doesn't work
nimasam is offline   Reply With Quote

Old   March 9, 2012, 02:59
Default 3D bubble rising
  #6
New Member
 
navid
Join Date: Feb 2012
Posts: 3
Rep Power: 14
sinohe is on a distinguished road
Hi dear nimasam

I have the same problem as you. if you or anyone know the solution help me please to get out of this.


thanks in advanced
sinohe is offline   Reply With Quote

Old   March 9, 2012, 05:03
Default
  #7
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
hi dear navid
there is no bug, it returns into the boundary condition and mesh size
so
1) use finer mesh
2) use zerGradient for velocity everywhere else the bottom of geometry which uses a fixedValue uniform (0 0 0)

P.S
you can post your email in private for me, then i will send you a case test and some refrences
nimasam is offline   Reply With Quote

Old   April 14, 2013, 01:31
Default
  #8
Member
 
Guifan Li
Join Date: Apr 2011
Location: New York City, U.S.
Posts: 96
Rep Power: 14
liguifan is on a distinguished road
Hello,

I met the same problem for the 2D case. For the same boundary condition, 3D works well but 2D works very different. I am simulating a droplet of oil on surface of water. For the 2D case, I set the velocity of leftWall and righWall and lowerWall (0 0 0), but it behaves very different with the 3D situation.

Just wondering why we need to use zeroGradient for the leftWall and righWall .But in the damBreak tutorial, the velocity is for leftWall and rightWall is set to (0 0 0). Can you please explain this?

Thanks in advance!

Quote:
Originally Posted by nimasam View Post
hi dear navid
there is no bug, it returns into the boundary condition and mesh size
so
1) use finer mesh
2) use zerGradient for velocity everywhere else the bottom of geometry which uses a fixedValue uniform (0 0 0)

P.S
you can post your email in private for me, then i will send you a case test and some refrences
liguifan is offline   Reply With Quote

Old   April 14, 2013, 01:59
Default
  #9
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
those cases are different from each others, in dambreak those surfaces are wall, so you apply a no slip boundary condition, but here in bubble rising test case, those surace are not wall, its an imaginary boundary which split our test case domain with the rest of stagnant liquid
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   April 14, 2013, 17:59
Default
  #10
Member
 
Guifan Li
Join Date: Apr 2011
Location: New York City, U.S.
Posts: 96
Rep Power: 14
liguifan is on a distinguished road
Thanks very much for the quick reply.

I still unsure about the boundary condition for my case.

I try to simulate a droplet of oil in the central of a cylinder water with a radius of 0.09m base, and now i want to simulate it as a asymmetrical 2D case. So in 2D case, the droplet should be split into half at r=0. As you said, I can set the boundary condition for my rightWall( the cylinder boundary in 3D and at radius =0) as zeroGradient in velocity, but I am not sure how to set the boundary condition for the leftWall? Do you have some suggestions?

Thanks!

Kind regards,




Quote:
Originally Posted by nimasam View Post
those cases are different from each others, in dambreak those surfaces are wall, so you apply a no slip boundary condition, but here in bubble rising test case, those surace are not wall, its an imaginary boundary which split our test case domain with the rest of stagnant liquid
liguifan is offline   Reply With Quote

Old   April 14, 2013, 19:28
Default
  #11
Member
 
Guifan Li
Join Date: Apr 2011
Location: New York City, U.S.
Posts: 96
Rep Power: 14
liguifan is on a distinguished road
I also tried to use the zeroGradient boundary condition set in velocity.
Quote:
dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
leftWall
{
type zeroGradient;
//value uniform (0 0 0);
}
rightWall
{
type zeroGradient;
//value uniform (0 0 0);
}
lowerWall
{
type fixedValue;
value uniform (0 0 0);
}
atmosphere
{
type fluxCorrectedVelocity;
value uniform (0 0 0);
}
defaultFaces
{
type empty;
}
}
However, water seems to leak out after a few steps as in the graphs. In this case, I initial a cylinder oil on the surface of the water.

Could you please give me some suggestion about where I am wrong?

Many thanks!
liguifan 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
Mass conservation problem in mixing tank multiphase simulation rockewan FLUENT 0 April 6, 2010 13:34
Simulation of filling a pool by Vof Asghari_M FLUENT 8 February 16, 2010 03:30
FSI TWO-WAY SIMULATION Smagmon CFX 1 March 6, 2009 14:24
urgent query regarding vof model plz rply Garima Chaudhary FLUENT 0 July 13, 2007 03:20
vof simulation in batch mode vof_grid FLUENT 0 July 6, 2007 09:47


All times are GMT -4. The time now is 00:48.