- Timestamp:
- 2020-06-24T14:38:26+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_r12527_Gurvan_ShallowWater/src/OCE/TRA/traisf.F90
r12377 r13151 11 11 !!---------------------------------------------------------------------- 12 12 USE isf_oce ! Ice shelf variables 13 USE dom_oce , ONLY : e3t, r1_e1e2t! ocean space domain variables13 USE dom_oce ! ocean space domain variables 14 14 USE isfutils, ONLY : debug ! debug option 15 15 USE timing , ONLY : timing_start, timing_stop ! Timing … … 23 23 !! * Substitutions 24 24 # include "do_loop_substitute.h90" 25 # include "domzgr_substitute.h90" 25 26 !!---------------------------------------------------------------------- 26 27 !! NEMO/OCE 4.0 , NEMO Consortium (2018) … … 33 34 !!---------------------------------------------------------------------- 34 35 !! *** ROUTINE tra_isf *** 35 !! 36 !! 36 37 !! ** Purpose : Compute the temperature trend due to the ice shelf melting (qhoce + qhc) 37 38 !! … … 61 62 ! 62 63 ! Dynamical stability at start up after change in under ice shelf cavity geometry is achieve by correcting the divergence. 63 ! This is achieved by applying a volume flux in order to keep the horizontal divergence after remapping 64 ! This is achieved by applying a volume flux in order to keep the horizontal divergence after remapping 64 65 ! the same as at the end of the latest time step. So correction need to be apply at nit000 (euler time step) and 65 66 ! half of it at nit000+1 (leap frog time step). … … 89 90 !! *** Purpose : Compute the temperature trend due to the ice shelf melting (qhoce + qhc) for cav or par case 90 91 !! 91 !! *** Action :: Update pts(:,:,:,:,Krhs) with the surface boundary condition trend 92 !! *** Action :: Update pts(:,:,:,:,Krhs) with the surface boundary condition trend 92 93 !! 93 94 !!---------------------------------------------------------------------- … … 98 99 REAL(wp), DIMENSION(jpi,jpj,jpts), INTENT(in ) :: ptsc , ptsc_b 99 100 !!---------------------------------------------------------------------- 100 INTEGER :: ji,jj,jk ! loop index 101 INTEGER :: ji,jj,jk ! loop index 101 102 INTEGER :: ikt, ikb ! top and bottom level of the tbl 102 103 REAL(wp), DIMENSION(jpi,jpj) :: ztc ! total ice shelf tracer trend … … 117 118 END DO 118 119 ! 119 ! level partially include in ice shelf boundary layer 120 ! level partially include in ice shelf boundary layer 120 121 pts(ji,jj,ikb,jp_tem) = pts(ji,jj,ikb,jp_tem) + ztc(ji,jj) * pfrac(ji,jj) 121 122 ! … … 128 129 !! *** ROUTINE tra_isf_cpl *** 129 130 !! 130 !! *** Action :: Update pts(:,:,:,:,Krhs) with the ice shelf coupling trend 131 !! *** Action :: Update pts(:,:,:,:,Krhs) with the ice shelf coupling trend 131 132 !! 132 133 !!---------------------------------------------------------------------- … … 140 141 ! 141 142 DO jk = 1,jpk 142 ptsa(:,:,jk,jp_tem) = ptsa(:,:,jk,jp_tem) + ptsc(:,:,jk,jp_tem) * r1_e1e2t(:,:) / e3t(:,:,jk,Kmm) 143 ptsa(:,:,jk,jp_sal) = ptsa(:,:,jk,jp_sal) + ptsc(:,:,jk,jp_sal) * r1_e1e2t(:,:) / e3t(:,:,jk,Kmm) 143 ptsa(:,:,jk,jp_tem) = & 144 & ptsa(:,:,jk,jp_tem) + ptsc(:,:,jk,jp_tem) * r1_e1e2t(:,:) / e3t(:,:,jk,Kmm) 145 ptsa(:,:,jk,jp_sal) = & 146 & ptsa(:,:,jk,jp_sal) + ptsc(:,:,jk,jp_sal) * r1_e1e2t(:,:) / e3t(:,:,jk,Kmm) 144 147 END DO 145 148 !
Note: See TracChangeset
for help on using the changeset viewer.