Ignore:
Timestamp:
Jul 8, 2015 6:49:19 PM (9 years ago)
Author:
suehring
Message:

Enable turbulent inflow for passive_scalar and humidity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/init_3d_model.f90

    r1586 r1615  
    2020! Current revisions:
    2121! ------------------
    22 !
     22! Enable turbulent inflow for passive_scalar and humidity
    2323!
    2424! Former revisions:
     
    12481248!--       profiles from the prerun. Alternatively, prescribed profiles
    12491249!--       for u,v-components can be used.
    1250           ALLOCATE( mean_inflow_profiles(nzb:nzt+1,5) )
     1250          ALLOCATE( mean_inflow_profiles(nzb:nzt+1,6) )
    12511251
    12521252          IF ( use_prescribed_profile_data )  THEN
     
    12591259          mean_inflow_profiles(:,4) = hom_sum(:,4,0)       ! pt
    12601260          mean_inflow_profiles(:,5) = hom_sum(:,8,0)       ! e
     1261          mean_inflow_profiles(:,6) = hom_sum(:,41,0)      ! q
    12611262
    12621263!
     
    12851286                   pt(k,j,nxlg:-1) = mean_inflow_profiles(k,4)
    12861287                   e(k,j,nxlg:-1)  = mean_inflow_profiles(k,5)
     1288                   IF ( humidity  .OR.  passive_scalar )                       &
     1289                      q(k,j,nxlg:-1)  = mean_inflow_profiles(k,6)
    12871290                ENDDO
    12881291             ENDDO
Note: See TracChangeset for help on using the changeset viewer.