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

InterFoam contact angle

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes
  • 1 Post By michielm
  • 1 Post By vigneshTG
  • 4 Post By vigneshTG

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   October 15, 2010, 14:28
Default InterFoam contact angle
  #1
New Member
 
Joao Miranda
Join Date: Oct 2010
Posts: 1
Rep Power: 0
JoaoMiranda is on a distinguished road
Usually in a VOF method the contact angle is introduced in the simulation in the calculation of the curvature. The curvature near the boundary is determined based the vector normal to the surface. The vector normal to the surface is calculated from the contact angle.



The vector normal to the surface, n=(nx,ny,nz) is related to the angle by:

ny/SQRT(nx^2+nz^2)=cot(theta)


According to the following paper:


Chen Fang, Carlos Hidrovo, Fu-min Wang, John Eaton, Kenneth Goodson, 3-D numerical simulation of contact angle hysteresis for microscale two phase flow, International Journal of Multiphase Flow, Volume 34, Issue 7, July 2008, Pages 690-705


the calculation of the contact angle becomes complicated in corners, where two angles exist. The calculation of the vector normal do the surface becomes impossible for angles smaller than 45 degrees.


The vector n=(1,ny,nz) is related to the angle by:


ny=cos(theta1)/(1-cos(theta1)^2-cos(theta2)^2)


nz=cos(theta2)/(1-cos(theta1)^2-cos(theta2)^2)


These equation only work for cos(theta1)^2+cos(theta2)^2>1


How are these calculations handled in InterFoam? Specifically, how are contact angles handled in corners?
JoaoMiranda is offline   Reply With Quote

 

Tags
contact angle, corner, interfoam


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 contact angle rmousavibt Fluent UDF and Scheme Programming 12 October 31, 2021 22:38
solved: contact angle correction in interFoam rcastilla OpenFOAM Bugs 24 March 2, 2016 13:43
Slug Flow, interFoam, problems with Contact Angle PrzemekPL OpenFOAM Running, Solving & CFD 13 February 18, 2014 22:10
[Netgen] Import netgen mesh to OpenFOAM hsieh OpenFOAM Meshing & Mesh Conversion 32 September 13, 2011 05:50
Theoretical background of formula for dynamic contact angle in interfoam sebastian_vogl OpenFOAM Running, Solving & CFD 3 June 22, 2009 12:25


All times are GMT -4. The time now is 05:23.