CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (https://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   OF15 functionObjects do not read LESProperties for incompressible flows (https://www.cfd-online.com/Forums/openfoam-bugs/62412-of15-functionobjects-do-not-read-lesproperties-incompressible-flows.html)

aunola September 28, 2008 08:24

In applications/utilities/
 
In

applications/utilities/postProcessing/miscellaneous/execFlowFunctionObjects/exec FlowFunctionObjects.C

the function calc(..) reads RASProperties twice and thus fails to read LESProperties:

if (phi.dimensions() == dimensionSet(0, 3, -1, 0, 0))
{
IOobject RASPropertiesHeader
(
"RASProperties",
runTime.constant(),
mesh,
IOobject::MUST_READ,
IOobject::NO_WRITE,
false
);

IOobject LESPropertiesHeader
(
"RASProperties", <---- wrong
runTime.constant(),
mesh,
IOobject::MUST_READ,
IOobject::NO_WRITE,
false
);

Compressible cases are handled correctly.

henry September 28, 2008 17:18

Thanks for the bug report, I h
 
Thanks for the bug report, I have corrected it in our git repository.

H


All times are GMT -4. The time now is 19:58.