Skip to content

Commit 17ae590

Browse files
committed
Adding idealized radiative tendency forcing
1 parent b693b44 commit 17ae590

File tree

3 files changed

+27
-2
lines changed

3 files changed

+27
-2
lines changed

forcing.f90

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,26 @@ subroutine forcing
322322

323323
endif
324324

325+
!----------------------------------------------------------------------------
326+
! Temperature Tendency Forcing:
327+
! Simple Radiative Tendencies taken from Pauluis & Garner [2006]
328+
329+
if(doradtendency.and.time.gt.timelargescale) then
330+
331+
do k = 1,nzm
332+
do j=1,ny
333+
do i=1,nx
334+
if (tabs(i,j,k)>207.5) then
335+
t(i,j,k) = t(i,j,k) - dtn * troptend / 86400
336+
else
337+
t(i,j,k) = t(i,j,k) + dtn * (200 - tabs(i,j,k)) / (5*86400)
338+
end if
339+
end do
340+
end do
341+
end do
342+
343+
endif
344+
325345
!-------------------------------------------------------------------------------
326346

327347
if(.not.dosfcforcing.and.dodynamicocean) call sst_evolve()

params.f90

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ module params
134134
real:: bubble_dtemp = 0.
135135
real:: bubble_dq = 0.
136136

137-
! The following are added by Kuang Lab at Harvard
137+
!!!!! The following are added by Kuang Lab at Harvard !!!!!
138138

139139
! Options
140140
logical:: dompiensemble = .false. ! Subdomains defined in domains.f90 are run separately
@@ -146,5 +146,9 @@ module params
146146
real:: tperturbA = 1. ! Default perturbation 1 time positive
147147
real:: qperturbA = 1.
148148

149+
! Radiative tendencies as per Pauluis & Garner [2006]
150+
logical :: doradtendency = .false.
151+
real :: troptend = 1.5 ! Convective tendency in Pauluis & Garner [2006]
152+
149153

150154
end module params

setparm.f90

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ subroutine setparm
4747

4848
! Parameters added by Kuang Lab at Harvard
4949
NAMELIST /KUANG_PARAMS/ dompiensemble, &
50-
dolayerperturb, tperturbi, qperturbi, tperturbA, qperturbA ! linear response perturbation: layer by layer (Song Qiyu, 2022)
50+
dolayerperturb, tperturbi, qperturbi, tperturbA, qperturbA, &
51+
doradtendency, troptend
5152

5253
!bloss: Create dummy namelist, so that we can figure out error code
5354
! for a mising namelist. This lets us differentiate between

0 commit comments

Comments
 (0)