<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p></p>
<p>Dear All, <br>
</p>
<p><br>
</p>
<p>I am interested in calculating each individual term of the TKE equation that the model uses to compute the total TKE given in output.
<br>
</p>
<p>In my simulations I am not using a PBL scheme but I am letting the model explicitly solve the turbulent mixing by using the prognostic TKE equation (km_opt=2).
<br>
</p>
<p><br>
</p>
<p>Following the Technical Notes and having a look at the code in module_diffusion.em I managed to calculate shear production and buoyancy production/destruction by extracting from the model output each component of the deformation tensor (D11, D22, D33 etc..)
 and the eddy viscosity Kmv, Kmh, Khv. However, the dissipation term seems to be more difficult to calculate and I got some very high values that I don't trust.
</p>
<p><br>
</p>
<p>In addition, what I have at the moment is, for example, the shear production per unit mass per second (m^2/s^3)&nbsp;but If I want to compare it with the (total) TKE in output (m^2/s^2) I need to know the model tendencies.
<br>
</p>
<p>I saw the variable tke_tend is in the Registry file but it is a i1 variable (not a state one) so even if I edit the Registry adding an &quot;h&quot; tke_tend is not present in wrfout.
<br>
</p>
<p>I also tried to add a new line to Registry, this time defining tke_tend as a state variable, by doing this I do get the variable in the output but it is zero everywhere.
<br>
</p>
<p><br>
</p>
<p>Summarizing, I have two questions: <br>
</p>
<p><br>
</p>
<p>- did someone extract the tke tendencies? if yes, how?&nbsp; do I have to make some changes to the model code?
<br>
</p>
<p>- did someone calculate each term of the tke equation? if yes, I would be glad if I could double check the method I am using to do it with this someone.<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>Thank you very much,&nbsp;</p>
<p><br>
</p>
<p>Regards.<br>
</p>
<p><br>
</p>
Vittoria <br>
<p></p>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<font color="black" face="Calibri,Arial,Helvetica,sans-serif" size="3"><span style="font-size:12pt; background-color:white"><font color="#212121"><font color="black" face="Calibri,Arial,Helvetica,sans-serif"><font face="Calibri,Arial,Helvetica,sans-serif">
<div style="margin:0"><font face="Tahoma" size="1"><span style="font-size:13px"><font style="font-family:Cambria,Serif" size="2"><span style="font-size:11pt" lang="en-GB">-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~<br>
Maria Vittoria Guarino </span></font><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt" lang="en-GB"><br>
PhD Student</span></font><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt" lang="en-GB"><br>
<em style="font-family:Constantia,Serif"><strong>Mountain wave breaking in atmospheric flows with directional wind shear</strong></em></span></font><font style="font-family:Constantia,Serif" size="2"><span style="font-size:11pt" lang="en-GB"></span></font><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt" lang="en-GB"><br>
</span></font></span></font></div>
<div style="margin:0"><font face="Tahoma" size="1"><span style="font-size:13px"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt" lang="en-GB">Room 306,
<font color="black" face="Calibri,Arial,Helvetica,sans-serif" size="3"><span style="font-size:12pt; background-color:white"><font color="#212121"><font color="black" face="Calibri,Arial,Helvetica,sans-serif"><font face="Calibri,Arial,Helvetica,sans-serif"><font face="Tahoma" size="1"><span style="font-size:13px"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt" lang="en-GB">Lyle
 Building<br>
</span></font></span></font></font></font></font></span></font>Department of Meteorology</span></font></span></font></div>
<div style="margin:0"><font face="Tahoma" size="1"><span style="font-size:13px"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt" lang="en-GB">University of Reading, Earley Gate, Reading, RG6 6BB</span></font></span></font></div>
<div style="margin:0"><font face="Tahoma" size="1"><span style="font-size:13px"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt" lang="en-GB">Email: m.v.guarino@pgr.reading.ac.uk
</span></font><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt" lang="en-GB"></span></font></span></font></div>
</font></font></font></span></font></div>
</div>
</div>
</body>
</html>