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

step by step for VOF modeling

Register Blogs Community New Posts Updated Threads Search

Like Tree12Likes
  • 11 Post By Özgür
  • 1 Post By Mohammad80

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 16, 2003, 07:47
Default step by step for VOF modeling
  #1
AK
Guest
 
Posts: n/a
Hi I modeled a VOF but my results is unphysical.we help you to say a good reference about step by step for VOF modeling (not fluent manual please).

Thank alot.
  Reply With Quote

Old   December 17, 2003, 05:09
Default Re: step by step for VOF modeling
  #2
mateus
Guest
 
Posts: n/a
Hi AK!

I think it's going to be hard to get a step by step reference about VOF (or any other special problem). The thing is (at least that's my expirience) nobody will tell you exactly what you have to do. When you look at it it's logical. If someone spends a long time developing a model (technikque, procedure) it's not likely that he will give it away just like that. For example if you read papers it looks like everithing is explained, but the fact is that the important things remain hidden and the only way to get to them is a LOT of work.

But I'm glad to say that I think this forum is in most cases an exeption to the "rule" described above.

Maybe you can give us a morfe specific description about your work and you will get an answer.

Hope I didn't demoralize you

MATEUS
  Reply With Quote

Old   December 17, 2003, 05:56
Default Re: step by step for VOF modeling
  #3
Özgür
Guest
 
Posts: n/a
I agree with Mateus. I am quite new in this forum but I also very glad to see the kind help from people here and the effort & time they invest on the others' problems.

Here are some important points about VOF modelling (from Fluent Users Service Center)I hope to give you some guidance:

* Although the VOF model will work with any mesh type, quad cells in 2D and hex cells in 3D are recommended for free surface flows. Also, try to make the mesh as uniform as possible.

* Use the PRESTO! pressure interpolation scheme for Pressure under "Discretization" in the Solution Controls GUI panel (Solve - Controls - Solution...). Make sure that the "Implicit Body Force" formulation (in Define - Models - Multiphase) is NOT activated. Note that the PRESTO scheme is only available for Quad/Hex meshes. If your model contains Tri/Tet cells, use "Body Force Weighted" for Pressure discretization in the Solution Controls GUI panel and activate the "Implicit Body Force" formulation in the Multiphase Model GUI panel (Define - Models - Multiphase).

* Use "PISO" for Pressure-Velocity Coupling in the Solution Controls GUI panel (Solve - Controls - Solution...).

* Set all the Under-Relaxation Factors in the Solution Controls GUI panel to 1 and run the calculation for a few time steps to observe convergence behavior. If the convergence behavior is poor, reduce the under-relaxation factor for Momentum to 0.7 and run the calculation again for a few time steps. If convergence is still hard to achieve, lower the under-relaxation factors for Pressure to 0.5 and Volume Fraction to 0.5.

* Select a time step size (when you start iterating) such that the solution converges within 20 to 30 iterations at each time step. To determine this, set the maximum iterations per time step to a large number initially (say, 100) and experiment with the time step size to determine how many iterations the solution converges in.

* As for convergence criteria (Solve - Monitors - Residual), use 1.0e-04 for all variables if your model has inlet/outlet boundary conditions. Otherwise, use the default 1.0e-03 value. * You may also want to use the double precision version of FLUENT if your model involves very small length scales.

JackFischer, Teumde, pawl and 8 others like this.
  Reply With Quote

Old   December 17, 2003, 08:58
Default Re: step by step for VOF modeling
  #4
AK
Guest
 
Posts: n/a
Hi my friends

I thank you very much,because of your guidance. you believe that I do not nowise to be discomfort. I only wanted an adderres of reference about VOF modeling in fluent (for example: site 'so and so' in INTERNET),and dont expect that someone completely explain it for me in response box.also i read VOF in fluent manual completely and have understood its structures in this package but have some problems in allocating initial values for volume fraction for tow phases. but now I modeled a bridge pier in a regtangular open channel.it is an hydaralic problem. in 2D model without free suface changing,results for pattern flow is good but because of turbulence of water surface,force value is not satisfactory.now i incorporate VOF in model.my B.C are : pressure inlet for top of domain. velocity inlet for entrance. outflow for end of domain. wall for solid sides.

again i thank you for your friendly guidance.

NOW BYE.

  Reply With Quote

Old   December 21, 2003, 08:37
Default Re: step by step for VOF modeling
  #5
prasanth
Guest
 
Posts: n/a
hi Ozgur, I hope our tips will apply to mixture model too. my problem is an axisymmetric model of a cylindrical tank containing liq upto 80% and remaining 205 by vapor. now, on heating by constant heat flux on cyl. walls, natural convection has to occur and when interface reaches sat temp, evaporation has to occur. for this i have done patching and given static head distribution through custom defined function and UDF for mass & energy sources to include evaporation. can u model it without UDF and check the pressure distribution after patching and after first iteration. custom field function is rho*g*(h-coordinate); h-total height.

y i am asking is, pressure distribution, even showing correct profile...values are abruptly changing to -ve values

hope u understand regards prasanth
  Reply With Quote

