UPP (develop)
Loading...
Searching...
No Matches
BNDLYR.f File Reference

Subroutine that computes boundary layer fields. More...

Go to the source code of this file.

Functions/Subroutines

subroutine bndlyr (pbnd, tbnd, qbnd, rhbnd, ubnd, vbnd, wbnd, omgbnd, pwtbnd, qcnvbnd, lvlbnd)
 Computes boundary layer fields.
 

Detailed Description

Subroutine that computes boundary layer fields.

Computes constant mass mean fields

This routine computes constant mass (boundary layer) fields. The fields are a mean over layers parameter DPBND (pascals) thick. There are NBND constant mass layers, each DPBND thick starting from the surface up. Computed boundary layer fields are pressure, temperature, specific humidity, relative humidity, U and V winds, vertical velocity, and precipitable water. Given these fundamental variables other fields may be computed.

Note
If you change parameter NBND in this routine don't forget to change it also in the calling subprogram, MISCLN.

Program history log:

Date Programmer Comments
1993-01-29 RUSS TREADON Original file
1993-05-07 RUSS TREADON ADDED DOC BLOCK AND MORE COMMENTS.
1993-06-19 RUSS TREADON ADDED LVLBND TO PARAMETER LIST.
1996-03-07 MIKE BALDWIN CHANGE PWTR CALC TO INCLUDE CLD WTR SPEED UP CODE
1998-06-16 T BLACK CONVERSION FROM 1-D TO 2-D
1998-08-18 MIKE BALDWIN CHANGE QSBND TO RHBND IN CALL, COMPUTE RH OVER ICE
1998-12-22 MIKE BALDWIN BACK OUT RH OVER ICE
2000-01-04 JIM TUCCILLO MPI VERSION
2002-01-15 MIKE BALDWIN WRF VERSION
2020-11-10 JESSE MENG USE UPP_PHYSICS MODULE
2021-08-20 Wen Meng Retrict computation fro undefined points.
2021-09-02 Bo Cui Decompose UPP in X direction.
Author
Russ Treadon W/NP2
Date
1993-01-29

Definition in file BNDLYR.f.

Function/Subroutine Documentation

◆ bndlyr()

subroutine bndlyr ( real, dimension(ista:iend,jsta:jend,nbnd), intent(inout)  pbnd,
real, dimension(ista:iend,jsta:jend,nbnd), intent(inout)  tbnd,
real, dimension(ista:iend,jsta:jend,nbnd), intent(inout)  qbnd,
real, dimension(ista:iend,jsta:jend,nbnd), intent(inout)  rhbnd,
real, dimension(ista:iend,jsta:jend,nbnd), intent(inout)  ubnd,
real, dimension(ista:iend,jsta:jend,nbnd), intent(inout)  vbnd,
real, dimension(ista:iend,jsta:jend,nbnd), intent(inout)  wbnd,
real, dimension(ista:iend,jsta:jend,nbnd), intent(inout)  omgbnd,
real, dimension(ista:iend,jsta:jend,nbnd), intent(inout)  pwtbnd,
real, dimension(ista:iend,jsta:jend,nbnd), intent(inout)  qcnvbnd,
integer, dimension(ista:iend,jsta:jend,nbnd), intent(inout)  lvlbnd 
)

Computes boundary layer fields.

Parameters
[out]PBND- Layer mean pressure in NBND boundary layers (NBL).
[out]TBND- Layer mean temperature in NBL.
[out]QBND- Layer mean specific humidity in NBL.
[out]RHBND- Layer mean relative hum. (QBND/QSBND) in NBL.
[out]UBND- Layer mean U wind component in NBL.
[out]VBND- Layer mean V wind component in NBL.
[out]WBND- Layer mean W wind component in NBL.
[out]OMGBND- Layer mean vertical velocity in NBL.
[out]PWTBND- Layer precipitable water in NBL.
[out]QCNVBND- Layer moisture convergence in NBL.
[out]LVLBND- ETA layer at midpoint of NBL.
Note
If you change parameter NBND in this routine don't forget to change it also in the calling subprogram, MISCLN.

Definition at line 55 of file BNDLYR.f.

References calmcvg(), and exch().

Referenced by miscln().