Skip to content
Snippets Groups Projects
Commit 7f610e0b authored by Timo Koch's avatar Timo Koch
Browse files

[1p] Only compute velocity when output enabled

parent e7d5507b
No related branches found
No related tags found
1 merge request!136Fix/1p model
......@@ -130,7 +130,10 @@ public:
}
// velocity output
velocityOutput.calculateVelocity(*velocity, elemVolVars, fvGeometry, element, /*phaseIdx=*/0);
if (velocityOutput.enableOutput())
{
velocityOutput.calculateVelocity(*velocity, elemVolVars, fvGeometry, element, /*phaseIdx=*/0);
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment