From c9524f202c4c68801970fa9de907f354fbb025c0 Mon Sep 17 00:00:00 2001 From: andy Date: Mon, 15 Oct 2012 18:02:45 +0100 Subject: [PATCH] ENH: Redirected output explicitly to 'postProcessing' sub-folder --- .../functionObjects/field/streamLine/streamLine.C | 4 ++-- .../field/wallBoundedStreamLine/wallBoundedStreamLine.C | 4 ++-- src/sampling/probes/probes.C | 2 +- src/sampling/sampledSet/sampledSets/sampledSets.C | 4 ++-- src/sampling/sampledSurface/sampledSurfaces/sampledSurfaces.C | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/postProcessing/functionObjects/field/streamLine/streamLine.C b/src/postProcessing/functionObjects/field/streamLine/streamLine.C index 13400cbcef..47adbd003f 100644 --- a/src/postProcessing/functionObjects/field/streamLine/streamLine.C +++ b/src/postProcessing/functionObjects/field/streamLine/streamLine.C @@ -629,8 +629,8 @@ void Foam::streamLine::write() fileName vtkPath ( Pstream::parRun() - ? runTime.path()/".."/"sets"/name() - : runTime.path()/"sets"/name() + ? runTime.path()/".."/"postProcessing"/"sets"/name() + : runTime.path()/"postProcessing"/"sets"/name() ); if (mesh.name() != fvMesh::defaultRegion) { diff --git a/src/postProcessing/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLine.C b/src/postProcessing/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLine.C index 822465edff..8ae2ed96d2 100644 --- a/src/postProcessing/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLine.C +++ b/src/postProcessing/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLine.C @@ -756,8 +756,8 @@ void Foam::wallBoundedStreamLine::write() fileName vtkPath ( Pstream::parRun() - ? runTime.path()/".."/"sets"/name() - : runTime.path()/"sets"/name() + ? runTime.path()/".."/"postProcessing"/"sets"/name() + : runTime.path()/"postProcessing"/"sets"/name() ); if (mesh.name() != fvMesh::defaultRegion) { diff --git a/src/sampling/probes/probes.C b/src/sampling/probes/probes.C index f15a1f5575..4e2a0aa060 100644 --- a/src/sampling/probes/probes.C +++ b/src/sampling/probes/probes.C @@ -184,7 +184,7 @@ Foam::label Foam::probes::prepare() { probeSubDir = probeSubDir/mesh_.name(); } - probeSubDir = probeSubDir/mesh_.time().timeName(); + probeSubDir = "postProcessing"/probeSubDir/mesh_.time().timeName(); if (Pstream::parRun()) { diff --git a/src/sampling/sampledSet/sampledSets/sampledSets.C b/src/sampling/sampledSet/sampledSets/sampledSets.C index 1a1fc34bfc..340b5cd091 100644 --- a/src/sampling/sampledSet/sampledSets/sampledSets.C +++ b/src/sampling/sampledSet/sampledSets/sampledSets.C @@ -144,11 +144,11 @@ Foam::sampledSets::sampledSets { if (Pstream::parRun()) { - outputPath_ = mesh_.time().path()/".."/name_; + outputPath_ = mesh_.time().path()/".."/"postProcessing"/name_; } else { - outputPath_ = mesh_.time().path()/name_; + outputPath_ = mesh_.time().path()/"postProcessing"/name_; } if (mesh_.name() != fvMesh::defaultRegion) { diff --git a/src/sampling/sampledSurface/sampledSurfaces/sampledSurfaces.C b/src/sampling/sampledSurface/sampledSurfaces/sampledSurfaces.C index 1d3172f2d8..bb814f2628 100644 --- a/src/sampling/sampledSurface/sampledSurfaces/sampledSurfaces.C +++ b/src/sampling/sampledSurface/sampledSurfaces/sampledSurfaces.C @@ -99,11 +99,11 @@ Foam::sampledSurfaces::sampledSurfaces { if (Pstream::parRun()) { - outputPath_ = mesh_.time().path()/".."/name_; + outputPath_ = mesh_.time().path()/".."/"postProcessing"/name_; } else { - outputPath_ = mesh_.time().path()/name_; + outputPath_ = mesh_.time().path()/"postProcessing"/name_; } read(dict);