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 1f59e7dd0..b240af4dd 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 000000000..6acc80def --- /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; + +// ************************************************************************* //