stats_ncdescription_tavg_vel Subroutine

private subroutine stats_ncdescription_tavg_vel()

Arguments

None

Calls

proc~~stats_ncdescription_tavg_vel~~CallsGraph proc~stats_ncdescription_tavg_vel stats_ncdescription_tavg_vel proc~ncinfo ncinfo proc~stats_ncdescription_tavg_vel->proc~ncinfo

Called by

proc~~stats_ncdescription_tavg_vel~~CalledByGraph proc~stats_ncdescription_tavg_vel stats_ncdescription_tavg_vel proc~stats_prepare stats_prepare proc~stats_prepare->proc~stats_ncdescription_tavg_vel proc~stats_main stats_main proc~stats_main->proc~stats_prepare program~udales uDALES program~udales->proc~stats_main

Source Code

    subroutine stats_ncdescription_tavg_vel
      implicit none
      !> Generate variable description for the quantities to be written in the time averaged NetCDF: stats.xxx.xxx.xxx.nc
      call ncinfo( tVars(ctrt+ 1,:), 'u'       , 'Streamwise velocity'        , 'm/s'       , 'mttt' )
      call ncinfo( tVars(ctrt+ 2,:), 'v'       , 'Spanwise velocity'          , 'm/s'       , 'tmtt' )
      call ncinfo( tVars(ctrt+ 3,:), 'w'       , 'Vertical velocity'          , 'm/s'       , 'ttmt' )
      call ncinfo( tVars(ctrt+ 4,:), 'p'       , 'Kinematic Pressure'         , 'm^2/s^2'   , 'tttt' )
      call ncinfo( tVars(ctrt+ 5,:), 'pabs'    , 'Hydrostatic absolute pressure', 'Pa'      , 'tttt' )

      call ncinfo( tVars(ctrt+ 6,:), 'upwp'    , 'Turbulent momentum flux'    , 'm^2/s^2'   , 'mtmt' )
      call ncinfo( tVars(ctrt+ 7,:), 'vpwp'    , 'Turbulent momentum flux'    , 'm^2/s^2'   , 'tmmt' )
      call ncinfo( tVars(ctrt+ 8,:), 'upvp'    , 'Turbulent momentum flux'    , 'm^2/s^2'   , 'mmtt' )

      call ncinfo( tVars(ctrt+ 9,:), 'upup'    , 'u variance - cell centered' , 'm^2/s^2'   , 'tttt' )
      call ncinfo( tVars(ctrt+10,:), 'vpvp'    , 'v variance - cell centered' , 'm^2/s^2'   , 'tttt' )
      call ncinfo( tVars(ctrt+11,:), 'wpwp'    , 'w variance - cell centered' , 'm^2/s^2'   , 'tttt' )
      call ncinfo( tVars(ctrt+12,:), 'tke'     , 'TKE - cell centered'        , 'm^2/s^2'   , 'tttt' )

      call ncinfo( tVars(ctrt+13,:), 'usgs'    , 'SGS u flux'                 , 'm^2/s^2'   , 'mtmt' )
      call ncinfo( tVars(ctrt+14,:), 'vsgs'    , 'SGS v flux'                 , 'm^2/s^2'   , 'tmmt' )
      call ncinfo( tVars(ctrt+15,:), 'wsgs'    , 'SGS normal stress'          , 'm^2/s^2'   , 'tttt' )
      ctrt = ctrt+15
    end subroutine stats_ncdescription_tavg_vel