Skip to content
Snippets Groups Projects
Commit f6f9510e authored by Henry's avatar Henry
Browse files

pressureGradientExplicitSource: use timePath() to correctly set the path of...

pressureGradientExplicitSource: use timePath() to correctly set the path of the "uniform" sub-directory when restarting
parent b3808635
Branches
Tags
No related merge requests found
......@@ -115,7 +115,7 @@ Foam::fv::pressureGradientExplicitSource::pressureGradientExplicitSource
// Read the initial pressure gradient from file if it exists
IFstream propsFile
(
mesh_.time().timeName()/"uniform"/(name_ + "Properties")
mesh_.time().timePath()/"uniform"/(name_ + "Properties")
);
if (propsFile.good())
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment