Rationalised wall function implementation to avoid complex and inconsistent coefficients

All wall functions now operate collaboratively, obtaining the Cmu, kappa and E
coefficients and yPlusLam from the nutWallFunction base class.  Now these
optional inputs need only be specified in the nut boundary condition with the k,
epsilon, omega, v2 and f wall functions obtaining these values from there.  This
is much simpler to specify and avoids inconsistencies in the operation of the
wall functions for the different turbulence fields.

The code has also been rationalised and simplified avoiding unnecessary code
and duplication.
This commit is contained in:
Henry Weller
2019-05-31 19:40:32 +01:00
parent fc4d7b92c3
commit 1e2550b6cd
29 changed files with 284 additions and 895 deletions

View File

@ -35,7 +35,7 @@ boundaryField
plate
{
type fixedValue;
type nutkWallFunction;
value uniform 0;
}