source: issm/oecreview/Archive/21724-22754/ISSM-22712-22713.diff

Last change on this file was 22755, checked in by Mathieu Morlighem, 7 years ago

CHG: added 21724-22754

File size: 1.8 KB
  • ../trunk-jpl/test/NightlyRun/test4002.m

     
    22%ISSM/MITgcm coupled set-up
    33%
    44%Script control parameters
    5 steps=[1 2 3 4 5 6 7 8 9 10 11];
    6 final_time=1;
     5steps=[1 2 3 4 5 6 7 8 9 10 11 12];
     6final_time=1/365;
    77
    88%Organizer
    99mkdir Models
     
    4242        MITgcmDeltaT=600; % MITgcm time step in seconds
    4343        y2s=31536000; % year to seconds conversion, i.e., seconds per year
    4444
    45         % start_time, final_time, and time_step
     45        % start_time and time_step
    4646        start_time=0; % in decimal years
    47         time_step=1/12; % coupling interval in decimal years
    48         async_step_MITgcm_multiplier=1/30; % used to reduce run time for MItgcm
     47        time_step=1/(365*24); % coupling interval in decimal years
     48        async_step_MITgcm_multiplier=1; % used to reduce run time for MItgcm
    4949
    5050        % bedrock/bathymetry
    5151        hmax=1000;
     
    845845        loaddata(org,'ParameterizeIce');
    846846        loaddata(org,'Bathymetry');
    847847        loaddata(org,'IceSheetGeometry');
    848         endtime = round(MITgcmDeltaT * ...
    849          floor(time_step*y2s*async_step_MITgcm_multiplier/MITgcmDeltaT));
     848        endtime = round(MITgcmDeltaT * floor(final_time*y2s/MITgcmDeltaT));
    850849
    851850        % {{{ prepare MITgcm
    852851        % rename previous run directory and create new one
     
    987986               
    988987        md.transient.isoceancoupling=1;
    989988        md.transient.isgroundingline=1;
    990         md.timestepping.coupling_time=1/12;
     989        md.timestepping.coupling_time=time_step;
     990        md.timestepping.time_step=time_step;
     991        md.timestepping.final_time=final_time;
    991992        md.cluster.npocean=nPx*nPy;
    992993        md.cluster.executionpath=[pwd '/run'];
    993994        md.masstransport.requested_outputs={'default','BasalforcingsFloatingiceMeltingRate'};
Note: See TracBrowser for help on using the repository browser.