Ignore:
Timestamp:
Apr 17, 2020 4:14:16 PM (4 years ago)
Author:
schwenkel
Message:

Implementation of ice microphysics

File:
1 edited

Legend:

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

    r4488 r4502  
    2424! -----------------
    2525! $Id$
     26! Implementation of ice microphysics
     27!
     28! 4488 2020-04-03 11:34:29Z raasch
    2629! file re-formatted to follow the PALM coding standard
    2730!
     
    957960          ENDDO
    958961
    959        ELSEIF ( sk_char == 'qr' )  THEN
    960 
    961 !
    962 !--       Rain water content boundary condition at the bottom boundary: Dirichlet (fixed surface
    963 !--       rain water content).
     962       ELSEIF ( sk_char == 'qi' )  THEN
     963
     964!
     965!--       Ice crystal content boundary condition at the bottom boundary:
     966!--       Dirichlet (fixed surface rain water content).
    964967          DO  i = nxl, nxr
    965968             DO  j = nys, nyn
     
    971974
    972975!
    973 !--       Rain water content boundary condition at the top boundary: Dirichlet
     976!--       Ice crystal content boundary condition at the top boundary: Dirichlet
    974977          DO  i = nxl, nxr
    975978             DO  j = nys, nyn
     
    979982          ENDDO
    980983
    981        ELSEIF ( sk_char == 'nc' )  THEN
    982 
    983 !
    984 !--       Cloud drop concentration boundary condition at the bottom boundary: Dirichlet (fixed
    985 !--       surface cloud drop concentration).
     984       ELSEIF ( sk_char == 'qr' )  THEN
     985
     986!
     987!--       Rain water content boundary condition at the bottom boundary: Dirichlet (fixed surface
     988!--       rain water content).
    986989          DO  i = nxl, nxr
    987990             DO  j = nys, nyn
     
    993996
    994997!
     998!--       Rain water content boundary condition at the top boundary: Dirichlet
     999          DO  i = nxl, nxr
     1000             DO  j = nys, nyn
     1001                sk_p(nzt+2,j,i)   = sk_p(nzt+1,j,i)
     1002                sk_p(nzt+3,j,i)   = sk_p(nzt+1,j,i)
     1003             ENDDO
     1004          ENDDO
     1005
     1006       ELSEIF ( sk_char == 'nc' )  THEN
     1007
     1008!
     1009!--       Cloud drop concentration boundary condition at the bottom boundary: Dirichlet (fixed
     1010!--       surface cloud drop concentration).
     1011          DO  i = nxl, nxr
     1012             DO  j = nys, nyn
     1013                sk_p(nzb,j,i)   = sk_p(nzb+1,j,i)
     1014                sk_p(nzb-1,j,i) = sk_p(nzb,j,i)
     1015                sk_p(nzb-2,j,i) = sk_p(nzb,j,i)
     1016             ENDDO
     1017          ENDDO
     1018
     1019!
    9951020!--       Cloud drop concentration boundary condition at the top boundary: Dirichlet
     1021          DO  i = nxl, nxr
     1022             DO  j = nys, nyn
     1023                sk_p(nzt+2,j,i)   = sk_p(nzt+1,j,i)
     1024                sk_p(nzt+3,j,i)   = sk_p(nzt+1,j,i)
     1025             ENDDO
     1026          ENDDO
     1027
     1028       ELSEIF ( sk_char == 'ni' )  THEN
     1029
     1030!
     1031!--       Ice crystal concentration boundary condition at the bottom boundary:
     1032!--       Dirichlet (fixed surface cloud drop concentration).
     1033          DO  i = nxl, nxr
     1034             DO  j = nys, nyn
     1035                sk_p(nzb,j,i)   = sk_p(nzb+1,j,i)
     1036                sk_p(nzb-1,j,i) = sk_p(nzb,j,i)
     1037                sk_p(nzb-2,j,i) = sk_p(nzb,j,i)
     1038             ENDDO
     1039          ENDDO
     1040
     1041!
     1042!--       Ice crystal concentration boundary condition at the top boundary: Dirichlet
    9961043          DO  i = nxl, nxr
    9971044             DO  j = nys, nyn
Note: See TracChangeset for help on using the changeset viewer.