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
|
||||
(
|
||||
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)
|
||||
{
|
||||
|
||||
@ -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)
|
||||
{
|
||||
|
||||
@ -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())
|
||||
{
|
||||
|
||||
@ -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)
|
||||
{
|
||||
|
||||
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user