CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Negative Temperature chtMultiRegionSimpleFoam + thermalBaffle1D + Radiation (https://www.cfd-online.com/Forums/openfoam/194665-negative-temperature-chtmultiregionsimplefoam-thermalbaffle1d-radiation.html)

jaydeep October 21, 2017 00:10

Negative Temperature chtMultiRegionSimpleFoam + thermalBaffle1D + Radiation
 
1 Attachment(s)
Hello everyone,

I pieced together stuff from the generous help from Tobias and Alex to create a test case. It is a very simple problem where you have 2 solids (isotropic), in air. There is a vertical wall next to the second solid, created as thermalBaffle1D.

Everything works fine until you introduce baffle. After adding baffle, the temperature in the baffle goes negative (reduces below ref value and indefinitely reduces until simulation crashes). I don't know what is exactly happening here.

While testing for radiation, I discovered that in openfoam-dev "qr" option in baffle boundary doesn't affect anything? It still has to be specified as "Qr".

@Tobi @zfaraday - you will probably have an answer to this question - this example borrows stuff from your axisymmetric meshing and circuitBoardCooling_rad tutorials respectively. Many thanks!

jaydeep October 21, 2017 01:01

Updates
 
Please note that createBaffles need to be run separately. There's an error in nut patch entry for baffles -- remove compressible::

jaydeep October 21, 2017 01:20

snGrad scheme
 
Note:
I suspected for a while using uncorrected scheme for sngrad in solid regions could be a reason. Changed it to corrected -- negative temperature seems to have gone away. I will confirm full resolution tomorrow.

jaydeep October 21, 2017 01:38

Problem solved.

It was snGrad scheme in fact.

fracasce November 23, 2017 19:48

Thank you for your post! I don't know if this could be helpful, but I'd like to add that from OF4.1 to OF5.0, the developers changed the variable Qr (OF4) to qr (OF5).


All times are GMT -4. The time now is 08:37.