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
(
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)
{

View File

@ -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)
{

View File

@ -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())
{

View File

@ -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)
{

View File

@ -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);