- Timestamp:
- 05/25/16 17:58:59 (8 years ago)
- Location:
- codes/icosagcm/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
codes/icosagcm/trunk/src/etat0_dcmip2016_baroclinic_wave.f90
r382 r386 33 33 STOP 34 34 END IF 35 CALL set_advection_scheme(3,advect_none)35 ! CALL set_advection_scheme(3,advect_none) 36 36 37 37 END SUBROUTINE getin_etat0 -
codes/icosagcm/trunk/src/physics_dcmip2016.f90
r385 r386 65 65 ! Physics-specific data 66 66 ALLOCATE(precl_packed(ngrid)) 67 precl_packed(:)=0. 67 68 CALL allocate_field(f_precl, field_t,type_real) 68 69 … … 84 85 CALL unpack_field(f_precl, precl_packed) 85 86 CALL output_field("precl",f_precl) 87 precl_packed(:)=0. 88 86 89 END SUBROUTINE write_physics 87 90 … … 154 157 DO l=1,llm 155 158 ll=llm+1-l 156 rho(l) = gas_constant*Temp(ij,l) / pmid(ij,ll)157 z(l)=lastz+ (p(ij,l)-p(ij,l+1) /g)/ rho(l)159 rho(l) = pmid(ij,ll)/(287*Temp(ij,l)) 160 z(l)=lastz+ (p(ij,l)-p(ij,l+1)) /g / rho(l) 158 161 lastz=z(l) 159 theta(l)= Tfi(ij,ll)*(1+0.608*qfi(ij,ll,1)) * pk(ij,l) / cpp 162 ! theta(l)= Tfi(ij,ll)*(1+0.608*qfi(ij,ll,1)) / ( pk(ij,l) / cpp) 163 theta(l)= Tfi(ij,ll) / ( pk(ij,l) / cpp) 160 164 ENDDO 161 165 … … 165 169 DO l=1,llm 166 170 ll=llm+1-l 167 Tfi(ij,ll) = theta(l) /(1+0.608*qfi(ij,ll,1)) * cpp / pk(ij,l) 171 ! Tfi(ij,ll) = theta(l) /(1+0.608*qfi(ij,ll,1)) * ( pk(ij,l) / cpp) 172 Tfi(ij,ll) = theta(l) * ( pk(ij,l) / cpp) 168 173 ENDDO 169 174 ENDDO
Note: See TracChangeset
for help on using the changeset viewer.