From 7077a768ea91e9bf6e250fa5393955e41edb5b26 Mon Sep 17 00:00:00 2001 From: andy Date: Mon, 12 May 2008 18:04:11 +0100 Subject: [PATCH] updated LES oodles tutorials to use the fieldAverage function object --- .../Xoodles/pitzDaily/system/controlDict | 29 +++++++++++++++++++ .../Xoodles/pitzDaily3D/system/controlDict | 29 +++++++++++++++++++ .../channel395/system/controlDict | 29 +++++++++++++++++++ .../coodles/pitzDaily/system/controlDict | 29 +++++++++++++++++++ tutorials/oodles/pitzDaily/system/controlDict | 26 +++++++++++++++++ 5 files changed, 142 insertions(+) diff --git a/tutorials/Xoodles/pitzDaily/system/controlDict b/tutorials/Xoodles/pitzDaily/system/controlDict index 9b1ce77209..344451bb19 100644 --- a/tutorials/Xoodles/pitzDaily/system/controlDict +++ b/tutorials/Xoodles/pitzDaily/system/controlDict @@ -52,5 +52,34 @@ timePrecision 6; runTimeModifiable yes; +functions +( + fieldAverage1 + { + // Type of functionObject + type fieldAverage; + + // Where to load it from (if not already in solver) + functionObjectLibs ("libfieldAverage.so"); + + // Fields to be averaged - runTime modifiable + fields + ( + U + { + mean on; + prime2Mean on; + base time; + } + p + { + mean on; + prime2Mean on; + base time; + } + ); + } +); + // ************************************************************************* // diff --git a/tutorials/Xoodles/pitzDaily3D/system/controlDict b/tutorials/Xoodles/pitzDaily3D/system/controlDict index 3106ce414e..4d89aa89bd 100644 --- a/tutorials/Xoodles/pitzDaily3D/system/controlDict +++ b/tutorials/Xoodles/pitzDaily3D/system/controlDict @@ -52,5 +52,34 @@ timePrecision 6; runTimeModifiable yes; +functions +( + fieldAverage1 + { + // Type of functionObject + type fieldAverage; + + // Where to load it from (if not already in solver) + functionObjectLibs ("libfieldAverage.so"); + + // Fields to be averaged - runTime modifiable + fields + ( + U + { + mean on; + prime2Mean on; + base time; + } + p + { + mean on; + prime2Mean on; + base time; + } + ); + } +); + // ************************************************************************* // diff --git a/tutorials/channelOodles/channel395/system/controlDict b/tutorials/channelOodles/channel395/system/controlDict index f7f0dcf1a5..35ab190f4e 100644 --- a/tutorials/channelOodles/channel395/system/controlDict +++ b/tutorials/channelOodles/channel395/system/controlDict @@ -52,5 +52,34 @@ timePrecision 6; runTimeModifiable yes; +functions +( + fieldAverage1 + { + // Type of functionObject + type fieldAverage; + + // Where to load it from (if not already in solver) + functionObjectLibs ("libfieldAverage.so"); + + // Fields to be averaged - runTime modifiable + fields + ( + U + { + mean on; + prime2Mean on; + base time; + } + p + { + mean on; + prime2Mean on; + base time; + } + ); + } +); + // ************************************************************************* // diff --git a/tutorials/coodles/pitzDaily/system/controlDict b/tutorials/coodles/pitzDaily/system/controlDict index 8153554997..9920022739 100644 --- a/tutorials/coodles/pitzDaily/system/controlDict +++ b/tutorials/coodles/pitzDaily/system/controlDict @@ -52,5 +52,34 @@ timePrecision 6; runTimeModifiable yes; +functions +( + fieldAverage1 + { + // Type of functionObject + type fieldAverage; + + // Where to load it from (if not already in solver) + functionObjectLibs ("libfieldAverage.so"); + + // Fields to be averaged - runTime modifiable + fields + ( + U + { + mean on; + prime2Mean on; + base time; + } + p + { + mean on; + prime2Mean on; + base time; + } + ); + } +); + // ************************************************************************* // diff --git a/tutorials/oodles/pitzDaily/system/controlDict b/tutorials/oodles/pitzDaily/system/controlDict index bbef227c15..2d6b2ce39b 100644 --- a/tutorials/oodles/pitzDaily/system/controlDict +++ b/tutorials/oodles/pitzDaily/system/controlDict @@ -80,6 +80,32 @@ functions p ); } + + fieldAverage1 + { + // Type of functionObject + type fieldAverage; + + // Where to load it from (if not already in solver) + functionObjectLibs ("libfieldAverage.so"); + + // Fields to be averaged - runTime modifiable + fields + ( + U + { + mean on; + prime2Mean on; + base time; + } + p + { + mean on; + prime2Mean on; + base time; + } + ); + } ); // ************************************************************************* //