stats_init_xyavg_vel Subroutine

private subroutine stats_init_xyavg_vel()

Arguments

None

Calls

proc~~stats_init_xyavg_vel~~CallsGraph proc~stats_init_xyavg_vel stats_init_xyavg_vel proc~ncinfo ncinfo proc~stats_init_xyavg_vel->proc~ncinfo

Called by

proc~~stats_init_xyavg_vel~~CalledByGraph proc~stats_init_xyavg_vel stats_init_xyavg_vel proc~stats_prepare stats_prepare proc~stats_prepare->proc~stats_init_xyavg_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_xyavg_vel
      implicit none
      allocate(uxy(kb:ke+kh))
      allocate(vxy(kb:ke+kh))
      allocate(wxy(kb:ke+kh))
      allocate(pxy(kb:ke+kh))
      allocate(upwpxyik(kb:ke+kh))
      allocate(vpwpxyjk(kb:ke+kh))
      allocate(upvpxyij(kb:ke+kh))
      allocate(uwxyik(kb:ke+kh))
      allocate(uxyik(kb:ke+kh))
      allocate(wxyik(kb:ke+kh))
      allocate(vwxyjk(kb:ke+kh))
      allocate(vxyjk(kb:ke+kh))
      allocate(wxyjk(kb:ke+kh))
      allocate(uvxyij(kb:ke+kh))
      allocate(uxyij(kb:ke+kh))
      allocate(vxyij(kb:ke+kh))
      allocate(uuxyi(kb:ke+kh))
      allocate(vvxyj(kb:ke+kh))
      allocate(wwxyk(kb:ke+kh))
      allocate(usgsxy(kb:ke+kh))
      allocate(vsgsxy(kb:ke+kh))
      allocate(wsgsxy(kb:ke+kh))

      call ncinfo( xyVars(ctrxy+ 1,:), 'u'        , 'Streamwise velocity'      , 'm/s'       , 'tt' )
      call ncinfo( xyVars(ctrxy+ 2,:), 'v'        , 'Spanwise velocity'        , 'm/s'       , 'tt' )
      call ncinfo( xyVars(ctrxy+ 3,:), 'w'        , 'Vertical velocity'        , 'm/s'       , 'mt' )
      call ncinfo( xyVars(ctrxy+ 4,:), 'p'        , 'Kinematic Pressure'       , 'm^2/s^2'   , 'tt' )
      call ncinfo( xyVars(ctrxy+ 5,:), 'upwp'     , 'Turbulent mom. flux'      , 'm^2/s^2'   , 'mt' )
      call ncinfo( xyVars(ctrxy+ 6,:), 'vpwp'     , 'Turbulent mom. flux'      , 'm^2/s^2'   , 'mt' )
      call ncinfo( xyVars(ctrxy+ 7,:), 'upvp'     , 'Turbulent mom. flux'      , 'm^2/s^2'   , 'tt' )
      call ncinfo( xyVars(ctrxy+ 8,:), 'uw'       , 'Advective mom. flux'      , 'm^2/s^2'   , 'mt' )
      call ncinfo( xyVars(ctrxy+ 9,:), 'vw'       , 'Advective mom. flux'      , 'm^2/s^2'   , 'mt' )
      call ncinfo( xyVars(ctrxy+10,:), 'uv'       , 'Advective mom. flux'      , 'm^2/s^2'   , 'tt' )
      call ncinfo( xyVars(ctrxy+11,:), 'uu'       , 'Advective mom. flux'      , 'm^2/s^2'   , 'tt' )
      call ncinfo( xyVars(ctrxy+12,:), 'vv'       , 'Advective mom. flux'      , 'm^2/s^2'   , 'tt' )
      call ncinfo( xyVars(ctrxy+13,:), 'ww'       , 'Advective mom. flux'      , 'm^2/s^2'   , 'mt' )
      call ncinfo( xyVars(ctrxy+14,:), 'usgs'     , 'SGS mom. flux'            , 'm^2/s^2'   , 'mt' )
      call ncinfo( xyVars(ctrxy+15,:), 'vsgs'     , 'SGS mom. flux'            , 'm^2/s^2'   , 'mt' )
      call ncinfo( xyVars(ctrxy+16,:), 'wsgs'     , 'SGS normal stress'        , 'm^2/s^2'   , 'tt' )
      call ncinfo( xyVars(ctrxy+17,:), 'pabs'     , 'Hydrostatic absolute pressure', 'Pa'      , 'tt' )
      ctrxy = ctrxy+17
    end subroutine stats_init_xyavg_vel