BUG: Fixing sign of qr in externalWallHeatFluxTemperature
1) The sign of radiative flux (qr) for modes Power and HeatFlux was corrected. 2) Relaxation factor implementation was incomplete. Now caching valueFraction and refValue from the previous time step.
-
Hi!
Can I ask why is it q_-qr instead of q_+qr? I think it was correct. Let's create an adiabatic patch, thus q_ = 0. In this case the heat flux is qr (you "put back" the radiative flux) Then calculate the resulted wall heat flux: It will be qr, since you prescribed it with the BC, and substract the radiative flux which is also qr, thus the heat flux is zero, which is expected since you made an adiabatic wall.
If you use q_-qr, you will end up with a heat flux of -2*qr. Maybe I'm wrong somewhere so feel free to correct me.
Thanks!
-
-