VoF solvers: New interfaceCompressionFvPatchScalarField BC and additional shear compression

Provides the additional compression necessary to ensure interface integrity
adjacent to a boundary at a low angle of incidence to the interface.  This is
particularly important when simulating planing hulls.
This commit is contained in:
Henry Weller
2017-04-30 19:38:47 +01:00
committed by Andrew Heather
parent 542151b1fa
commit 9d1eb05bdc
5 changed files with 297 additions and 0 deletions

View File

@ -65,6 +65,14 @@
phic += (mixture.cAlpha()*icAlpha)*fvc::interpolate(mag(U));
}
// Add the optional shear compression contribution
if (scAlpha > 0)
{
phic +=
scAlpha*mag(mesh.delta() & fvc::interpolate(symm(fvc::grad(U))));
}
surfaceScalarField::Boundary& phicBf =
phic.boundaryFieldRef();