Ignore:
Timestamp:
Jan 15, 2014 1:40:41 PM (10 years ago)
Author:
heinze
Message:

Usage of Dirichlet bottom boundary condition for scalars in conjunction with large scale forcing enabled

File:
1 edited

Legend:

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

    r1258 r1276  
    2020! Current revisions:
    2121! -----------------
    22 !
     22! Use LSF_DATA also in case of Dirichlet bottom boundary condition for scalars
    2323!
    2424! Former revisions:
     
    120120!--    For a given surface temperature:
    121121!--    (the Richardson number is still the one from the previous time step)
     122   
     123       IF ( large_scale_forcing .AND. lsf_surf )  THEN
     124          pt(0,:,:) = pt_surface
     125       ENDIF
     126
    122127       !$OMP PARALLEL DO PRIVATE( a, b, k, z_p )
    123128       !$acc kernels loop
     
    334339       ELSE
    335340          coupled_run = ( coupling_mode == 'atmosphere_to_ocean' .AND. run_coupled )
     341
     342           IF ( large_scale_forcing .AND. lsf_surf )  THEN
     343              q(0,:,:) = q_surface
     344           ENDIF
     345
    336346          !$OMP PARALLEL DO PRIVATE( a, b, k, z_p )
    337347          !$acc kernels loop independent
Note: See TracChangeset for help on using the changeset viewer.