Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

[Help]How to fix the temperature tendency equation?

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.


New member
Dear all,
I wanna add an unchangable heat source in the environment fields. I tried to add it in the initial sounding field, but it dissipated with the model running. So, my supervior told me that I need to fix the temperature tendency equation in the WRF code. The question is ,that I couldn't find which programs include this equation. :( :( :(
Could you all please tell me how to fix it to ensure the heat source stable?
Thanks. ;)
To maintain a heating source in the atmosphere, I believe you would need to make some modifications in dyn_em/module_diffusion_em.F. Take a look at how tke_heat_flux (which provides the surface heat flus to drive/maintain a free CBL) is used, and you can use that as a guideline/example to follow for adding other heat sources.