From ea6d010f515899a1b5b085be533e0ce58374b2a7 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Tue, 31 May 2016 21:21:41 +0100 Subject: [PATCH] tutorials/incompressible/pimpleDyMFoam/propeller: Use the standard 'Q' functionObject configuration --- .../pimpleDyMFoam/propeller/system/Q | 21 ------------------- .../propeller/system/controlDict | 2 +- 2 files changed, 1 insertion(+), 22 deletions(-) delete mode 100644 tutorials/incompressible/pimpleDyMFoam/propeller/system/Q diff --git a/tutorials/incompressible/pimpleDyMFoam/propeller/system/Q b/tutorials/incompressible/pimpleDyMFoam/propeller/system/Q deleted file mode 100644 index 9d8ff222f8..0000000000 --- a/tutorials/incompressible/pimpleDyMFoam/propeller/system/Q +++ /dev/null @@ -1,21 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -// Calculate Q(U) -Q -{ - type Q; - - libs ("libfieldFunctionObjects.so"); - - executeControl writeTime; - writeControl writeTime; -} - - -// ************************************************************************* // diff --git a/tutorials/incompressible/pimpleDyMFoam/propeller/system/controlDict b/tutorials/incompressible/pimpleDyMFoam/propeller/system/controlDict index e14e81943b..4d2372f9b4 100644 --- a/tutorials/incompressible/pimpleDyMFoam/propeller/system/controlDict +++ b/tutorials/incompressible/pimpleDyMFoam/propeller/system/controlDict @@ -54,7 +54,7 @@ maxCo 2; functions { - #include "Q" + #includeFunc Q #include "surfaces" #include "forces" }