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 14166 for NEMO/branches/NERC/NEMO_4.0.2_CO9_package_tides/src/OCE/SBC/sbctide.F90 – NEMO

Ignore:
Timestamp:
2020-12-13T20:36:10+01:00 (4 years ago)
Author:
dbyrne
Message:

Long period tide forcing, variable love number, new nodal equation 20 added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/NERC/NEMO_4.0.2_CO9_package_tides/src/OCE/SBC/sbctide.F90

    r12658 r14166  
    1616   USE ioipsl         ! NetCDF IPSL library 
    1717   USE lbclnk         ! ocean lateral boundary conditions (or mpp link) 
     18 
     19   USE bdytides ! davbyr - Access to love number 
    1820 
    1921   IMPLICIT NONE 
     
    108110 
    109111      DO jk = 1, nb_harmo 
    110          zcons = 0.7_wp * Wave(ntide(jk))%equitide * ftide(jk) 
     112         ! davbyr - Insert variable Love number where once was 0.7 
     113         zcons = dn_love_number * Wave(ntide(jk))%equitide * ftide(jk) 
     114         ! END davbyr 
    111115         DO ji = 1, jpi 
    112116            DO jj = 1, jpj 
     
    119123               IF    ( Wave(ntide(jk))%nutide == 1 )  THEN  ;  zcs = zcons * SIN( 2._wp*zlat ) 
    120124               ELSEIF( Wave(ntide(jk))%nutide == 2 )  THEN  ;  zcs = zcons * COS( zlat )**2 
     125               ! davbyr - Include long period tidal forcing 
     126               ELSEIF( Wave(ntide(jk))%nutide == 0 )  THEN  ;  zcs = zcons * (0.5_wp-1.5_wp*SIN(zlat)**2._wp) 
     127               ! END - davbyr 
    121128               ELSE                                         ;  zcs = 0._wp 
    122129               ENDIF 
Note: See TracChangeset for help on using the changeset viewer.