chtMultiRegionFoam and solar load
2 Attachment(s)
Hi everyone.
I am trying a case using chtMultiRegionFoam, but I am having trouble making it work. The case itself is simple, I represent a city through solid bocks, aswel as a ground. I then have some wind velocity and sunLoad, and I would like to simulate the Temperature in my fluid field as well as solids. Mainly, I see at first glance two huge issues in my solution 1 - It seems that the temperature of the solids reach a high temperature instantly. Other than being a too high value, why would they reach this temperature instantly on the first iteration? 2 - It seems that the value of that temperature is dependant on the cell size, and it can be seen quite well with the attached image. The center of the field has a refinementRegion and hence smaller cells on the ground, compared to further out of the center. As you can see, the temperature difference is huge, while they should be the same. Attached are some of my boundary condtions for the ground and the fluid. (domain1 is the fluid, all the other domains (2,3, etc.) are the buildings. For the ground, 0/T is Code:
cellZone_ground_to_domain1 Code:
/*--------------------------------*- C++ -*----------------------------------*\ Code:
/*--------------------------------*- C++ -*----------------------------------*\ Code:
/*--------------------------------*- C++ -*----------------------------------*\ Thanks! EDIT : The reason for the temperature jumping directly seems to be fixed once I add "thermalInertia true;" to the solid/air and solid/solid boundary conditions. But I still can't explain why bigger cell would be warmer |
Hi,
Looks as if the internal boundary of the smaller and bigger cells do not exchange heat at all. I assume you have used some 'merging'/stitching techniques to create the mesh ? I would rather use on coarse mesh and see if the error occurs again. I am pretty sure you will see sensible result with one clean coarse mesh. Then work out the refinement later Hope this helps Dasith |
Quote:
Hi, thanks for your answer. It might be it, but how is that possible? My mesh is created through a classic multi region snappy hex mesh, followed by "splitMeshRegions -cellZones -overwrite". But even though, the cells that seems to not exchange heat are part of the same region. The difference in cell size is due to a simple refinementRegion.. Edit : It seems you were on the right track, it seems that conduction does not have time to happen due to the huge domain size. After playing with kappa I can reproduce a normal behaviour, same goes if I simulate in frozen flow for many iterations. The issue now is that with constant solar Load, my solid temperature increases indefinitely, even though I activated the "opaqueSolid" radiation model on the solids. Same thing with P1 Radiation on the solid. I expect to find a temperature equilibrium because when the temperature of my solid increase, the incoming radiation from the sun should match +- the Stefan-Boltzmann law |
All times are GMT -4. The time now is 01:33. |