InterFoam contact angle
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:
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:
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?
It's not the calculation that becomes impossible ....
I know this question is about a year old, but maybe for the benefit of other openfoam (or CFD) users it is good to know:
The reason that there is no solution to the equations for 45 degrees or less is that it is an unphysical situation to have a contact line in the corner if the CA is below 45 degrees. If this happens, you will get a corner with the low CA fluid completely filling the corners: so called gutter flow.
Check out Concus and Finn or Oron for more details on the math behind this:
* Concus and Finn, On The Behavior Of A Capillary Surface In A Wedge, PNAS, 1969
* Ajaev and Homsy, Modeling Shapes and Dynamics of Confined Bubbles, ARFM, 2006
In some situations, the existence of these `gutters' is essential to describe the physics of two-phase microflows:
* van Steijn et al., Flows Around Confined Bubbles And Their Importance In Triggering Pinch-off, Phys. Rev. Lett., 2009
Conatct angle in multiphaseinterfoam
Could anyone tell me the implementation of dynamic contact angle in multiphaseInterfoam solver?
There are four contact angle values to be input for multiphaseInterFoam, via.. equlibrium contact angle, Utheta, Advancing contact angle, Receding contact angle.
I found some details , how contact angle is being calculated in multiphaseInterFoam as follows,
θ = (θA − θR ) ∗ tanh(uwall/uθ)
my question is when i use no slip boundary condition, u wall is zero then the theta on left hand side is also becomes zero. Then how the contact angle effect is being imposed in multiphaseinterFoam under no slip BC. First of all, is this solver requires all four contact angle to be defined?
Please help me to understand this contact angle issue.
Contact Angle Correction
Hi everyone !
I am trying to understand how contact angle is corrected in interfoam based on theta value given either as input (constant contact angle mode) or calculated dynamically.
I started looking at the function correctcontactangle in interfaceProperties.C and i am confused as to how it corrects the contact angle :confused:. The correctcontactangle function is given below
Can anyone point me to some reference where it is explained or Can someone explain how the code !!
Thanks for your time
|All times are GMT -4. The time now is 00:53.|