Changeset 4194 for dynamico_lmdz/simple_physics/phyparam
- Timestamp:
- Dec 20, 2019, 10:02:32 AM (5 years ago)
- Location:
- dynamico_lmdz/simple_physics/phyparam/physics
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
dynamico_lmdz/simple_physics/phyparam/physics/astronomy.F90
r4192 r4194 1 1 MODULE astronomy 2 3 #include "use_logging.h" 4 2 5 IMPLICIT NONE 3 6 SAVE … … 79 82 80 83 IF (lwrite) THEN 81 PRINT*,'jour de l"annee :',pday 82 PRINT*,'distance au soleil (en unite astronomique) :',pdist_sol 83 PRINT*,'declinaison (en degres) :',pdecli*180./pi 84 WRITELOG(*,*) 'jour de l"annee :',pday 85 WRITELOG(*,*) 'distance au soleil (en unite astronomique) :',pdist_sol 86 WRITELOG(*,*) 'declinaison (en degres) :',pdecli*180./pi 87 CALL flush_log 84 88 ENDIF 85 89 … … 124 128 !----------------------------------------------------------------------- 125 129 126 PRINT*,'Perihelie en Mkm ',periheli127 PRINT*,'Aphelise en Mkm ',aphelie128 PRINT*,'obliquite en degres :',obliquit130 WRITELOG(*,*) 'Perihelie en Mkm ',periheli 131 WRITELOG(*,*) 'Aphelise en Mkm ',aphelie 132 WRITELOG(*,*) 'obliquite en degres :',obliquit 129 133 130 134 e_elips=(aphelie-periheli)/(periheli+aphelie) 131 135 p_elips=0.5*(periheli+aphelie)*(1-e_elips*e_elips)/unitastr 132 136 133 print*,'e_elips',e_elips134 print*,'p_elips',p_elips135 137 WRITELOG(*,*) 'e_elips',e_elips 138 WRITELOG(*,*) 'p_elips',p_elips 139 136 140 !----------------------------------------------------------------------- 137 141 ! calcul de l'angle polaire et de la distance au soleil : … … 143 147 zanom=2.*pi*(zz-nint(zz)) 144 148 zxref=abs(zanom) 145 PRINT*,'zanom ',zanom149 WRITELOG(*,*) 'zanom ',zanom 146 150 147 151 ! resolution de l'equation horaire zx0 - e * sin (zx0) = zxref … … 157 161 zx0=zx0+zdx 158 162 if(zanom.lt.0.) zx0=-zx0 159 PRINT*,'zx0 ',zx0163 WRITELOG(*,*) 'zx0 ',zx0 160 164 161 165 ! zteta est la longitude solaire 162 166 163 167 timeperi=2.*atan(sqrt((1.+e_elips)/(1.-e_elips))*tan(zx0/2.)) 164 PRINT*,'longitude solaire du perihelie timeperi = ',timeperi 165 168 WRITELOG(*,*) 'longitude solaire du perihelie timeperi = ',timeperi 169 170 CALL flush_log 166 171 167 172 END SUBROUTINE iniorbit -
dynamico_lmdz/simple_physics/phyparam/physics/vdif_mod.F90
r4189 r4194 1 1 MODULE vdif_mod 2 3 #include "use_logging.h" 4 2 5 IMPLICIT NONE 3 6 SAVE 4 7 PRIVATE 5 8 6 9 REAL, PARAMETER :: karman=0.4 7 10 REAL :: lmixmin=100., emin_turb=1e-8 … … 249 252 IF(lwrite) THEN 250 253 ig=ngrid/2+1 251 PRINT*,'Pression (mbar) ,altitude (km),u,v,theta, rho dz'254 WRITELOG(*,*) 'Pression (mbar) ,altitude (km),u,v,theta, rho dz' 252 255 DO ilay=1,nlay 253 WRITE (*,*) .01*pplay(ig,ilay),.001*pzlay(ig,ilay), &256 WRITELOG(*,*) .01*pplay(ig,ilay),.001*pzlay(ig,ilay), & 254 257 pu(ig,ilay),pv(ig,ilay),ph(ig,ilay),za(ig,ilay) 255 258 ENDDO 256 PRINT*,'Pression (mbar) ,altitude (km),zb'259 WRITELOG(*,*) 'Pression (mbar) ,altitude (km),zb' 257 260 DO ilev=1,nlay 258 WRITE (*,*) .01*pplev(ig,ilev),.001*pzlev(ig,ilev), &261 WRITELOG(*,*) .01*pplev(ig,ilev),.001*pzlev(ig,ilev), & 259 262 zb0(ig,ilev) 260 263 ENDDO 264 CALL flush_log 261 265 ENDIF 262 266 … … 287 291 288 292 IF(lwrite) THEN 289 PRINT*290 PRINT*,'Diagnostique diffusion verticale'291 print*,'LMIXMIN',lmixmin293 294 WRITELOG(*,*) 'Diagnostique diffusion verticale' 295 WRITELOG(*,*) 'LMIXMIN',lmixmin 292 296 PRINT*,'coefficients Cd pour v et h' 293 297 PRINT*,zcdv(ngrid/2+1),zcdh(ngrid/2+1) … … 296 300 PRINT*,zkv(ngrid/2+1,ilev),zkh(ngrid/2+1,ilev) 297 301 ENDDO 302 CALL flush_log 298 303 ENDIF 299 304
Note: See TracChangeset
for help on using the changeset viewer.