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/)
-   -   Error when getting kappaEff from turbulenceFields (https://www.cfd-online.com/Forums/openfoam-post-processing/251477-error-when-getting-kappaeff-turbulencefields.html)

agustinvo August 18, 2023 11:19

Error when getting kappaEff from turbulenceFields
 
1 Attachment(s)
Hi,


I am trying to get the kappaEff field from my channel flow simulation on OpenFOAM 11 (I attach the case) by using the turbulenceFields function object:
Code:

foamPostProcess -latestTime -solver fluid

However I get the next error:
Code:

--> FOAM FATAL ERROR: 
Invalid field selection

    From function virtual bool Foam::functionObjects::turbulenceFields::execute()
    in file turbulenceFields/turbulenceFields.C at line 269.

FOAM exiting


As far as I see in the code, at the execute function there is an if statement in function of the use of a fluidThermophysicaltransportModel, which I use (eddyDiffusivity model). However I cannot reach that code block (where kappaEff is processed) but the next one, that only requires a compressible momentum turbulence model.


Have you ever tried to get kappaEff from this functionObject? Am I missing something in my dictionary or there is a bug?


Regards
Agustín

agustinvo February 23, 2024 01:53

This problem has been solved on the commit


https://github.com/OpenFOAM/OpenFOAM...3c7e86bddaeb92


All times are GMT -4. The time now is 13:35.