From fa12e660db6c287abf2eca7ba532a9497d79d494 Mon Sep 17 00:00:00 2001 From: Will Bainbridge Date: Thu, 21 Jun 2018 11:02:50 +0100 Subject: [PATCH] etc/caseDicts/postProcessing/probes: Renaming Renamed boundaryPoints and internalPoints to boundaryProbes and internalProbes to be more specific about the intended function. --- .../probes/{boundaryPoints => boundaryProbes} | 2 +- ...{boundaryPoints.cfg => boundaryProbes.cfg} | 6 +++++- .../postProcessing/probes/internalPoints.cfg | 21 ------------------- .../probes/{internalPoints => internalProbes} | 2 +- .../probes/{points.cfg => internalProbes.cfg} | 10 +++++++++ 5 files changed, 17 insertions(+), 24 deletions(-) rename etc/caseDicts/postProcessing/probes/{boundaryPoints => boundaryProbes} (92%) rename etc/caseDicts/postProcessing/probes/{boundaryPoints.cfg => boundaryProbes.cfg} (88%) delete mode 100644 etc/caseDicts/postProcessing/probes/internalPoints.cfg rename etc/caseDicts/postProcessing/probes/{internalPoints => internalProbes} (91%) rename etc/caseDicts/postProcessing/probes/{points.cfg => internalProbes.cfg} (87%) diff --git a/etc/caseDicts/postProcessing/probes/boundaryPoints b/etc/caseDicts/postProcessing/probes/boundaryProbes similarity index 92% rename from etc/caseDicts/postProcessing/probes/boundaryPoints rename to etc/caseDicts/postProcessing/probes/boundaryProbes index 8ca75c993..e2812cfd5 100644 --- a/etc/caseDicts/postProcessing/probes/boundaryPoints +++ b/etc/caseDicts/postProcessing/probes/boundaryProbes @@ -22,6 +22,6 @@ maxDistance 0.1; patches (".*"); -#includeEtc "caseDicts/postProcessing/probes/boundaryPoints.cfg" +#includeEtc "caseDicts/postProcessing/probes/boundaryProbes.cfg" // ************************************************************************* // diff --git a/etc/caseDicts/postProcessing/probes/boundaryPoints.cfg b/etc/caseDicts/postProcessing/probes/boundaryProbes.cfg similarity index 88% rename from etc/caseDicts/postProcessing/probes/boundaryPoints.cfg rename to etc/caseDicts/postProcessing/probes/boundaryProbes.cfg index 7993a883e..328391735 100644 --- a/etc/caseDicts/postProcessing/probes/boundaryPoints.cfg +++ b/etc/caseDicts/postProcessing/probes/boundaryProbes.cfg @@ -6,7 +6,11 @@ | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ -#includeEtc "caseDicts/postProcessing/probes/points.cfg" +type sets; +libs ("libsampling.so"); + +executeControl writeTime; +writeControl writeTime; sets ( diff --git a/etc/caseDicts/postProcessing/probes/internalPoints.cfg b/etc/caseDicts/postProcessing/probes/internalPoints.cfg deleted file mode 100644 index 557dbe328..000000000 --- a/etc/caseDicts/postProcessing/probes/internalPoints.cfg +++ /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 | | -\*---------------------------------------------------------------------------*/ - -#includeEtc "caseDicts/postProcessing/probes/points.cfg" - -sets -( - points - { - type points; - axis xyz; - points $points; - } -); - -// ************************************************************************* // diff --git a/etc/caseDicts/postProcessing/probes/internalPoints b/etc/caseDicts/postProcessing/probes/internalProbes similarity index 91% rename from etc/caseDicts/postProcessing/probes/internalPoints rename to etc/caseDicts/postProcessing/probes/internalProbes index ed2d56f6f..b47da580d 100644 --- a/etc/caseDicts/postProcessing/probes/internalPoints +++ b/etc/caseDicts/postProcessing/probes/internalProbes @@ -16,6 +16,6 @@ points (0 0 0) ); -#includeEtc "caseDicts/postProcessing/probes/internalPoints.cfg" +#includeEtc "caseDicts/postProcessing/probes/internalProbes.cfg" // ************************************************************************* // diff --git a/etc/caseDicts/postProcessing/probes/points.cfg b/etc/caseDicts/postProcessing/probes/internalProbes.cfg similarity index 87% rename from etc/caseDicts/postProcessing/probes/points.cfg rename to etc/caseDicts/postProcessing/probes/internalProbes.cfg index 28d3bc8c9..19b6934d4 100644 --- a/etc/caseDicts/postProcessing/probes/points.cfg +++ b/etc/caseDicts/postProcessing/probes/internalProbes.cfg @@ -12,4 +12,14 @@ libs ("libsampling.so"); executeControl writeTime; writeControl writeTime; +sets +( + points + { + type points; + axis xyz; + points $points; + } +); + // ************************************************************************* //