Changeset 121


Ignore:
Timestamp:
02/01/13 00:13:46 (11 years ago)
Author:
dubos
Message:

Options for calculation of Exner pressure

Location:
codes/icosagcm/trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/trunk/src/exner.f90

    r50 r121  
    11MODULE exner_mod 
    22 
     3  INTEGER :: caldyn_exner 
     4 
    35CONTAINS 
    4  
     6   
    57  SUBROUTINE exner(f_ps,f_p,f_pks,f_pk) 
    68  USE icosa 
     
    4345    REAL(rstd) :: delta  
    4446     
    45     IF(.FALSE.) THEN          ! LMD-Z style calculation of Exner pressure 
     47    IF(caldyn_exner == 1) THEN          ! LMD-Z style calculation of Exner pressure 
    4648       !! Compute Alpha and Beta 
    4749        
  • codes/icosagcm/trunk/src/geopotential_mod.f90

    r19 r121  
    4444 
    4545!!! Compute geopotential 
    46  
     46  ! LMD-Z : dh=pi.dtheta-vdp  => (1/rho) dp = pi.dtheta - d(h=pi.theta) = -dtheta.gradpi 
     47  ! g.dz =  -(1/rho)dp =  theta.gradpi 
     48  ! direct (variational) 
     49  ! dz = -(1/rho.g)dp, rho = RT/p = (R/C_p).theta.pi/p 
     50    
    4751  ! for first layer 
    4852   DO j=jj_begin-offset,jj_end+offset 
Note: See TracChangeset for help on using the changeset viewer.