CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   step by step for VOF modeling (https://www.cfd-online.com/Forums/fluent/32719-step-step-vof-modeling.html)

AK December 16, 2003 07:47

step by step for VOF modeling
 
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.

mateus December 17, 2003 05:09

Re: step by step for VOF modeling
 
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

Özgür December 17, 2003 05:56

Re: step by step for VOF modeling
 
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.


AK December 17, 2003 08:58

Re: step by step for VOF modeling
 
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.


prasanth December 21, 2003 08:37

Re: step by step for VOF modeling
 
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

Teumde June 25, 2015 15:19

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

piyusharas June 27, 2015 18:46

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.

moun139 July 27, 2015 09:22

Interphase VOF
 
1 Attachment(s)
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

Mohammad80 October 5, 2016 04:33

2 Attachment(s)
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?

ywan168 November 14, 2016 16:46

Quote:

Originally Posted by moun139 (Post 557177)
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!

Rohtiwari October 8, 2017 07:25

Quote:

Originally Posted by piyusharas (Post 552411)
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?

vamsiuchiha January 18, 2018 12:19

vof sloshing
 
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

annan January 19, 2018 01:33

Quote:

Originally Posted by vamsiuchiha (Post 678601)
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

sikandar May 14, 2018 09:39

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

rahul8dev July 5, 2018 14:58

Help!Help!Help
 
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.

zaoui July 6, 2018 07:12

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


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