ENH: Redirected output explicitly to 'postProcessing' sub-folder

This commit is contained in:
andy
2012-10-15 18:02:45 +01:00
parent 72d49281ce
commit c9524f202c
5 changed files with 9 additions and 9 deletions

View File

@ -629,8 +629,8 @@ void Foam::streamLine::write()
fileName vtkPath fileName vtkPath
( (
Pstream::parRun() Pstream::parRun()
? runTime.path()/".."/"sets"/name() ? runTime.path()/".."/"postProcessing"/"sets"/name()
: runTime.path()/"sets"/name() : runTime.path()/"postProcessing"/"sets"/name()
); );
if (mesh.name() != fvMesh::defaultRegion) if (mesh.name() != fvMesh::defaultRegion)
{ {

View File

@ -756,8 +756,8 @@ void Foam::wallBoundedStreamLine::write()
fileName vtkPath fileName vtkPath
( (
Pstream::parRun() Pstream::parRun()
? runTime.path()/".."/"sets"/name() ? runTime.path()/".."/"postProcessing"/"sets"/name()
: runTime.path()/"sets"/name() : runTime.path()/"postProcessing"/"sets"/name()
); );
if (mesh.name() != fvMesh::defaultRegion) if (mesh.name() != fvMesh::defaultRegion)
{ {

View File

@ -184,7 +184,7 @@ Foam::label Foam::probes::prepare()
{ {
probeSubDir = probeSubDir/mesh_.name(); probeSubDir = probeSubDir/mesh_.name();
} }
probeSubDir = probeSubDir/mesh_.time().timeName(); probeSubDir = "postProcessing"/probeSubDir/mesh_.time().timeName();
if (Pstream::parRun()) if (Pstream::parRun())
{ {

View File

@ -144,11 +144,11 @@ Foam::sampledSets::sampledSets
{ {
if (Pstream::parRun()) if (Pstream::parRun())
{ {
outputPath_ = mesh_.time().path()/".."/name_; outputPath_ = mesh_.time().path()/".."/"postProcessing"/name_;
} }
else else
{ {
outputPath_ = mesh_.time().path()/name_; outputPath_ = mesh_.time().path()/"postProcessing"/name_;
} }
if (mesh_.name() != fvMesh::defaultRegion) if (mesh_.name() != fvMesh::defaultRegion)
{ {

View File

@ -99,11 +99,11 @@ Foam::sampledSurfaces::sampledSurfaces
{ {
if (Pstream::parRun()) if (Pstream::parRun())
{ {
outputPath_ = mesh_.time().path()/".."/name_; outputPath_ = mesh_.time().path()/".."/"postProcessing"/name_;
} }
else else
{ {
outputPath_ = mesh_.time().path()/name_; outputPath_ = mesh_.time().path()/"postProcessing"/name_;
} }
read(dict); read(dict);