CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   PostProcessing fails for wallHeatFlux: OF6 (https://www.cfd-online.com/Forums/openfoam-post-processing/209665-postprocessing-fails-wallheatflux-of6.html)

deepbandivadekar October 22, 2018 08:32

PostProcessing fails for wallHeatFlux: OF6
 
Hi,

Just an observation.


Using wallHeatFlux during postprocess doesn't work in OF6. I came across this bug here: https://bugs.openfoam.org/view.php?id=3055. I have exact same type of error. Although it says this should have been resolved in the 5th August patch (and I've the updated version), it still won't work for "wallHeatFlux". It has been reopened but no further update so far. I did not try any other functionObjects. Perhaps this is still to be resolved? My workaround was to do it in OF5 where it works perfectly fine.


Also, as a side note, this is a great functionality introduced (not sure if it existed prior to OF6, I just discovered it). Very user-friendly:
In controlDict:
Code:

functions
{
    libs            ("libfieldFunctionObjects.so");

    Ma
    {
        type            MachNo;
        executeControl  writeTime;
        writeControl    writeTime;
    }

    #includeFunc wallHeatFlux
}


quarkz April 17, 2019 00:16

Hi,

I got similar wallheatflux error as yours. There's problem in OF6 and OF1812. For me, I got 0 values in OF1812, and in OF6, I got this error:

Time = 0.001400003
Reading thermophysical properties

Selecting thermodynamics package
{
type hePsiThermo;
mixture pureMixture;
transport sutherland;
thermo hConst;
equationOfState perfectGas;
specie specie;
energy sensibleInternalEnergy;
}

Reading field U

Creating turbulence model

Selecting turbulence model type laminar
Selecting laminar stress model Stokes


--> FOAM FATAL ERROR:

request for volScalarField wallHeatFlux from objectRegistry region0 failed
available objects of type volScalarField are

9
(
thermo:mu
thermo:psi
rho
thermo:psi_0
p
T
rhoE
e
thermo:alpha
)


From function const Type& Foam::objectRegistry::lookupObject(const Foam::word&) const [with Type = Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>]
in file /home/projects/11000324/OpenFOAM/OpenFOAM-6/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 193.

FOAM aborting

However, for the same problem, OF3 and 5 are both working.

Can someone confirm this error?


All times are GMT -4. The time now is 18:02.