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

How to output the total potential temperature tendency in WRF3.9.1.1

Jason Hou

New member
Hi everyone,


I'm currently using WRF version 3.9.1.1, and I would like to output the total tendency of potential temperature at a given time. I found the following line in Registry.EM_COMMON:

i1 real t_tend ikj dyn_em 1 -

It seems that t_tend is exactly the variable I need. However, since it's defined as an i1 variable, I understand that it cannot be directly output to the wrfout files simply by adding an h output flag.
So my question is: Is there a way to modify the registry (or other parts of the code) so that t_tend can be included in the wrfout files, like other state variables? Specifically, would simply changing the variable type from i1 to state allow this variable to be written out?


Any advice or suggestions would be greatly appreciated.
Thank you!
 
The diabatic heating terms include the following:


"h_diabatic": this is from microphsics scheme


"RTHCUTEN": this is from cumulus scheme


"RTHSHTEN": this is from shallow convection


"RTHRATEN": this is from radaition


"RTHBLTEN": this is from boundary layer


The sum of the above terms is the total tendency, ---- I suppose this is what you need.
 
The diabatic heating terms include the following:


"h_diabatic": this is from microphsics scheme


"RTHCUTEN": this is from cumulus scheme


"RTHSHTEN": this is from shallow convection


"RTHRATEN": this is from radaition


"RTHBLTEN": this is from boundary layer


The sum of the above terms is the total tendency, ---- I suppose this is what you need.
Thank you for your reply!
As I understand it, the total tendency of potential temperature should be the sum of the advection terms in the x, y, and z directions, along with the diabatic heating term (if I'm understanding this correctly). I’ve found the variables related to diabatic heating that you mentioned in the Registry, but I couldn’t seem to locate the variables corresponding to the advection terms in the three directions.
Thanks again for your help!
 
Advection only has slight impact on temperature tendency, and thus we often ignore the tendency from advection.
 
Top