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/)
-   -   wallHeatFlux with laminar flow (https://www.cfd-online.com/Forums/openfoam-post-processing/195763-wallheatflux-laminar-flow.html)

PositronCascade November 16, 2017 13:52

wallHeatFlux with laminar flow
 
Hello everyone. I try to use wallHeatFlux utility on OpenFOAM 5 for laminar case. However, I get this error even I have turbulenceProperties file in the constant folder:

Code:

Unable to find compressible turbulence model in the database
May it be a bug or what am I missing?

Thanks.

rubens November 17, 2017 21:49

Quote:

Originally Posted by PositronCascade (Post 671815)
Hello everyone. I try to use wallHeatFlux utility on OpenFOAM 5 for laminar case. However, I get this error even I have turbulenceProperties file in the constant folder:

Code:

Unable to find compressible turbulence model in the database
May it be a bug or what am I missing?

Thanks.

Hi.

The message is telling you that the postProcess utility has not information about the turbulence model use in simulation.

You can run the postProcess with the solver:

<your_solver> -postProcess -func wallHeatFlux -region <region_name>

sitajeje January 5, 2018 11:35

How to run wallHeatFlux please?
 
Hallo Foamers,

I am a little confused about functionObjects. I wrote in controlDict

Code:

functions
{
#includeFunc wallHeatFlux(region=heater)
}

and run
Code:

chtMultiRegionSimpleFoam -postProcess
or
Code:

chtMultiRegionSimpleFoam -postProcess -func wallHeatFlux -region heater
the terminal reported
Code:

Cannot find functionObjects file wallHeatFlux
Without any input in "functions{}" in controlDict, I ran in the terminal
Code:

wallHeatFlux -region heater
it works fine.

Why the former two command do not work please?

Thank you very much in advance!

Best regards,
sitajeje

PositronCascade January 7, 2018 17:47

Hello,

chtMultiRegionSimpleFoam does not offer wallHeatFlux function. you need to use wallHeatFlux option of chtMultiRegionFoam.


Quote:

Originally Posted by sitajeje (Post 677055)
Hallo Foamers,

I am a little confused about functionObjects. I wrote in controlDict

Code:

functions
{
#includeFunc wallHeatFlux(region=heater)
}

and run
Code:

chtMultiRegionSimpleFoam -postProcess
or
Code:

chtMultiRegionSimpleFoam -postProcess -func wallHeatFlux -region heater
the terminal reported
Code:

Cannot find functionObjects file wallHeatFlux
Without any input in "functions{}" in controlDict, I ran in the terminal
Code:

wallHeatFlux -region heater
it works fine.

Why the former two command do not work please?

Thank you very much in advance!

Best regards,
sitajeje



All times are GMT -4. The time now is 01:24.