Old   June 25, 2015, 15:19
Default
  #6
New Member
 
Tom Derks
Join Date: May 2015
Posts: 3
Rep Power: 10
Teumde is on a distinguished road
Quote:
Originally Posted by Özgür
;109730
I agree with Mateus. I am quite new in this forum but I also very glad to see the kind help from people here and the effort & time they invest on the others' problems.

Here are some important points about VOF modelling (from Fluent Users Service Center)I hope to give you some guidance:

* Although the VOF model will work with any mesh type, quad cells in 2D and hex cells in 3D are recommended for free surface flows. Also, try to make the mesh as uniform as possible.

* Use the PRESTO! pressure interpolation scheme for Pressure under "Discretization" in the Solution Controls GUI panel (Solve - Controls - Solution...). Make sure that the "Implicit Body Force" formulation (in Define - Models - Multiphase) is NOT activated. Note that the PRESTO scheme is only available for Quad/Hex meshes. If your model contains Tri/Tet cells, use "Body Force Weighted" for Pressure discretization in the Solution Controls GUI panel and activate the "Implicit Body Force" formulation in the Multiphase Model GUI panel (Define - Models - Multiphase).

* Use "PISO" for Pressure-Velocity Coupling in the Solution Controls GUI panel (Solve - Controls - Solution...).

* Set all the Under-Relaxation Factors in the Solution Controls GUI panel to 1 and run the calculation for a few time steps to observe convergence behavior. If the convergence behavior is poor, reduce the under-relaxation factor for Momentum to 0.7 and run the calculation again for a few time steps. If convergence is still hard to achieve, lower the under-relaxation factors for Pressure to 0.5 and Volume Fraction to 0.5.

* Select a time step size (when you start iterating) such that the solution converges within 20 to 30 iterations at each time step. To determine this, set the maximum iterations per time step to a large number initially (say, 100) and experiment with the time step size to determine how many iterations the solution converges in.

* As for convergence criteria (Solve - Monitors - Residual), use 1.0e-04 for all variables if your model has inlet/outlet boundary conditions. Otherwise, use the default 1.0e-03 value. * You may also want to use the double precision version of FLUENT if your model involves very small length scales.
Hello Özgür,

Volume fraction is not available??

How do i decrease the under relaxation factor of the Volume Fraction?

I am using fluent 14.5 and under solution controls->under-relaxation factors there is no Volume Fraction listed.


However I am using VOF.

Thanks
Teumde is offline   Reply With Quote

Old   June 27, 2015, 18:46
Post
  #7
Member
 
Piyush Aras
Join Date: Jun 2015
Posts: 34
Rep Power: 10
piyusharas is on a distinguished road
You can take this example as guide :
http://chamilo2.grenet.fr/inp/main/d...idReq=0&id=311


I am also working on a multiphase model.
It is a kind of drainage of tank with a inlet and 6 outlet (gravity working)
But I am getting this error

Global courant number is greater than 250.00 The
velocity field is probably diverging. Please check the solution
and reduce the time-step if necessary.
what should i do reducing time step doesn't solve the problem.
piyusharas is offline   Reply With Quote

Old   July 27, 2015, 09:22
Default Interphase VOF
  #8
New Member
 
moon
Join Date: Feb 2012
Posts: 26
Rep Power: 14
moun139 is on a distinguished road
Hey guys,
I'm simulating slug flow (air bubble) in a pipe using VOF in fluent. My question why in the contours of air phase (attached) , the fraction of of air varies between 0 and 1 , it's seems not realistic. I tried to set difference schemes , and methods (reconstruction, 2 ed order) implicit ,explicit , but I still have the same result ?

do you think I should refine the mesh ? or reduce time step ?

Thank you

ffff.jpg
moun139 is offline   Reply With Quote

Old   October 5, 2016, 04:33
Default
  #9
Member
 
muhamed
Join Date: Jun 2013
Posts: 66
Rep Power: 12
Mohammad80 is on a distinguished road
Hi everybody,
I have a problem with the wind pressure distribution on a building. As you can see from the attached picture (Picture 1), which I downloaded it from the internet, the pressure at the lower part of the building is much less than that at the upper part and this is expected to be happened because the wind velocity near the ground is much less than that at the top.
The problem I faced is that the wind pressure be the same along the height of the building (Picture 2). Does anyone can help me?
Attached Images
File Type: jpg Picture 1.jpg (50.6 KB, 81 views)
File Type: jpg Picture 2.jpg (57.0 KB, 55 views)
vats1994 likes this.
Mohammad80 is offline   Reply With Quote

Old   November 14, 2016, 16:46
Default
  #10
Member
 
Join Date: Nov 2016
Posts: 34
Rep Power: 9
ywan168 is on a distinguished road
Quote:
Originally Posted by moun139 View Post
Hey guys,
I'm simulating slug flow (air bubble) in a pipe using VOF in fluent. My question why in the contours of air phase (attached) , the fraction of of air varies between 0 and 1 , it's seems not realistic. I tried to set difference schemes , and methods (reconstruction, 2 ed order) implicit ,explicit , but I still have the same result ?

