CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   BC: externalWallHeatFluxTemperature (https://www.cfd-online.com/Forums/openfoam-solving/149953-bc-externalwallheatfluxtemperature.html)

gomsy1987 March 11, 2015 22:44

BC: externalWallHeatFluxTemperature
 
Hi everyone,

I am trying to use externalWallHeatFluxTemperature bc in one of my boundary. While running the solver for buoyantBoussinesqSimpleFoam I am getting this message:-

"FOAM FATAL ERROR:
Kappa defined to employ fluidThermo method, but thermo package not available
From function temperatureCoupledBase::kappa(const scalarField&) const
in file derivedFvPatchFields/temperatureCoupledBase/temperatureCoupledBase.C at line 116."

Can anyone please suggest me how to overcome this error??

Thanking you in advance
Gautam

TobM March 13, 2015 05:52

Hi,
can you please post your T file?
Which version of OF are you using?

And what models do you use for thermophysical properties?

gomsy1987 March 15, 2015 23:06

2 Attachment(s)
Hello TobM

Thanks for your reply. I am attaching the "T" and "thermophysicalProperties" file here for better understanding. Please let me know if any further information required.

I am using OpenFoam version 2.3.0

Regards
Gautam

TobM March 17, 2015 02:55

Hi,

your T file seems to be correct.
I can't say for sure what the problem is in your case, but my guess is, it has something to do with the thermophysical model.
Maybe try to change it and see if the the error still occurs. One other guess is that you can try to specify the kappa field in the boundary conditions.

Sry that I'm unable to help you.

gomsy1987 March 18, 2015 00:22

Thanks for your suggestions Tob. I also got to know that the BC is for compressible solver only. So its not working with the incompressible solver I am trying to use. Either I need to use a different solver (but will not be helpful because I am using incompressible fluid) or I need to work with the BC to implement it for incompressible flows.

Naresh yathuru March 30, 2015 06:53

externalHeatFluxTemperature
 
Hi gautom,

I have a similar problem of incompressible flow. could you able to implement the B:C for incompressible solvers?

This is the thread.

http://www.cfd-online.com/Forums/ope...tml#post538969

could you help me to implement the Boundary condition for Incompressible flows.

Regards,
Naresh

gomsy1987 April 1, 2015 02:51

Hi Naresh

I gave the answer in your thread. Have a look.

eDoodle December 3, 2016 04:29

Quote:

Originally Posted by gomsy1987 (Post 535879)
Hi everyone,

I am trying to use externalWallHeatFluxTemperature bc in one of my boundary. While running the solver for buoyantBoussinesqSimpleFoam I am getting this message:-

"FOAM FATAL ERROR:
Kappa defined to employ fluidThermo method, but thermo package not available
From function temperatureCoupledBase::kappa(const scalarField&) const
in file derivedFvPatchFields/temperatureCoupledBase/temperatureCoupledBase.C at line 116."

Can anyone please suggest me how to overcome this error??

Thanking you in advance
Gautam


hey gomsy,

I am facing the exact same problem at the moment. (How) did you eventually solve it?

Leo

eDoodle December 3, 2016 05:46

After some more searching I found this:

http://www.cfd-online.com/Forums/ope...ionfoam-2.html


For the interested:

I'm calculating coupled heat transfer in a fluid and solid region with chtMultiRegionSimpleFoam. In my 0/solid/T file I had the entry for the patch 'solidToFluid' defined with fluidThermo instead of solidThermo.

Hope this helps someone :)

ketanganatra0@yahoo.com August 30, 2017 01:44

Hello friend,
I am using also the same boundary conditions. Can you please tell me kappa denotes the thermal conductivity or else????
Is kappa file required in 0 folder for running constant heat flux boundary condition e.g. external wall heat flux temperature.

eDoodle August 30, 2017 03:03

yes, kappa denotes the thermal conductivity.

Having a kappa file in the 0 folder would mean it's a field magnitude (that means it has different values in different locations in your case)
kappa is a material value, so it belongs probably in the transportProperties file in the constant folder.

It's been a while since i dealt with this stuff so there might also be some sort of kappa, that is a field magnitude, but then your solver would outright tell you that it needs that kind of file in the 0 folder.

hope this helps

ketanganatra0@yahoo.com August 30, 2017 05:24

Hello friend,
I am facing the same error .
Kappa means thermalconductivity or else???
You are telling to specify in BC means in '0' folder or somewhere else????

ketanganatra0@yahoo.com August 30, 2017 05:26

can you please send me a sample file for that???

bingchuan April 3, 2018 07:56

Quote:

Originally Posted by gomsy1987 (Post 536871)
Thanks for your suggestions Tob. I also got to know that the BC is for compressible solver only. So its not working with the incompressible solver I am trying to use. Either I need to use a different solver (but will not be helpful because I am using incompressible fluid) or I need to work with the BC to implement it for incompressible flows.

externalWallHeatFluxTemperature boundary condition is only for compressible solver?


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