Merge branch 'master' of github.com-OpenFOAM:OpenFOAM/OpenFOAM-dev

This commit is contained in:
Henry Weller
2021-12-08 13:39:12 +00:00
19 changed files with 829 additions and 935 deletions

View File

@ -17,6 +17,4 @@ runApplication decomposePar -cellDist
runParallel $application
runApplication reconstructPar
runApplication postChannel
#------------------------------------------------------------------------------

View File

@ -47,6 +47,31 @@ runTimeModifiable true;
functions
{
#includeFunc fieldAverage(U, p, prime2Mean = yes)
#includeFunc uniform
(
fieldType = volScalarField,
name = half,
dimensions = [0 0 0 0 0 0 0],
value = 0.5
)
#includeFunc mag(UPrime2Mean)
#includeFunc multiply(half, mag(UPrime2Mean), result = k)
#includeFunc graphLayerAverage
(
funcName = layerAverage,
patches = (bottomWall),
axis = y,
symmetric = yes,
pMean,
pPrime2Mean,
UMean,
UPrime2Mean,
k
);
}
// ************************************************************************* //