|
[Sponsors] |
valueFraction change with time for multiphase simulations |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Join Date: Dec 2009
Posts: 46
Rep Power: 16 ![]() |
Hi people ;
i have a multiphase simulation of water drop on a flat plate with partial slip . so the plate boundary should be wall with a given valueFraction i want the partial slip affect the water only not the air (partial slip on water drop and no slip on the air) i can put a nonuniform boundary condition for the drop seat for alpha_1 with a valueFraction i want. and for air = 1 (which corresponding to no-slip condition) the problem here is that the drop should move ![]() could any one have any experience in openFoam with such simulation i want the valueFraction be associated with water phase only when the time change . is that available in OF? thank you. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Excercise
Join Date: Feb 2019
Posts: 11
Rep Power: 7 ![]() |
Hello, I know this is an old thread. Now I have this problem too. How did you solve it? Thank you in advance~
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 51 ![]() ![]() ![]() |
There is no boundary condition for such problem out of the box. However, you can use a codedFixed boundary to program it yourself. For that purpose, you need to get the face values of alpha and check wheater you have alpha equal zero, then apply a velocity vector if zero zero zero. If it is one, apply what ever you want to do with the water, and inbetween you have both phases. Shere you can make a blending function or what ever you think is correct.
__________________
Keep foaming, Tobias Holzmann |
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Excercise
Join Date: Feb 2019
Posts: 11
Rep Power: 7 ![]() |
Hi,Tobi
Thank you very much for your advice! I want to implement a BC morified by partialSlip. In partialSlip BC, a const valueFraction is read, and I want to set valueFraction change with the alpah of two phase flow. But I'm a beginner of OpenFoam programming, could you tell me more details or give a similar example about it? Thank you in advance. # <patchName> { type partialSlip; valueFraction uniform 0.1; } # |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic moving mesh | Pei-Ying Hsieh (Hsieh) | OpenFOAM Running, Solving & CFD | 64 | June 7, 2012 10:04 |
calculation diverge after continue to run | zhajingjing | OpenFOAM | 0 | April 28, 2010 04:35 |
UDF to track time step change | meangreen | Fluent UDF and Scheme Programming | 0 | July 11, 2009 15:19 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 18:07 |
unsteady calcs in FLUENT | Sanjay Padhiar | Main CFD Forum | 1 | March 31, 1999 12:32 |