mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: contactAngleForce: avoid suppresing the film entering the domain (fixes #2651)
This commit is contained in:
committed by
Andrew Heather
parent
6f2c609a14
commit
993b7af513
@ -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())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user