View Issue Details

IDProjectCategoryView StatusLast Update
0001358OpenFOAMBugpublic2014-07-29 09:05
ReporterGRAUPS Assigned Towill  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
PlatformUnixOSRHELOS Version5.6
Summary0001358: Pressure Tools function object displays 0 for static pressure for in-compressible solvers
DescriptionThe static pressure mode of the pressure tools function object does not appear to work properly for in-compressible solvers. It gives zero static pressure in the output (likely because it can't find the rho field). I understand that in-compressible solvers are density independent... however, being able to specify the density under a keyword (like rho) or having it pull the density out of transportProperties would be beneficial for run-time post-processing of static pressure.

I noted this as a bug because the mode appears to currently be useless for in-compressible solvers.
Steps To ReproduceRun an in-compressible solver... place this in the controlDict...

    p_tools
    {
        type pressureTools;
        functionObjectLibs ("libutilityFunctionObjects.so");
        enabled yes;
        outputControl outputTime;
        outputInterval 1;
        calcTotal no;
        calcCoeff no;
    }
Additional InformationIf I am mistaken, please let me know. But looking at the source, I wasn't able to figure out how to specify rho. Thanks, and keep up the good work!
TagsNo tags attached.

Activities

will

2014-07-29 09:05

manager   ~0003183

Specify the density name as rhoInf, and then provide that value, i.e.:

functions
{
    p_tools
    {
        type pressureTools;
        functionObjectLibs ("libutilityFunctionObjects.so");
        enabled yes;
        outputControl outputTime;
        outputInterval 1;
        calcTotal no;
        calcCoeff no;
        rhoName rhoInf;
        rhoInf 1.2;
    }
}

Issue History

Date Modified Username Field Change
2014-07-28 22:57 GRAUPS New Issue
2014-07-29 09:05 will Note Added: 0003183
2014-07-29 09:05 will Status new => closed
2014-07-29 09:05 will Assigned To => will
2014-07-29 09:05 will Resolution open => no change required