do you think I should refine the mesh ? or reduce time step ?

Thank you

Attachment 41086
Hello,

I see this post is pretty old. I am just starting using FLUENT. My using FLUENT is basically to simulate foam flow in pipe, in plug flow and slug flow. So one of my question is that if you already resolved your problem and how. Another question from you is that if you know FLUENT has the capability to simulate foam fluid flow because it is quitely different from other liquids.

Thanks very much!
ywan168 is offline   Reply With Quote

Old   October 8, 2017, 07:25
Default
  #11
New Member
 
Rohit Tiwari
Join Date: Nov 2016
Posts: 10
Rep Power: 9
Rohtiwari is on a distinguished road
Quote:
Originally Posted by piyusharas View Post
You can take this example as guide :
http://chamilo2.grenet.fr/inp/main/d...idReq=0&id=311


I am also working on a multiphase model.
It is a kind of drainage of tank with a inlet and 6 outlet (gravity working)
But I am getting this error

Global courant number is greater than 250.00 The
velocity field is probably diverging. Please check the solution
and reduce the time-step if necessary.
what should i do reducing time step doesn't solve the problem.
Hi piyusharas

I know this is very old thread. But I am also getting same problem(global courant number is greater than 250), have you solved this problem?
Rohtiwari is offline   Reply With Quote

Old   January 18, 2018, 12:19
Default vof sloshing
  #12
New Member
 
vamsi
Join Date: Jan 2018
Posts: 2
Rep Power: 0
vamsiuchiha is on a distinguished road
i have a 2-D container...i want to set top half of it as air and the bottom half as water..can someone please help me with the definition for userdefined function for the above constraints.
would be more helpful if a brief explanation is given as well...

thanks a lot
vamsiuchiha is offline   Reply With Quote

Old   January 19, 2018, 01:33
Default
  #13
Member
 
annan
Join Date: Nov 2016
Posts: 72
Rep Power: 9
annan is on a distinguished road
Quote:
Originally Posted by vamsiuchiha View Post
i have a 2-D container...i want to set top half of it as air and the bottom half as water..can someone please help me with the definition for userdefined function for the above constraints.
would be more helpful if a brief explanation is given as well...

thanks a lot
Hello vamsiuchiha,
You can do that either by a UDF or using patch while initializing the fields in your domain.
You can first try this:
- setting up domain => adapt => mark/adapt cells => region => enter Xmin Xmax Ymin Ymax of the domain's bottom half => click on mark
- Now go to the "Solution initialization" tab, click on initialize
- then in the same tab, click on patch => "phase" => choose phase 2 if the water is your secondary phase => Select volume fraction in "variable" => Select what you marked in the Registers to patch => finally change the "Value" to 1 and click on patch.
To be sure it worked, go to Results=>Graphics=>countours and select phases then compute and display, normally you'll get exactly what you want.

Just in case you've forgotten to do that, check in you model that you have defined you secondary phase as water .If you want to do it by UDF, let me know, I can help you with that.

Hope this will help.
Good luck
annan is offline   Reply With Quote

Old   May 14, 2018, 09:39
Default
  #14
New Member
 
Star
Join Date: Apr 2018
Posts: 3
Rep Power: 8
sikandar is on a distinguished road
I am dealing with a simple case of air water VOF modeling in 2D, where bubble moves with by buoyancy forces hence there is no inlet in bottom, the mesh is uniform, 60 by 600mm column and 3mm bubble is initialized at 10mm level.

how can i find the gravity center of bubble for accurate terminal velocity. If i have to write UDF kindly share any example or guide for this issue.
thanks
sikandar is offline   Reply With Quote

Old   July 5, 2018, 14:58
Default Help!Help!Help
  #15
New Member
 
Rahul Dev
Join Date: Apr 2018
Location: Surathkal
Posts: 8
Rep Power: 8
rahul8dev is on a distinguished road
Hello everyone

I am doing VOF analysis of CO2 .Please help to define how can I specify the CO2 liquid as 1st inlet and CO2 Gas as second Inlet .
Thanks in advance to you all.
rahul8dev is offline   Reply With Quote

Old   July 6, 2018, 07:12
Default
  #16
New Member
 
Laghouat
Join Date: Feb 2018
Posts: 7
Rep Power: 8
zaoui is on a distinguished road
I am doing a 2D simulation for wave propagation and my problem is that for the same wave parameters and the same setting the propagation in ANSYS-CFX is not the same as in ANSYS-FLUENT and it seems that in Fluent the wave decay .
I need your help please
u are welcome for more explanations
zaoui 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
Phase Field modeling in OpenFOAM adona058 OpenFOAM Running, Solving & CFD 35 November 16, 2021 00:16
DPM particle time step amos FLUENT 1 January 4, 2020 08:46
Installing OF 1.6 on Mac OS X gschaider OpenFOAM Installation 129 June 19, 2010 09:23
DPM: Particle Tracking Madhukar FLUENT 1 July 24, 2007 03:51
Specfying Turbulent boundary-backward-facing step Ben Sellars FLUENT 1 December 13, 2006 07:39


All times are GMT -4. The time now is 10:15.