Changeset 14006
- Timestamp:
- 2020-12-02T15:17:30+01:00 (4 years ago)
- Location:
- NEMO/trunk
- Files:
-
- 3 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/cfgs/SHARED/namelist_ice_ref
r14005 r14006 105 105 rn_relast = 0.333 ! ratio of elastic timescale to ice time step: Telast = dt_ice * rn_relast 106 106 ! advised value: 1/3 (nn_nevp=100) or 1/9 (nn_nevp=300) 107 nn_rhg_chkcvg = 0 !check convergence of rheology107 nn_rhg_chkcvg = 0 ! check convergence of rheology 108 108 ! = 0 no check 109 109 ! = 1 check at the main time step (output xml: uice_cvg) 110 110 ! = 2 check at both main and rheology time steps (additional output: ice_cvg.nc) 111 111 ! this option 2 asks a lot of communications between cpu 112 ln_rhg_VP = .false. ! VP rheology 113 nn_vp_nout = 10 ! number of outer iterations 114 nn_vp_ninn = 1500 ! number of inner iterations 115 nn_vp_chkcvg = 5 ! iteration step for convergence check 112 116 / 113 117 !------------------------------------------------------------------------------ -
NEMO/trunk/src/ICE/ice.F90
r14005 r14006 150 150 ! 151 151 ! !!** ice-rheology namelist (namdyn_rhg) ** 152 ! -- evp 152 153 LOGICAL , PUBLIC :: ln_rhg_EVP ! EVP rheology switch, used for rdgrft and rheology 153 154 LOGICAL , PUBLIC :: ln_rhg_EAP ! EAP rheology switch, used for rdgrft and rheology 154 155 LOGICAL , PUBLIC :: ln_aEVP !: using adaptive EVP (T or F) 155 REAL(wp), PUBLIC :: rn_creepl !: creep limit : has to be under 1.0e-9156 REAL(wp), PUBLIC :: rn_creepl !: creep limit (has to be low enough, circa 10-9 m/s, depending on rheology) 156 157 REAL(wp), PUBLIC :: rn_ecc !: eccentricity of the elliptical yield curve 157 158 INTEGER , PUBLIC :: nn_nevp !: number of iterations for subcycling 158 159 REAL(wp), PUBLIC :: rn_relast !: ratio => telast/rDt_ice (1/3 or 1/9 depending on nb of subcycling nevp) 159 160 INTEGER , PUBLIC :: nn_rhg_chkcvg !: check ice rheology convergence 161 ! -- vp 162 LOGICAL , PUBLIC :: ln_rhg_VP !: VP rheology 163 INTEGER , PUBLIC :: nn_vp_nout !: Number of outer iterations 164 INTEGER , PUBLIC :: nn_vp_ninn !: Number of inner iterations (linear system solver) 165 INTEGER , PUBLIC :: nn_vp_chkcvg !: Number of iterations every each convergence is checked 160 166 ! 161 167 ! !!** ice-advection namelist (namdyn_adv) ** -
NEMO/trunk/src/ICE/icedyn_rhg.F90
r13999 r14006 18 18 USE icedyn_rhg_evp ! sea-ice: EVP rheology 19 19 USE icedyn_rhg_eap ! sea-ice: EAP rheology 20 USE icedyn_rhg_vp ! sea-ice: VP rheology 20 21 USE icectl ! sea-ice: control prints 21 22 ! … … 35 36 INTEGER, PARAMETER :: np_rhgEVP = 1 ! EVP rheology 36 37 INTEGER, PARAMETER :: np_rhgEAP = 2 ! EAP rheology 38 INTEGER, PARAMETER :: np_rhgVP = 3 ! VP rheology 37 39 38 ! ** namelist (namrhg) **39 40 ! 40 41 !!---------------------------------------------------------------------- … … 77 78 ! !------------------------! 78 79 CALL ice_dyn_rhg_evp( kt, Kmm, stress1_i, stress2_i, stress12_i, shear_i, divu_i, delta_i ) 79 ! 80 ! 81 ! !------------------------! 82 CASE( np_rhgVP ) ! Viscous-Plastic ! 83 ! !------------------------! 84 CALL ice_dyn_rhg_vp ( kt, shear_i, divu_i, delta_i ) 85 ! 80 86 ! !----------------------------! 81 87 CASE( np_rhgEAP ) ! Elasto-Anisotropic-Plastic ! … … 84 90 END SELECT 85 91 ! 86 IF( lrst_ice ) THEN !* write EVP fields in the restart file87 IF( ln_rhg_EVP ) CALL rhg_evp_rst( 'WRITE', kt ) 92 IF( lrst_ice ) THEN 93 IF( ln_rhg_EVP ) CALL rhg_evp_rst( 'WRITE', kt ) !* write EVP fields in the restart file 88 94 IF( ln_rhg_EAP ) CALL rhg_eap_rst( 'WRITE', kt ) !* write EAP fields in the restart file 95 ! MV note: no restart needed for VP as there is no time equation for stress tensor 89 96 ENDIF 90 97 ! … … 113 120 INTEGER :: ios, ioptio ! Local integer output status for namelist read 114 121 !! 115 NAMELIST/namdyn_rhg/ ln_rhg_EVP, ln_aEVP, ln_rhg_EAP, rn_creepl, rn_ecc , nn_nevp, rn_relast, nn_rhg_chkcvg 122 NAMELIST/namdyn_rhg/ ln_rhg_EVP, ln_aEVP, ln_rhg_EAP, rn_creepl, rn_ecc , nn_nevp, rn_relast, nn_rhg_chkcvg, & !-- evp 123 & ln_rhg_VP, nn_vp_nout, nn_vp_ninn, nn_vp_chkcvg !-- vp 116 124 !!------------------------------------------------------------------- 117 125 ! … … 129 137 WRITE(numout,*) ' rheology EVP (icedyn_rhg_evp) ln_rhg_EVP = ', ln_rhg_EVP 130 138 WRITE(numout,*) ' use adaptive EVP (aEVP) ln_aEVP = ', ln_aEVP 131 WRITE(numout,*) ' creep limit rn_creepl = ', rn_creepl 132 WRITE(numout,*) ' eccentricity of the elliptical yield curve rn_ecc = ', rn_ecc 139 WRITE(numout,*) ' creep limit rn_creepl = ', rn_creepl ! also used by vp 140 WRITE(numout,*) ' eccentricity of the elliptical yield curve rn_ecc = ', rn_ecc ! also used by vp 133 141 WRITE(numout,*) ' number of iterations for subcycling nn_nevp = ', nn_nevp 134 142 WRITE(numout,*) ' ratio of elastic timescale over ice time step rn_relast = ', rn_relast 135 WRITE(numout,*) ' check convergence of rheology nn_rhg_chkcvg = ', nn_rhg_chkcvg 136 IF ( nn_rhg_chkcvg == 0 ) THEN ; WRITE(numout,*) ' no check' 137 ELSEIF( nn_rhg_chkcvg == 1 ) THEN ; WRITE(numout,*) ' check cvg at the main time step' 138 ELSEIF( nn_rhg_chkcvg == 2 ) THEN ; WRITE(numout,*) ' check cvg at both main and rheology time steps' 143 WRITE(numout,*) ' check convergence of rheology nn_rhg_chkcvg = ', nn_rhg_chkcvg 144 WRITE(numout,*) ' rheology VP (icedyn_rhg_VP) ln_rhg_VP = ', ln_rhg_VP 145 WRITE(numout,*) ' number of outer iterations nn_vp_nout = ', nn_vp_nout 146 WRITE(numout,*) ' number of inner iterations nn_vp_ninn = ', nn_vp_ninn 147 WRITE(numout,*) ' iteration step for convergence check nn_vp_chkcvg = ', nn_vp_chkcvg 148 IF( ln_rhg_EVP ) THEN 149 IF ( nn_rhg_chkcvg == 0 ) THEN ; WRITE(numout,*) ' no check cvg' 150 ELSEIF( nn_rhg_chkcvg == 1 ) THEN ; WRITE(numout,*) ' check cvg at the main time step' 151 ELSEIF( nn_rhg_chkcvg == 2 ) THEN ; WRITE(numout,*) ' check cvg at both main and rheology time steps' 152 ENDIF 139 153 ENDIF 140 154 WRITE(numout,*) ' rheology EAP (icedyn_rhg_eap) ln_rhg_EAP = ', ln_rhg_EAP … … 145 159 IF( ln_rhg_EVP ) THEN ; ioptio = ioptio + 1 ; nice_rhg = np_rhgEVP ; ENDIF 146 160 IF( ln_rhg_EAP ) THEN ; ioptio = ioptio + 1 ; nice_rhg = np_rhgEAP ; ENDIF 161 IF( ln_rhg_VP ) THEN ; ioptio = ioptio + 1 ; nice_rhg = np_rhgVP ; ENDIF 147 162 IF( ioptio /= 1 ) CALL ctl_stop( 'ice_dyn_rhg_init: choose one and only one ice rheology' ) 148 163 ! 149 164 IF( ln_rhg_EVP ) CALL rhg_evp_rst( 'READ' ) !* read or initialize all required files 150 165 IF( ln_rhg_EAP ) CALL rhg_eap_rst( 'READ' ) !* read or initialize all required files 166 ! no restart for VP as there is no explicit time dependency in the equation 151 167 ! 152 168 END SUBROUTINE ice_dyn_rhg_init
Note: See TracChangeset
for help on using the changeset viewer.