Setting constantAlphaContactAngle in interMixingFoam
Dear all,
I'm new to OpenFOAM, using OpenFOAM 7. I've managed to simulate a simple drop of water on a flat surface using the interFoam function. I moved on to trying the interMixingFoam function as I needed to simulate some mixing of liquids on a hydrophobic flat surface. However, I was unable to set the contact angle. The simulation runs fine though. I placed the following inside the boundaryField for alpha.water.orig Code:
walls Am I doing something wrong here? |
Just realised what went wrong. While I set the theta0 for the water, the theta0 for air was set to zeroGradient. As a result, the theta0 for the water phase was probably overwritten.
In order to get the results I needed, the theta0 for the air phase was also explicitly defined, similarly to the water phase (though 180-waterContactAngle) |
All times are GMT -4. The time now is 04:35. |