CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   UDF for wall boundary condition (https://www.cfd-online.com/Forums/fluent-udf/69370-udf-wall-boundary-condition.html)

 suren October 21, 2009 02:29

UDF for wall boundary condition

Greetings. I am in need of some technical advice here. I am trying to simulate a cavity-filling flow. My geometry (2D) is a simple rectangle, and the two longest edges are the top and bottom wall. The other two edges are the 'velocity inlet' and 'pressure outlet' respectively, and the flow is from left to right. The cavity is initially filled with air and a viscous polymer enters via the velocity inlet at a fixed velocity. I am using a transient, segregated, laminar solver, with the VOF scheme to model the filling process. In addition I am also solving the energy equation and using a power law model to model the viscosity of the polymer. Right now, the solution converges, and the results are decent except for one particular problem. The layer closest to the wall remains as air and the polymer does not displace it at a reasonable rate - this results in a rather skewed flow front profile. I have read literature on this problem and some researchers have overcome this by using two sets of wall-slip conditions. No-slip for the viscous polymer and traction-free for the air. I am trying to do this as well, but am having quite a bit of trouble implementing this as a UDF. I would appreciate any help. Thanks.

Suren

 coglione October 23, 2009 07:40

Hello Suren,

i think a no-slip BC is correct for both phases and should not be altered in any way. I would suggest to define surface tension and an appropriate wall contact angle to make your polymer the wetting phase. This should displace air from the adjacent wall cells effectively and in a physically sensible way.

cheers

 suren October 28, 2009 04:32

thanks a bunch for your suggestion. It should definitely be helpful to my work. Cheers

 All times are GMT -4. The time now is 14:00.