CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Pre-Processing

Wall contact angle

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   January 28, 2009, 14:34
Default Hello, I working with inter
  #1
Member
 
Eelco Gehring
Join Date: Mar 2009
Posts: 70
Rep Power: 8
feijooos is on a distinguished road
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
feijooos is offline   Reply With Quote

Old   February 2, 2009, 02:43
Default anybody?
  #2
Member
 
Eelco Gehring
Join Date: Mar 2009
Posts: 70
Rep Power: 8
feijooos is on a distinguished road
anybody?
feijooos is offline   Reply With Quote

Old   February 2, 2009, 08:44
Default Hello Eelco, Pl. try using
  #3
Member
 
a a saha
Join Date: Mar 2009
Posts: 67
Rep Power: 8
asaha is on a distinguished road
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.
asaha is offline   Reply With Quote

Old   February 2, 2009, 11:36
Default Hi a a saha, Thanks for you
  #4
Member
 
Eelco Gehring
Join Date: Mar 2009
Posts: 70
Rep Power: 8
feijooos is on a distinguished road
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
feijooos is offline   Reply With Quote

Old   February 3, 2009, 12:52
Default I think I solved the problem.
  #5
Member
 
Eelco Gehring
Join Date: Mar 2009
Posts: 70
Rep Power: 8
feijooos is on a distinguished road
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
feijooos is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
contact angle yan FLUENT 4 November 6, 2012 05:22
How to vary wall contact angle in the solver hsieh OpenFOAM Running, Solving & CFD 7 February 28, 2010 09: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 20:50


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