Changeset 325


Ignore:
Timestamp:
02/01/15 21:10:39 (9 years ago)
Author:
dubos
Message:

Venus (Lebonnois et al., 2012) test case

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

Legend:

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

    r321 r325  
    2525    USE etat0_dcmip4_mod, ONLY : etat0_dcmip4=>etat0   
    2626    USE etat0_heldsz_mod, ONLY : etat0_heldsz=>etat0   
     27    USE etat0_venus_mod,  ONLY : etat0_venus=>etat0   
    2728    USE etat0_start_file_mod, ONLY : etat0_start_file=>etat0   
    2829 
     
    7273       PRINT *,"Held & Suarez (1994) test case" 
    7374       CALL etat0_heldsz(f_ps,f_phis,f_theta_rhodz,f_u, f_q) 
     75    CASE ('venus') 
     76       CALL etat0_venus(f_ps, f_phis, f_theta_rhodz, f_u, f_q) 
     77       PRINT *, "Venus (Lebonnois et al., 2012) test case" 
    7478    CASE ('dcmip1') 
    7579       CALL etat0_dcmip1(f_ps,f_phis,f_theta_rhodz,f_u, f_q) 
  • codes/icosagcm/trunk/src/physics.f90

    r295 r325  
    55  PRIVATE 
    66 
    7   INTEGER, PARAMETER :: phys_none=0, phys_HS94=1, phys_DCMIP=2 
     7  INTEGER, PARAMETER :: phys_none=0, phys_HS94=1, phys_DCMIP=2, phys_LB2012=3 
    88 
    99  INTEGER :: phys_type 
     
    2525    USE physics_interface_mod 
    2626    USE physics_dcmip_mod, ONLY : init_physics_dcmip=>init_physics 
     27    USE etat0_venus_mod, ONLY : init_phys_venus=>init_physics 
    2728    IMPLICIT NONE 
    2829 
     
    3637    CASE ('held_suarez') 
    3738       phys_type = phys_HS94 
     39    CASE ('Lebonnois2012') 
     40       phys_type = phys_LB2012 
     41       CALL init_phys_venus 
    3842    CASE ('dcmip') 
    3943       CALL allocate_field(f_dulon,field_t,type_real,llm, name='dulon') 
     
    4650    CASE DEFAULT 
    4751       IF(is_mpi_root) PRINT*, 'init_physics : Bad selector for variable physics <',& 
    48             TRIM(physics_type), '> options are <none>, <held_suarez>, <dcmip>' 
     52            TRIM(physics_type), '> options are <none>, <held_suarez>, <Lebonnois2012>, <dcmip>' 
    4953       STOP 
    5054    END SELECT 
     
    5862    USE physics_dcmip_mod, ONLY : write_physics_dcmip => write_physics 
    5963    USE etat0_heldsz_mod 
     64    USE etat0_venus_mod, ONLY : phys_venus => physics 
    6065    IMPLICIT NONE 
    6166    INTEGER, INTENT(IN)   :: it 
     
    8287       CASE(phys_HS94) 
    8388          CALL held_suarez(f_ps,f_theta_rhodz,f_ue)  
     89       CASE(phys_LB2012) 
     90          CALL phys_venus(f_ps,f_theta_rhodz,f_ue)  
    8491       CASE DEFAULT 
    8592          CALL physics_column(it, f_phis, f_ps, f_theta_rhodz, f_ue, f_q) 
Note: See TracChangeset for help on using the changeset viewer.