mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Redirected output explicitly to 'postProcessing' sub-folder
This commit is contained in:
@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -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())
|
||||||
{
|
{
|
||||||
|
|||||||
@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user