Changeset 10290


Ignore:
Timestamp:
10/25/11 10:09:29 (13 years ago)
Author:
seroussi
Message:

minor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/test/NightlyRun/test446.m

    r10282 r10290  
    11radius=1e6;
    22shelfextent=2e5;
    3 resolution=.5e5;
    4 %mesh {{{1
    5 md=roundmesh(model,radius,resolution);
    63%fix center node to 0,0
    74rad=sqrt(md.mesh.x.^2+md.mesh.y.^2);
    85pos=find(rad==min(rad));
    96md.mesh.x(pos)=0; md.mesh.y(pos)=0; %the closest node to the center is changed to be exactly at the center
    10 %}}}
    11 %put our grounding line 'shelfextent' meters from the icefront {{{1
    127xelem=md.mesh.x(md.mesh.elements)*[1;1;1]/3;
    138yelem=md.mesh.y(md.mesh.elements)*[1;1;1]/3;
     
    1712flags(pos)=1;
    1813md=setmask(md,flags,'');
    19 %}}}
    2014md=parameterize(md,'../Par/RoundSheetShelf.par');
    2115md=setflowequation(md,'macayeal','all');
    2216md.cluster=generic('name',oshostname(),'np',3);
    23 %plug holes into the ice sheet, to test for grounding line migration. {{{1
     17%plug holes into the ice sheet, to test for grounding line migration.
    2418di=md.materials.rho_ice/md.materials.rho_water;
    25 rad=sqrt(md.mesh.x.^2+md.mesh.y.^2);
    2619pos=find(rad<200000);
    2720md.geometry.thickness(pos)=100;
     
    3831md.geometry.bed(pos)=-di*md.geometry.thickness(pos)-20;
    3932md.geometry.surface(pos)=md.geometry.bed(pos)+md.geometry.thickness(pos);
    40 %}}}
    4133
    4234%test different grounding line dynamics.
Note: See TracChangeset for help on using the changeset viewer.