stats_init_xytavg_vel Subroutine

private subroutine stats_init_xytavg_vel()

Arguments

None

Calls

proc~~stats_init_xytavg_vel~~CallsGraph proc~stats_init_xytavg_vel stats_init_xytavg_vel proc~ncinfo ncinfo proc~stats_init_xytavg_vel->proc~ncinfo

Called by

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

Source Code

    subroutine stats_init_xytavg_vel
      implicit none
      allocate(uxyt(kb:ke+kh))
      allocate(vxyt(kb:ke+kh))
      allocate(wxyt(kb:ke+kh))
      allocate(pxyt(kb:ke+kh))
      allocate(upwpxytik(kb:ke+kh))
      allocate(vpwpxytjk(kb:ke+kh))
      allocate(upvpxytij(kb:ke+kh))
      allocate(uwxytik(kb:ke+kh))
      allocate(vwxytjk(kb:ke+kh))
      allocate(uvxytij(kb:ke+kh))
      allocate(uuxyti(kb:ke+kh))
      allocate(vvxytj(kb:ke+kh))
      allocate(wwxytk(kb:ke+kh))
      allocate(upupxytc(kb:ke+kh))
      allocate(vpvpxytc(kb:ke+kh))
      allocate(wpwpxytc(kb:ke+kh))
      allocate(tkexytc(kb:ke+kh))
      allocate(usgsxyt(kb:ke+kh))
      allocate(vsgsxyt(kb:ke+kh))
      allocate(wsgsxyt(kb:ke+kh))

      call ncinfo( xytVars(ctrxyt+ 1,:), 'u'        , 'Streamwise velocity'        , 'm/s'       , 'tt' )
      call ncinfo( xytVars(ctrxyt+ 2,:), 'v'        , 'Spanwise velocity'          , 'm/s'       , 'tt' )
      call ncinfo( xytVars(ctrxyt+ 3,:), 'w'        , 'Vertical velocity'          , 'm/s'       , 'mt' )
      call ncinfo( xytVars(ctrxyt+ 4,:), 'p'        , 'Kinematic Pressure'         , 'm^2/s^2'   , 'tt' )
      call ncinfo( xytVars(ctrxyt+ 5,:), 'upwp'     , 'Turbulent mom. flux'        , 'm^2/s^2'   , 'mt' )
      call ncinfo( xytVars(ctrxyt+ 6,:), 'vpwp'     , 'Turbulent mom. flux'        , 'm^2/s^2'   , 'mt' )
      call ncinfo( xytVars(ctrxyt+ 7,:), 'upvp'     , 'Turbulent mom. flux'        , 'm^2/s^2'   , 'tt' )
      call ncinfo( xytVars(ctrxyt+ 8,:), 'uw'       , 'Dispersive mom. flux'       , 'm^2/s^2'   , 'mt' )
      call ncinfo( xytVars(ctrxyt+ 9,:), 'vw'       , 'Dispersive mom. flux'       , 'm^2/s^2'   , 'mt' )
      call ncinfo( xytVars(ctrxyt+10,:), 'uv'       , 'Dispersive mom. flux'       , 'm^2/s^2'   , 'tt' )
      call ncinfo( xytVars(ctrxyt+11,:), 'uu'       , 'Dispersive mom. flux'       , 'm^2/s^2'   , 'tt' )
      call ncinfo( xytVars(ctrxyt+12,:), 'vv'       , 'Dispersive mom. flux'       , 'm^2/s^2'   , 'tt' )
      call ncinfo( xytVars(ctrxyt+13,:), 'ww'       , 'Dispersive mom. flux'       , 'm^2/s^2'   , 'mt' )
      call ncinfo( xytVars(ctrxyt+14,:), 'upup'     , 'u variance - cell centered' , 'm^2/s^2'   , 'tt' )
      call ncinfo( xytVars(ctrxyt+15,:), 'vpvp'     , 'v variance - cell centered' , 'm^2/s^2'   , 'tt' )
      call ncinfo( xytVars(ctrxyt+16,:), 'wpwp'     , 'w variance - cell centered' , 'm^2/s^2'   , 'tt' )
      call ncinfo( xytVars(ctrxyt+17,:), 'tke'      , 'TKE - cell centered'        , 'm^2/s^2'   , 'tt' )
      call ncinfo( xytVars(ctrxyt+18,:), 'usgs'     , 'SGS mom. flux'              , 'm^2/s^2'   , 'mt' )
      call ncinfo( xytVars(ctrxyt+19,:), 'vsgs'     , 'SGS mom. flux'              , 'm^2/s^2'   , 'mt' )
      call ncinfo( xytVars(ctrxyt+20,:), 'wsgs'     , 'SGS normal stress'          , 'm^2/s^2'   , 'tt' )
      call ncinfo( xytVars(ctrxyt+21,:), 'pabs'     , 'Hydrostatic absolute pressure', 'Pa'      , 'tt' )
      ctrxyt = ctrxyt+21
    end subroutine stats_init_xytavg_vel