From 90e2f8d87bcd3a8588545c2de68a62d5b5c54a99 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Sat, 9 Jul 2016 21:55:15 +0100 Subject: [PATCH] functionObjects::systemCall: Updated documentation --- .../utilities/systemCall/controlDict | 78 ------------------- .../utilities/systemCall/systemCall.H | 2 +- 2 files changed, 1 insertion(+), 79 deletions(-) delete mode 100644 src/functionObjects/utilities/systemCall/controlDict diff --git a/src/functionObjects/utilities/systemCall/controlDict b/src/functionObjects/utilities/systemCall/controlDict deleted file mode 100644 index 2177b456b..000000000 --- a/src/functionObjects/utilities/systemCall/controlDict +++ /dev/null @@ -1,78 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 4.x | -| \\ / 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 -{ - systemCall1 - { - type systemCall; - libs ("libsystemCall.so"); - enabled true; - writeControl writeTime; - - // called every time step - executeCalls - ( - "echo execute" - ); - - // called at the end of the run - endCalls - ( - "echo \*\*\* writing .bashrc \*\*\*" - "cat ~/.bashrc" - "echo \*\*\* done \*\*\*" - ); - - // called every ouput time - writeCalls - ( - "echo \*\*\* writing data \*\*\*" - ); - } -} - -// ************************************************************************* // diff --git a/src/functionObjects/utilities/systemCall/systemCall.H b/src/functionObjects/utilities/systemCall/systemCall.H index a468b25f0..9f5f86caa 100644 --- a/src/functionObjects/utilities/systemCall/systemCall.H +++ b/src/functionObjects/utilities/systemCall/systemCall.H @@ -40,7 +40,7 @@ Description systemCall1 { type systemCall; - libs ("libsystemCall.so"); + libs ("libutilityFunctionObjects.so"); ... executeCalls (