Changeset 2293 for palm/trunk
- Timestamp:
- Jun 22, 2017 12:59:12 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/pmc_interface_mod.f90
r2292 r2293 26 26 ! ----------------- 27 27 ! $Id$ 28 ! In anterpolation, exclude grid points which are used for interpolation. 29 ! This avoids the accumulation of numerical errors leading to increased 30 ! variances for shallow child domains. 31 ! 32 ! 2292 2017-06-20 09:51:42Z schwenkel 28 33 ! Implementation of new microphysic scheme: cloud_scheme = 'morrison' 29 34 ! includes two more prognostic equations for cloud drop concentration (nc) … … 5421 5426 !-- Define the index bounds iclp, icrm, jcsp and jcnm. 5422 5427 !-- Note that kcb is simply zero and kct enters here as a parameter and it is 5423 !-- determined in pmci_init_anterp_tophat 5424 5428 !-- determined in pmci_init_anterp_tophat. 5429 !-- Please note, grid points used also for interpolation (from parent to 5430 !-- child) are excluded in anterpolation, e.g. anterpolation is only from 5431 !-- nzb:kct-1, as kct is used for interpolation. Following this approach 5432 !-- avoids numerical problems which may accumulate, particularly for shallow 5433 !-- child domain, leading to increased velocity variances. A more 5434 !-- comprehensive explanation for this is still pending. 5425 5435 IF ( nesting_mode == 'vertical' ) THEN 5426 5436 IF ( nest_bound_l ) THEN … … 5439 5449 IF ( nest_bound_l ) THEN 5440 5450 IF ( var == 'u' ) THEN 5451 iclp = icl + nhll + 1 + 1 5452 ELSE 5441 5453 iclp = icl + nhll + 1 5442 ELSE5443 iclp = icl + nhll5444 5454 ENDIF 5445 5455 ENDIF 5446 5456 IF ( nest_bound_r ) THEN 5447 icrm = icr - nhlr 5457 icrm = icr - nhlr - 1 5448 5458 ENDIF 5449 5459 5450 5460 IF ( nest_bound_s ) THEN 5451 5461 IF ( var == 'v' ) THEN 5462 jcsp = jcs + nhls + 1 + 1 5463 ELSE 5452 5464 jcsp = jcs + nhls + 1 5453 ELSE5454 jcsp = jcs + nhls5455 5465 ENDIF 5456 5466 ENDIF 5457 5467 IF ( nest_bound_n ) THEN 5458 jcnm = jcn - nhln 5468 jcnm = jcn - nhln - 1 5459 5469 ENDIF 5460 5470 ENDIF … … 5468 5478 !-- For simplicity anterpolate within buildings and under elevated 5469 5479 !-- terrain too 5470 DO kk = kcb, kct 5480 DO kk = kcb, kct - 1 5471 5481 ! 5472 5482 !-- ijfc and kfc are precomputed in pmci_init_anterp_tophat
Note: See TracChangeset
for help on using the changeset viewer.