CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Patching Second Phase Region in Fluent V13 VOF Model (http://www.cfd-online.com/Forums/fluent/86110-patching-second-phase-region-fluent-v13-vof-model.html)

sda March 14, 2011 19:39

Patching Second Phase Region in Fluent V13 VOF Model
 
Hello Fellow CFD Users,

I am trying to set up a VOF model with air and water in Fluent V13. Does anybody know how to use the patch function to designate the region occupied by the water phase?

Step by step please.

If you have a worked example that would be ideal.


Thanks for your help.

SDA

ElanMorin March 16, 2011 08:38

Hi,

I have a method of doing this that works (though whether it's the best way I don't know) but is first completed using gambit (or your meshing program).

In Gambit:

-Make a separate face or volume of the area that you want to patch.
-In the boundary conditions, name each separate volume (something like iniAir as the initally air section and iniWater as the initally water section).
-The lines or faces between these areas can be set in the boundary conditions as "Interior" meaning it is treated as not being there (alternatively you can just not include it as a boundary condition and then it will be ignored).
-Do all the other boundary conditions etc. as normal and export the msh.

In Fluent.

-Do everything you need to do with setting up the model that you would need to do (this step comes after initilizing the model).
-Once the model is initialized.
-> Solve -> Initialize -> Patch
---Change the variable to Volume Fraction and set the drop down box to water.
---Set the value to 1.
---and the Zone to Patch as iniWater (or what you named the area you want as water).
-click PATCH

You can then check that the zone is patched by checking Contours -> Phases -> Display and you should see the field you want.

Hope this helps

Elan

monty_p20 June 17, 2011 17:38

Vof
 
Hello all,

I need help regarding water droplet simulation on surface and in rectangular crosection pipe. Inlet is air.

Will you please help me in this case.

Thanks in advance.

haka March 15, 2012 11:49

Hi elan,
I did the same steps as you mentioned but in ansys mesh not gambit.
My problem is 2d axisymmetric when i name slected the faces for initial air and intial water and import the mesh to fluent i get the error (draw symmetries invalid thread).
If you could give any advice it will be nice.

ghost82 March 15, 2012 12:17

It is also possible to patch a region directly into fluent, without create a zone in gambit or other prepprocessors: clik adapt->region, give min and max x and min and max y to identify a rectangular zone (shape hex), then click mark.
Then go to pach and choose as region something like Hexahedron in the lower window at right (http://hpce.iitm.ac.in/website/Manua...tg/img2098.gif) and click patch.

https://www.sharcnet.ca/Software/Flu...g/node1381.htm


Daniele

haka March 15, 2012 12:22

Thanks for the quick reply,So in the solution initialization should i give any water volume fraction value or leave the default value(o) and initialize all zone and patch as you mention above. i should patch the water zone right?

my primary phase is air and sec phase is water.

ghost82 March 15, 2012 12:28

Quote:

Originally Posted by haka (Post 349654)
Thanks for the quick reply,So in the solution initialization should i give any water volume fraction value or leave the default value(o) and initialize all zone and patch as you mention above. i should patch the water zone right?

my primary phase is air and sec phase is water.

haka I see your sketch in the other thread: it depends what you want to do;
1- you can patch only the convergent zone already with water (yes you patch the secondary phase, the rest will be primary phase) or
2- you can have your domain filled all with air and your simulation will start from this point and water will enter first the convergent zone.

Daniele

haka March 15, 2012 12:58

Thank you again for the reply Daniele,
ok im doin the first one which nozzle filed with water, i patched as you mentioned waiting for the simulation to end.

if i want to do the 2nd one you mention , should i create a small convergent zone through adapt region (mark) or should i patch the face (nozzle inlet edge) like water start from the line .

tringuyenttt March 15, 2012 23:26

Patch for complex geometry
 
Dear alls,
I want to patch for complex geometry (such as triangle, cell, elliptic,...) but I can not how to create them, anyone know this, please help me or give me a tip. Thanks

rezacfd1361 March 29, 2012 11:52

tracking water surface in vof at wave tank
 
what s the meaning of selecting sum in "define surface monitor" for "Phrases" , "volume fraction" . I have a 2 phase domain, primary phase is air and secondary phase is water. I am going to track surface changes for water, in internet i read that I have to select sum when i intoduce monitors/surface/surface monitors/define surface monitor.
my case is a Neumerical Wave Tank.
please help me.

shuai_manlou June 12, 2012 07:47

Hello Daniele, I need your help, I am wondering is there any difference between the solutions when I set the primary phase to air and the second phase to water, and on the other hand, set the primary phase to water and second phase to air ?

thanks a lot ~

ghost82 June 12, 2012 08:17

Hi,
you have to set the primary phase as the continuous phase and secondary phase as the disperse phase; this is how I setup my problems.

Daniele

Volumeoffluid November 13, 2013 13:03

Hi all,
in my problem i have two cell regions(one with air, other with water) sharing internal boundaries and i try to use VOF in fluent. What shall i define this internal line???as moving wall?as interface??
thank you in advance!

thermal energy March 14, 2014 12:34

Hello dear friends,

I try to simulate melting process using VOF model. Pcm is solid phase initialy. Upper part of the solid there is air. They do not mix eachother. Natural convection is active. My primary phase air, secondary phase is pcm (phase change material). I have some questions to be sure about my model.

First, I do not define interface between air and pcm. Mean, There are 3 cell zone: air, fin ,pcm but I do not create name selection for this interface in meshing. Is it ok?

Initial condition of Wholesystem temperature is 293K, but air temp is 300K. how to set air temp ?

For cell zone condition, all cell zone (air, pcm, fin ) show mixture. Also for example, if I change pcm to phase2, all of cell zone change to phase 2

Only for secondary phase (pcm), I patch within fluent by adapt-region-mark then patch. Ok? Value of volume fraction should be 1 or 0 while patching?? I am confused. Initialy pcm is solid.

For initial values phase-2 volume fraction is 0. Ok?

I did some iteration for a short time to check model. For results, in graphics-countors I can not see total temperature for phase 1 and 2 only entalphy values I see for phase1 and 2.

Also countors of solidification/melting it shows only mixture. Mixture show what?

Any interaction should I use like surface tension etc.

Thanks for your help.

zain ali July 23, 2014 08:34

I'm wondering !!
 
hi
I'm confused in patch function in multiphase problems !
why do we have to patch the secondary phase in whatever zone ?
why don't we just specify the continuous phase in the domain and the dispersed phase as inlet and solve the case ?
will it work if we do so ?

boundary conditions

interior zone ==> water (continuous phase )
inlet ====> air (dispersed phase )
and solve the case !!


All times are GMT -4. The time now is 16:06.