From 60155bd90d4541ff2e169d90f6f66894a7ab5982 Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Sat, 9 Nov 2019 16:51:31 +0100 Subject: [PATCH] TUT: add (disabled) surfaceFieldValue interpolate (#1488) --- .../simpleFoam/squareBend/system/sampling | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/tutorials/incompressible/simpleFoam/squareBend/system/sampling b/tutorials/incompressible/simpleFoam/squareBend/system/sampling index 628d414aeb..7c6161ad6a 100644 --- a/tutorials/incompressible/simpleFoam/squareBend/system/sampling +++ b/tutorials/incompressible/simpleFoam/squareBend/system/sampling @@ -159,6 +159,25 @@ areaIntegrate fields ( p pTotal ); } +nonWeightedAreaAverage +{ + ${__surfaceFieldValue} + enabled false; + + regionType sampledSurface; + name sampledTriSurf; + sampledSurfaceDict + { + type sampledTriSurfaceMesh; + surface angledPlane.obj; + source insideCells; + interpolate true; + } + + operation areaAverage; + fields ( U ); +} + // Inflow uniformity UI1 {