Changeset 1707 for palm/trunk/SOURCE/init_3d_model.f90
- Timestamp:
- Nov 2, 2015 3:24:52 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/init_3d_model.f90
r1692 r1707 19 19 ! Current revisions: 20 20 ! ------------------ 21 ! 21 ! Bugfix: transfer of Richardson number from 1D model to Obukhov length caused 22 ! devision by zero in neutral stratification 22 23 ! 23 24 ! Former revisions: … … 721 722 722 723 IF ( constant_flux_layer ) THEN 723 ol = ( zu(nzb+1) - zw(nzb) ) / rif1d(nzb+1)724 ol = ( zu(nzb+1) - zw(nzb) ) / ( rif1d(nzb+1) + 1.0E-20_wp ) 724 725 ts = 0.0_wp ! could actually be computed more accurately in the 725 726 ! 1D model. Update when opportunity arises. … … 760 761 761 762 ! 762 !-- inside buildings set velocities back to zero763 763 IF ( topography /= 'flat' ) THEN 764 764 DO i = nxl-1, nxr+1
Note: See TracChangeset
for help on using the changeset viewer.