BUG: redistributePar: softlink uniform. Fixes #163

This commit is contained in:
mattijs 2022-11-24 14:57:26 +00:00
parent 8c02820db6
commit adf95d483c

View File

@ -251,8 +251,18 @@ void decomposeUniform
<< runTime.timePath()/uniformDir
<< endl;
const fileName timePath =
fileHandler().filePath(processorDb.timePath());
// Bit of trickery to synthesise the correct directory base,
// e.g. processors4/0.01
const fileName timePath = fileHandler().objectPath
(
IOobject
(
"dummy",
runTime.timeName(),
processorDb
),
word::null
).path();
// If no fields have been decomposed the destination
// directory will not have been created so make sure.