Changeset 41d8574 in flexpart.git for src/timemanager.f90
- Timestamp:
- Jan 15, 2016, 12:35:58 PM (8 years ago)
- Branches:
- master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug, univie
- Children:
- fdc0f03
- Parents:
- d8107c2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/timemanager.f90
rf75967d r41d8574 607 607 end do 608 608 609 if (xmassfract.lt. 0.0001) then ! terminate all particles carrying less mass609 if (xmassfract.lt.minmass) then ! terminate all particles carrying less mass 610 610 itra1(j)=-999999999 611 611 if (verbosity.gt.0) then … … 644 644 !*************************************************************** 645 645 646 647 648 649 650 651 652 646 total_nan_intl=0 647 i_nan=i_nan+1 ! added by mc to count nan during a time of maxtl (i.e. maximum tl fixed here to 20 minutes, see com_mod) 648 sum_nan_count(i_nan)=nan_count 649 if (i_nan > maxtl/lsynctime) i_nan=1 !lsynctime must be <= maxtl 650 do ii_nan=1, (maxtl/lsynctime) 651 total_nan_intl=total_nan_intl+sum_nan_count(ii_nan) 652 end do 653 653 ! Output to keep track of the numerical instabilities in CBL simulation and if 654 654 ! they are compromising the final result (or not) 655 655 if (cblflag.eq.1) print *,j,itime,'nan_synctime',nan_count,'nan_tl',total_nan_intl 656 656 657 !!------------------------------------------------------------------------------658 ! these lines below to test the well-mixed condition, modified by mc, not to be659 ! included in final release:660 ! if (itime.eq.0) then661 ! open(551,file='/home/mc/test_cbl/out/WELLMIXEDTEST_CBL_lonlat_9_33_100_3hours_3htp_cd.DAT')662 ! open(552,file='/home/mc/test_cbl/out/avg_ol_h_wst_lonlat_9_33_100_3hours_3htp_cd.DAT')663 ! end if664 ! write(552,'(5F16.7)')itime*1./3600.,avg_wst/well_mixed_norm,avg_ol/well_mixed_norm,avg_h/well_mixed_norm665 ! do j=1,25666 ! !write(551,*))itime*1.,h_well/50.*j,well_mixed_vector(j)/well_mixed_norm*50.667 ! avg_air_dens(j)=avg_air_dens(j)/well_mixed_vector(j)668 ! write(551,'(5F16.7)')itime*1.,h_well/25.*j,well_mixed_vector(j)/well_mixed_norm*25.,avg_air_dens(j),0.04*j669 ! end do670 !!------------------------------------------------------------------------------671 672 657 end do 673 658
Note: See TracChangeset
for help on using the changeset viewer.