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 12062 for NEMO/branches/2019/ENHANCE-02_ISF_nemo/src/OCE/ISF/isfhdiv.F90 – NEMO

Ignore:
Timestamp:
2019-12-05T10:57:46+01:00 (4 years ago)
Author:
mathiot
Message:

changes required by N.J. review

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/ENHANCE-02_ISF_nemo/src/OCE/ISF/isfhdiv.F90

    r11987 r12062  
    5151         IF ( ln_isfcpl .AND. kt /= 0 ) THEN 
    5252            ! 
    53             ! correct divergence only for the first time step 
     53            ! Dynamical stability at start up after change in under ice shelf cavity geometry is achieve by correcting the divergence. 
     54            ! This is achieved by applying a volume flux in order to keep the horizontal divergence after remapping  
     55            ! the same as at the end of the latest time step. So correction need to be apply at nit000 (euler time step) and 
     56            ! half of it at nit000+1 (leap frog time step). 
    5457            IF ( kt == nit000   ) CALL isf_hdiv_cpl(risfcpl_vol       , phdiv) 
    55             IF ( kt == nit000+1 ) CALL isf_hdiv_cpl(risfcpl_vol*0.5_wp, phdiv) 
     58            IF ( kt == nit000+1 ) CALL isf_hdiv_cpl(risfcpl_vol*0.5_wp, phdiv) ! risfcpl_vol*0.5_wp = 0.5 * (risfcpl_vol_b + risfcpl_vol_n) 
    5659            ! 
    5760            ! correct divergence every time step to remove any trend due to coupling 
Note: See TracChangeset for help on using the changeset viewer.