From 9baf360c4d2cb392c486aa8ea9b477495857dd31 Mon Sep 17 00:00:00 2001 From: Chris Greenshields Date: Thu, 13 Jul 2017 10:44:20 -0500 Subject: [PATCH] Revert "interfaceHeight function object: added preconfigured file in etc" This reverts commit 54366680306d0bd58806c1528ffdc959d6423be6. --- .../{fields => probes}/interfaceHeight | 15 +++++++-------- .../postProcessing/probes/interfaceHeight.cfg | 15 +++++++++++++++ 2 files changed, 22 insertions(+), 8 deletions(-) rename etc/caseDicts/postProcessing/{fields => probes}/interfaceHeight (61%) create mode 100644 etc/caseDicts/postProcessing/probes/interfaceHeight.cfg diff --git a/etc/caseDicts/postProcessing/fields/interfaceHeight b/etc/caseDicts/postProcessing/probes/interfaceHeight similarity index 61% rename from etc/caseDicts/postProcessing/fields/interfaceHeight rename to etc/caseDicts/postProcessing/probes/interfaceHeight index 1f59e7dd0b..b240af4ddf 100644 --- a/etc/caseDicts/postProcessing/fields/interfaceHeight +++ b/etc/caseDicts/postProcessing/probes/interfaceHeight @@ -6,17 +6,16 @@ \\/ M anipulation | ------------------------------------------------------------------------------- Description - 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. + 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. \*---------------------------------------------------------------------------*/ -type interfaceHeight; -libs ("libfieldFunctionObjects.so"); - -executionControl writeTime; -writeControl writeTime; +#includeEtc "caseDicts/postProcessing/probes/interfaceHeight.cfg" alpha alpha.water; locations diff --git a/etc/caseDicts/postProcessing/probes/interfaceHeight.cfg b/etc/caseDicts/postProcessing/probes/interfaceHeight.cfg new file mode 100644 index 0000000000..6acc80def6 --- /dev/null +++ b/etc/caseDicts/postProcessing/probes/interfaceHeight.cfg @@ -0,0 +1,15 @@ +/*--------------------------------*- 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; + +// ************************************************************************* //