diff --git a/tutorials/incompressible/channelFoam/channel395/constant/postChannelDict b/tutorials/incompressible/channelFoam/channel395/constant/postChannelDict index 89fcd50809..96bbe30d76 100644 --- a/tutorials/incompressible/channelFoam/channel395/constant/postChannelDict +++ b/tutorials/incompressible/channelFoam/channel395/constant/postChannelDict @@ -15,10 +15,14 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +// Seed patches to start layering from patches ( bottomWall ); +// Direction in which the layers are component y; +// Is the mesh symmetric? If so average(symmetric fields) or +// subtract(asymmetric) contributions from both halves symmetric true; diff --git a/tutorials/incompressible/channelFoam/channel395/system/controlDict b/tutorials/incompressible/channelFoam/channel395/system/controlDict index 2ca28c29a1..218a76d861 100644 --- a/tutorials/incompressible/channelFoam/channel395/system/controlDict +++ b/tutorials/incompressible/channelFoam/channel395/system/controlDict @@ -43,7 +43,35 @@ timePrecision 6; runTimeModifiable yes; -functions ( fieldAverage1 { type fieldAverage ; functionObjectLibs ( "libfieldFunctionObjects.so" ) ; enabled true ; outputControl outputTime ; fields ( U { mean on ; prime2Mean on ; base time ; } p { mean on ; prime2Mean on ; base time ; } ) ; } ); +functions +( + fieldAverage1 + { + type fieldAverage; + + functionObjectLibs ( "libfieldFunctionObjects.so" ); + + enabled true; + + outputControl outputTime; + + fields + ( + U + { + mean on; + prime2Mean on; + base time; + } + p + { + mean on; + prime2Mean on; + base time; + } + ); + } +); // ************************************************************************* //