New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 13967 for NEMO/branches – NEMO

Changeset 13967 for NEMO/branches


Ignore:
Timestamp:
2020-12-02T10:38:21+01:00 (3 years ago)
Author:
clem
Message:

more debugs. Trying sette now but we should never go into vp routine, so it should be fine

Location:
NEMO/branches/2020/SI3_vp_rheology
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/SI3_vp_rheology/cfgs/SHARED/namelist_ice_ref

    r13965 r13967  
    104104                                      !          this option 2 asks a lot of communications between cpu 
    105105   ln_rhg_VP        = .false.         !  VP rheology 
    106    nn_vp_nout       = 10              !     number of outer iterations 
    107    nn_vp_ninn       = 1500            !     number of inner iterations 
    108    nn_vp_cvgchk     = 5               !     iteration step for convergence check 
     106      nn_vp_nout    = 10              !     number of outer iterations 
     107      nn_vp_ninn    = 1500            !     number of inner iterations 
     108      nn_vp_cvgchk  = 5               !     iteration step for convergence check 
    109109/ 
    110110!------------------------------------------------------------------------------ 
  • NEMO/branches/2020/SI3_vp_rheology/src/ICE/icedyn_rhg_vp.F90

    r13965 r13967  
    145145      INTEGER ::   nn_nvp              ! total number of VP iterations (n_out_vp*n_inn_vp)       
    146146      ! 
    147       REAL(wp) ::   zrhoco                                              ! rau0 * rn_cio 
     147      REAL(wp) ::   zrhoco                                              ! rho0 * rn_cio 
    148148      REAL(wp) ::   ecc2, z1_ecc2                                       ! square of yield ellipse eccenticity 
    149149      REAL(wp) ::   zglob_area                                          ! global ice area for diagnostics 
     
    255255      IF( lwp )   WRITE(numout,*) ' nn_nvp      : ', nn_nvp 
    256256       
    257       zrhoco = rau0 * rn_cio  
     257      zrhoco = rho0 * rn_cio  
    258258 
    259259      ! ecc2: square of yield ellipse eccentricity 
     
    262262                
    263263      ! Initialise convergence checks 
    264       IF( ln_rhg_chkcvg ) THEN 
     264      IF( nn_rhg_chkcvg /= 0 ) THEN 
    265265       
    266266         ! ice area for global mean kinetic energy 
     
    362362                           
    363363            ! Mass per unit area divided by time step 
    364             zmassU_t(ji,jj) = zmassU * r1_rdtice 
    365             zmassV_t(ji,jj) = zmassV * r1_rdtice 
     364            zmassU_t(ji,jj) = zmassU * r1_Dt_ice 
     365            zmassV_t(ji,jj) = zmassV * r1_Dt_ice 
    366366 
    367367            ! Acceleration term contribution to RHS (depends on velocity at previous time step)             
     
    10331033               zuerr_max = 0._wp 
    10341034                                
    1035                IF ( ll_u_iterate .AND. MOD ( i_inn, nn_cvgchk_vp ) == 0 ) THEN 
     1035               IF ( ll_u_iterate .AND. MOD ( i_inn, nn_vp_cvgchk ) == 0 ) THEN 
    10361036 
    10371037                  ! - Maximum U-velocity difference                
     
    10641064               zverr_max = 0._wp 
    10651065                
    1066                IF ( ll_v_iterate .AND. MOD ( i_inn, nn_cvgchk_vp ) == 0 ) THEN 
     1066               IF ( ll_v_iterate .AND. MOD ( i_inn, nn_vp_cvgchk ) == 0 ) THEN 
    10671067                
    10681068                  ! - Maximum V-velocity difference 
     
    10991099            !--------------------------------------------------------------------------------------- 
    11001100 
    1101             IF( ln_rhg_chkcvg .AND. MOD ( i_inn - 1, nn_cvgchk_vp ) == 0 ) CALL rhg_cvg_vp( kt, jter, nn_nvp, u_ice, v_ice, zmt, zuerr_max, zverr_max, zglob_area, & 
     1101            IF( nn_rhg_chkcvg/=0 .AND. MOD ( i_inn - 1, nn_vp_cvgchk ) == 0 ) CALL rhg_cvg_vp( kt, jter, nn_nvp, u_ice, v_ice, zmt, zuerr_max, zverr_max, zglob_area, & 
    11021102                      &                         zrhsu, zAU, zBU, zCU, zDU, zEU, zrhsv, zAV, zBV, zCV, zDV, zEV ) 
    11031103 
     
    11371137      !------------------------------------------------------------------------------! 
    11381138 
    1139       IF( ln_rhg_chkcvg ) THEN 
     1139      IF( nn_rhg_chkcvg /= 0 ) THEN 
    11401140           
    11411141         IF( iom_use('uice_cvg')  ) THEN 
     
    11441144         ENDIF    
    11451145         
    1146       ENDIF ! ln_rhg_chkcvg 
     1146      ENDIF 
    11471147 
    11481148      ! MV DEBUG test - replace ice velocity by ocean current to give the model the means to go ahead 
Note: See TracChangeset for help on using the changeset viewer.