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

Some doubts about SMS-3DTKE

Hans

Member
Hello everyone,
I am trying some turbulence related simulations, and the SMS-3DTKE scheme with adaptive capabilities has shown its advantages in scale adaptation. But what puzzles me is that it seems that the scheme does not output TKE related variables. Is there a way to make it output related variables? (e.g. LES PBL scheme generates TKE_PBL)
Any guidance would be greatly appreciated.

1760020866079.png
 
I am just a WRF user, but the scale adaptive TKE scheme is enabled with the rather newly integrated km_opt = 5. For km_opt = 3, the subgrid turbulent kinetic energy isn't diagnosed. It's effects with the unresolved stresses on the resolved flow are modelled using the deformation tensor, which can be read in the WRF technical note Chapter 4.2.3 . And for km_opt =5 which treats the subgrid tke (which is just called tke) as a prognostic variable and is scale adaptive (can work from LES to much larger scales) you can follow: https://doi.org/10.1175/MWR-D-17-0356.1 . Also to output more of the fields which are being used in the model you can use the namelist option in &time_control : iofields_filename="my_iofields_list.txt"

iofields_filenamemy_iofields_list.txtoption to output additional variables, or remove variables from output; must create a text file (e.g., my_iofields_list.txt) in which variables to add/remove are declared

In the my_iofields_list.txt file you can simply add this line:
+:h:0:tke,xkmh,xkmv,xkhh,xkhv, (other turbulent or general variable names you may want)
this will output the variables in your main history stream (wrfout files), on the other hand you can output restart files which already contain most of these variables.

I should emphasize I am just a user and you may wait for an official response, but I thought I can help.
 
I am just a WRF user, but the scale adaptive TKE scheme is enabled with the rather newly integrated km_opt = 5. For km_opt = 3, the subgrid turbulent kinetic energy isn't diagnosed. It's effects with the unresolved stresses on the resolved flow are modelled using the deformation tensor, which can be read in the WRF technical note Chapter 4.2.3 . And for km_opt =5 which treats the subgrid tke (which is just called tke) as a prognostic variable and is scale adaptive (can work from LES to much larger scales) you can follow: https://doi.org/10.1175/MWR-D-17-0356.1 . Also to output more of the fields which are being used in the model you can use the namelist option in &time_control : iofields_filename="my_iofields_list.txt"

iofields_filenamemy_iofields_list.txtoption to output additional variables, or remove variables from output; must create a text file (e.g., my_iofields_list.txt) in which variables to add/remove are declared

In the my_iofields_list.txt file you can simply add this line:
+:h:0:tke,xkmh,xkmv,xkhh,xkhv, (other turbulent or general variable names you may want)
this will output the variables in your main history stream (wrfout files), on the other hand you can output restart files which already contain most of these variables.

I should emphasize I am just a user and you may wait for an official response, but I thought I can help.
Thank you for your help!
This should be what I want, I will try it after completing the current calculation task.
 
Top