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

valueFraction change with time for multiphase simulations

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 26, 2010, 01:45
Default valueFraction change with time for multiphase simulations
  #1
Member
 
Join Date: Dec 2009
Posts: 46
Rep Power: 16
openfoam1 is on a distinguished road
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 so that the valueFraction should change with alpha_1 change on the wall

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.
openfoam1 is offline   Reply With Quote

Old   May 8, 2020, 14:20
Default
  #2
New Member
 
Excercise
Join Date: Feb 2019
Posts: 11
Rep Power: 7
Excercise is on a distinguished road
Hello, I know this is an old thread. Now I have this problem too. How did you solve it? Thank you in advance~
Excercise is offline   Reply With Quote

Old   May 10, 2020, 12:39
Default
  #3
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
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
Tobi is offline   Reply With Quote

Old   May 10, 2020, 13:46
Default
  #4
New Member
 
Excercise
Join Date: Feb 2019
Posts: 11
Rep Power: 7
Excercise is on a distinguished road
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;
}
#
Excercise 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
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


All times are GMT -4. The time now is 17:21.