Changeset 14850


Ignore:
Timestamp:
05/02/13 09:51:03 (12 years ago)
Author:
adhikari
Message:

CHG: upgraded gia benchmark experiment A1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/test/NightlyRun/test2051.m

    r14821 r14850  
    1 %GIA test, inspired on test101
    2 md=triangle(model(),'../Exp/Square.exp',100000.);
     1% Benchmark experiments (Figure A2a Ivins and James, 1999, Geophys. J. Int.)
     2md=triangle(model(),'../Exp/RoundFrontEISMINT.exp',100000.);
    33md=setmask(md,'','');
    4 md=parameterize(md,'../Par/SquareSheetConstrained.par');
    5 md.timestepping.start_time=2400000; %2,400 kyr
    6 md.timestepping.final_time=2500000; %2,400 kyr
    7 md.geometry.thickness=[zeros(md.mesh.numberofvertices+1,1), [md.geometry.thickness; 1e-4], [md.geometry.thickness; md.timestepping.start_time]];
    8 md.cluster=generic('name',oshostname(),'np',3);
     4md=parameterize(md,'../Par/GiaBenchmarksAB.par');
     5
     6%% indicate what you want to compute
     7md.gia.output_rates=1;           % just want "w" solution
     8md.gia.cross_section_shape=1;    % for square-edged x-section
     9
     10%% define loading history
     11md.timestepping.start_time=2002100; % after 2 kyr of deglaciation
     12md.timestepping.final_time=2500000; % 2,500 kyr
     13% In order to run Ivins1999 benchmarks, for now, we do things manually as follows:
     14% 1. numtimes is fixed to be five
     15% 2. final_time given above is hard-coded in "GiaDeflectionCorex.cpp"
     16% 3. evaluation time = start_time
     17% 4. define new load times, according to the chosen evaluation time (care that general load history is not altered). This is really important, because of #1 and also becasue of the fact that futre loading times are not recognized.
     18% 5. Ice thickness assoiated with evaluation time is actually the same at final_time
     19md.geometry.thickness=[...
     20        [md.geometry.thickness*0.0; 0.0],...
     21        [md.geometry.thickness; 1000],...
     22        [md.geometry.thickness; 2000000],...
     23        [md.geometry.thickness*0.0; 2000100],...
     24        [md.geometry.thickness*0.0; md.timestepping.start_time],...
     25        ];
     26
     27%% solve for GIA deflection
     28md.cluster=generic('name',oshostname(),'np',8);
    929md.verbose=verbose('1111111');
    1030md=solve(md,GiaSolutionEnum());
Note: See TracChangeset for help on using the changeset viewer.