Skip to content
Snippets Groups Projects
Commit 993b7af5 authored by Kutalmış Berçin's avatar Kutalmış Berçin Committed by Andrew Heather
Browse files

BUG: contactAngleForce: avoid suppresing the film entering the domain (fixes #2651)

parent 6f2c609a
No related branches found
No related tags found
1 merge request!584ENH: dynamicContactAngleForce: new finite-area contact-angle force model
...@@ -167,6 +167,21 @@ tmp<faVectorMatrix> contactAngleForce::correct(areaVectorField& U) ...@@ -167,6 +167,21 @@ tmp<faVectorMatrix> contactAngleForce::correct(areaVectorField& U)
} }
} }
for (const faPatchScalarField& sigmaBf : sigma.boundaryField())
{
const faPatch& p = sigmaBf.patch();
if (!p.coupled())
{
const labelUList& faces = p.edgeFaces();
forAll(sigmaBf, edgei)
{
const label face0 = faces[edgei];
force[face0] = Zero;
}
}
}
if (film().regionMesh().time().writeTime()) if (film().regionMesh().time().writeTime())
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment