Changeset 14123


Ignore:
Timestamp:
12/10/12 17:33:17 (12 years ago)
Author:
helsen
Message:

workshop update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/workshop/2012/Talks/13_IceBridge/runme.m

    r14029 r14123  
    11clear all;
    2 steps=[1:5];
     2steps=[1];
    33
    44%Location of SeaRISE dataset
     
    2121
    2222        %Mesh greenland without refinement in Jak basin
    23         %md=bamg(md,'hmax',400000,'hmin',5000,'gradation',1.7,'field',vel,'err',8);
    24         %plotmodel (md,'data','mesh');
    25         %return
     23        md=bamg(md,'hmax',400000,'hmin',5000,'gradation',1.7,'field',vel,'err',8);
     24        return
    2625       
    2726        %Refine mesh in the region of Jakobshavn (resolution = 1000 m)
     
    3029                './Exp_Par/Jak_outline.exp','node',1);
    3130        hmaxVertices(find(in))=1000;
    32        
    33         %Adapt the mesh to minimize error in velocity interpolation
    3431        md=bamg(md,'hmax',400000,'hmin',5000,'gradation',1.7,'field',vel,...
    3532                'err',8,'hmaxVertices',hmaxVertices);
    36         plotmodel (md,'data','mesh');
    3733
    3834        %convert x,y coordinates (Polar stereo) to lat/lon
     
    4743
    4844        md = setmask(md,'','');
    49         md = parameterize(md,'./Exp_Par/Greenland_solution.par');
     45        md = parameterize(md,'./Exp_Par/Greenland.par');
    5046        md = setflowequation(md,'macayeal','all');
    5147
    52         save ./Models/Greenland.Parameterization md;
     48        save ./Models/Greenland.Parameterization2 md;
    5349end
    5450
     
    134130        plotmodel(md,'data',md.results.TransientSolution(end).Vel,'caxis',[1e-1 6000],...
    135131                'log', 10, 'title', 'Velocity (m/y)','gridded',1, ...
    136                 'data', md.results.TransientSolution(1).SurfaceforcingsMassBalance, ...
     132                'data', md.results.TransientSolution(end).SurfaceforcingsMassBalance, ...
    137133                'title', 'Surface mass balance (m/y)','gridded',1, ...
    138134                'data',md.results.TransientSolution(end).Thickness,...
Note: See TracChangeset for help on using the changeset viewer.