From 41339f75509acee24eb58abae5761f973e00c6f1 Mon Sep 17 00:00:00 2001 From: mattijs <mattijs> Date: Tue, 13 Sep 2011 10:56:58 +0100 Subject: [PATCH] ENH: nearWallFields: sample controlDict --- .../field/nearWallFields/controlDict | 77 +++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 src/postProcessing/functionObjects/field/nearWallFields/controlDict diff --git a/src/postProcessing/functionObjects/field/nearWallFields/controlDict b/src/postProcessing/functionObjects/field/nearWallFields/controlDict new file mode 100644 index 00000000000..3c8d512f124 --- /dev/null +++ b/src/postProcessing/functionObjects/field/nearWallFields/controlDict @@ -0,0 +1,77 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: 2.0.0 | +| \\ / A nd | Web: www.OpenFOAM.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object controlDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +application icoFoam; + +startFrom startTime; + +startTime 0; + +stopAt endTime; + +endTime 0.5; + +deltaT 0.005; + +writeControl timeStep; + +writeInterval 20; + +purgeWrite 0; + +writeFormat ascii; + +writePrecision 6; + +writeCompression off; + +timeFormat general; + +timePrecision 6; + +runTimeModifiable true; + +functions +{ + near + { + // Where to load it from + functionObjectLibs ("libfieldFunctionObjects.so"); + + type nearWallFields; + + // Output every + outputControl outputTime; //timeStep; + //outputInterval 5; + + // Fields to be sampled. Per field original name and mapped field to + // create. + fields + ( + (p pNear) + (U UNear) + ); + + // Patches to sample (regular expressions) + patches ("movingWall"); + + // Distance to sample + distance 0.009; + } +} + + +// ************************************************************************* // -- GitLab