Changeset 26452


Ignore:
Timestamp:
09/21/21 15:59:26 (3 years ago)
Author:
dmenemen
Message:

first attempt to modify test4003 for remeshing
has not been tested and debugged yet

Location:
issm/trunk-jpl/test
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/test/MITgcm/code_4003/SHELFICE_OPTIONS.h

    r24121 r26452  
    1616
    1717C     allow code for simple ISOMIP thermodynamics
    18 !#define ALLOW_ISOMIP_TD
     18#undef ALLOW_ISOMIP_TD
    1919
    2020C     allow friction velocity-dependent transfer coefficient
    2121C     following Holland and Jenkins, JPO, 1999
    2222#define SHI_ALLOW_GAMMAFRICT
    23 C     in uStar expression, use wet-point method to average velocity
    24 C     at grid-cell center
    25 !#define SHI_USTAR_WETPOINT
    2623
     24C     allow (vertical) remeshing whenever ocean top thickness factor
     25C     exceeds thresholds
    2726#define ALLOW_SHELFICE_REMESHING
    28 #define SHI_USTAR_TOPDR
    29 #undef ALLOW_SHELFICE_GROUNDED_ICE
     27C     and allow to print message to STDOUT when this happens
     28#define SHELFICE_REMESH_PRINT
    3029
    3130#endif /* ALLOW_SHELFICE */
  • TabularUnified issm/trunk-jpl/test/MITgcm/code_4003/packages.conf

    r24121 r26452  
    11gfd
    22shelfice
    3 streamice
    43obcs
    54diagnostics
  • TabularUnified issm/trunk-jpl/test/MITgcm/code_4003/shelfice_step_icemass.F

    r26449 r26452  
    4545C     i,j, bi,bj  :: loop indices
    4646      INTEGER bi,bj,i,j
     47      _RL  issm_density
     48      issm_density = 917.
    4749
    4850      IF ( SHELFICEMassStepping ) THEN
     
    6567        ENDDO
    6668#endif /* ALLOW_STREAMICE */
     69
     70       ELSEIF (useCoupler)
     71
     72#ifdef ALLOW_CPL_ISSM
     73        DO bj = myByLo(myThid), myByHi(myThid)
     74         DO bi = myBxLo(myThid), myBxHi(myThid)
     75          DO j=1-OLy,sNy+OLy-1
     76           DO i=1-OLx+1,sNx+OLx-1
     77             shelficeMass(i,j,bi,bj) =
     78     &        R_shelfIce(i,j,bi,bj) * issm_density
     79           ENDDO
     80          ENDDO
     81         ENDDO
     82        ENDDO
     83#endif /* ALLOW_CPL_ISSM */
    6784
    6885       ELSE
  • TabularUnified issm/trunk-jpl/test/MITgcm/coupling_rules.txt

    r22707 r26452  
    1111yC                     Nx*Ny       Real*8  10001006
    1212IceBase                Nx*Ny       Real*8  10001007
     13    (in m, 0 is sea level, negative is below sea level, 9999 is no ice,
     14     use density 917 kg/m^3)
    1315OceanMelt              Nx*Ny       Real*8  10001008
    1416
  • TabularUnified issm/trunk-jpl/test/NightlyRun/test4003.m

    r24862 r26452  
    44%Script control parameters
    55steps=1:11;
     6steps=1:5;
    67final_time=1/365;
    78
Note: See TracChangeset for help on using the changeset viewer.