|
[Sponsors] |
January 28, 2009, 14:34 |
Hello,
I working with inter
|
#1 |
Member
Eelco Gehring
Join Date: Mar 2009
Posts: 70
Rep Power: 17 |
Hello,
I working with interFoam and I am trying to specify a specific contact angle for the fluid, in this case water. I searched the forum for related topics. I found a couple, but I can't seem to get it to work. How do I implement the constantGammaContactAngle? I know I have to specify it in my gamma field (/0/gamma). However, when I do this, I get an error upon using the setFields utility. It tells me that the gamma field is not found, wrong token word. Can somebody help me out? Thanks, Eelco |
|
February 2, 2009, 02:43 |
anybody?
|
#2 |
Member
Eelco Gehring
Join Date: Mar 2009
Posts: 70
Rep Power: 17 |
anybody?
|
|
February 2, 2009, 08:44 |
Hello Eelco,
Pl. try using
|
#3 |
Member
vof_user
Join Date: Mar 2009
Posts: 67
Rep Power: 17 |
Hello Eelco,
Pl. try using constantGammaContactAngle in damBreak tutorial as below: boundaryField { leftWall { type constantGammaContactAngle; theta0 40; uTheta 0; thetaA 40; thetaR 40; value uniform 0; } rightWall { type constantGammaContactAngle; theta0 40; uTheta 0; thetaA 40; thetaR 40; value uniform 0; } lowerWall { type constantGammaContactAngle; theta0 40; uTheta 0; thetaA 40; thetaR 40; value uniform 0; } atmosphere { type inletOutlet; inletValue uniform 0; value uniform 0; } defaultFaces { type empty; } } Regards, a a saha. |
|
February 2, 2009, 11:36 |
Hi a a saha,
Thanks for you
|
#4 |
Member
Eelco Gehring
Join Date: Mar 2009
Posts: 70
Rep Power: 17 |
Hi a a saha,
Thanks for your reply. I tried it out in the dambreak case and it is working. However, when I try implementing it in a 3D case it does not work. When I run the setFields command to initialize the gamma field, nothing happens. SetFields runs fine, but the gamma file (/0/gamma) doesn't get initialized. Any ideas? Thanks, Eelco |
|
February 3, 2009, 12:52 |
I think I solved the problem.
|
#5 |
Member
Eelco Gehring
Join Date: Mar 2009
Posts: 70
Rep Power: 17 |
I think I solved the problem. Setfields doesn't work, but funkySetFields does if I use the -keepPatches option. Seems to be working fine now.
Thanks for the help. Eelco |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to vary wall contact angle in the solver | hsieh | OpenFOAM Running, Solving & CFD | 8 | June 11, 2024 09:37 |
contact angle | yan | FLUENT | 4 | November 6, 2012 05:22 |
Wall contact angle | feijooos | OpenFOAM Pre-Processing | 0 | January 28, 2009 14:31 |
Moving contact line (dynamic contact angle) | Pulli | FLUENT | 0 | March 1, 2007 13:31 |
how to code wall contact angle? | schou | Main CFD Forum | 2 | May 5, 2003 21:50 |