From 54366680306d0bd58806c1528ffdc959d6423be6 Mon Sep 17 00:00:00 2001 From: Chris Greenshields Date: Thu, 13 Jul 2017 10:40:23 -0500 Subject: [PATCH] interfaceHeight function object: added preconfigured file in etc --- .../{probes => fields}/interfaceHeight | 15 ++++++++------- .../postProcessing/probes/interfaceHeight.cfg | 15 --------------- 2 files changed, 8 insertions(+), 22 deletions(-) rename etc/caseDicts/postProcessing/{probes => fields}/interfaceHeight (61%) delete mode 100644 etc/caseDicts/postProcessing/probes/interfaceHeight.cfg diff --git a/etc/caseDicts/postProcessing/probes/interfaceHeight b/etc/caseDicts/postProcessing/fields/interfaceHeight similarity index 61% rename from etc/caseDicts/postProcessing/probes/interfaceHeight rename to etc/caseDicts/postProcessing/fields/interfaceHeight index b240af4dd..1f59e7dd0 100644 --- a/etc/caseDicts/postProcessing/probes/interfaceHeight +++ b/etc/caseDicts/postProcessing/fields/interfaceHeight @@ -6,16 +6,17 @@ \\/ M anipulation | ------------------------------------------------------------------------------- Description - Reports the height of the interface above a set of locations. For each - location, it writes the vertical distance of the interface above both the - location and the lowest boundary. It also writes the point on the interface - from which these heights are computed. It uses an integral approach, so if - there are multiple interfaces above or below a location then this method - will generate average values. + Writes the height of an interface above a set of locations; for each + location, it writes the vertical distance of the interface above both + the location and the lowest boundary. \*---------------------------------------------------------------------------*/ -#includeEtc "caseDicts/postProcessing/probes/interfaceHeight.cfg" +type interfaceHeight; +libs ("libfieldFunctionObjects.so"); + +executionControl writeTime; +writeControl writeTime; alpha alpha.water; locations diff --git a/etc/caseDicts/postProcessing/probes/interfaceHeight.cfg b/etc/caseDicts/postProcessing/probes/interfaceHeight.cfg deleted file mode 100644 index 6acc80def..000000000 --- a/etc/caseDicts/postProcessing/probes/interfaceHeight.cfg +++ /dev/null @@ -1,15 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -type interfaceHeight; -libs ("libfieldFunctionObjects.so"); - -writeControl timeStep; -writeInterval 1; - -// ************************************************************************* //