CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLOW-3D (
-   -   UDF for dynamic Contact Angle (

Wolfgang.Black May 26, 2020 15:20

UDF for dynamic Contact Angle

I'm new to Flow-3D but have some fortran experience. It's my understanding that while FLOW-3D allows for single contact angles, it does not have the ability to do a dynamic contact angle to use both the receding and advancing contact angles. I was wondering if anyone here has developed a UDF for this for use with FLOW-3D or if anyone can give me some pointers.

I'm mostly thinking of setting a receding angle and an advancing angle and using the surface gradient to determine which to use...

Something like

if Yf(t-1) < Yf(t):
theta = Theta_adv
elseif Yf(t-1) > Yf(t):
theta = Theta_rec

Where Yf is the species mass fraction of the fluid at the fluid/surface interface...

All times are GMT -4. The time now is 04:45.