CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   noSlip and constantAlphaContactAngle (https://www.cfd-online.com/Forums/openfoam-pre-processing/223385-noslip-constantalphacontactangle.html)

joshmccraney January 8, 2020 13:30

noSlip and constantAlphaContactAngle
 
Hi!

I'm modifying the damBreak tutorial. In the script 0/alpha.water.orig I can specify one of the walls as type constantAlphaContactAngle, thereby specifying the contact angle at the wall. In the script 0/U I can specify the same wall as type noSlip. However, when I run the tutorial now, we see that the velocity does slip along the advancing front (fluid moves up and down, splashing along the wall).

Can someone explain why noSlip seemingly does not enforce the no-slip BC everywhere along the wall?

razi.me05 November 11, 2021 00:03

Similar issues with twophaseeulerfoam
 
Hi Josh,

Could you solve this issue? I am solving incline plane flow and seeing the solid phase sliding down noslip/fixedValue(0 0 0) wall. Since twophaseeulerfoam doesn't have alphacontactangle boundary implemented I am using zerogradient for alpha at wall. Do you think implementing alphacontactangle boundary would help in my case?

joshmccraney November 11, 2021 00:27

Quote:

Originally Posted by razi.me05 (Post 816283)
Hi Josh,

Could you solve this issue? I am solving incline plane flow and seeing the solid phase sliding down noslip/fixedValue(0 0 0) wall. Since twophaseeulerfoam doesn't have alphacontactangle boundary implemented I am using zerogradient for alpha at wall. Do you think implementing alphacontactangle boundary would help in my case?

Yes, I did figure out how to strictly enforce pinning a fluid along a boundary. In your alpha.water.orig file within boundaryField try the following BC, say for example on a surface called rightWall:

rightWall{
type fixedValue;
value uniform 0;
}

in the p_rgh try

rightWall{
type fixedFluxPressure
value 0;
}

and try noSlip in the U file.

This should work; it worked for me via interFoam.


All times are GMT -4. The time now is 08:25.