Changeset 23886


Ignore:
Timestamp:
04/22/19 20:53:33 (6 years ago)
Author:
seroussi
Message:

CHG: starting to put ice part in test4003

File:
1 edited

Legend:

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

    r23884 r23886  
    269269
    270270        %friction:
    271         md.friction.coefficient=30*ones(md.mesh.numberofvertices,1);
    272         pos=find(md.mask.groundedice_levelset<=0);
    273         md.friction.coefficient(pos)=0;
     271        md.friction.coefficient=0*ones(md.mesh.numberofvertices,1);
     272        pos=find(md.mask.groundedice_levelset>0);
     273        md.friction.coefficient(pos)=5;
    274274        md.friction.p=ones(md.mesh.numberofelements,1);
    275275        md.friction.q=ones(md.mesh.numberofelements,1);
    276276
    277277        %temperatures and surface mass balance:
    278         md.initialization.temperature=(273.15-20)*ones(md.mesh.numberofvertices,1);
     278        md.initialization.temperature=(273.15-22)*ones(md.mesh.numberofvertices,1);
    279279        md.initialization.pressure=md.materials.rho_ice*md.constants.g*(md.geometry.surface-md.geometry.base);
    280280        md.smb.mass_balance = [1*ones(md.mesh.numberofvertices,1); 1];
     
    302302
    303303        %get some flux at the ice divide:
    304         pos=find(md.mesh.lat==min(md.mesh.lat));
    305         md.stressbalance.spcvy(pos)=200;
     304        pos=find(md.mesh.y==min(md.mesh.y));
     305        md.masstransport.spcthickness(pos)=md.geometry.thickness(pos);
     306        md.stressbalance.vx(pos)=0;
     307        md.stressbalance.vy(pos)=1500;
    306308
    307309        %deal with boundaries, excluding icefront:
     
    309311        vertex_on_boundary(md.mesh.segments(:,1:2))=1;
    310312        pos=find(vertex_on_boundary & md.mask.groundedice_levelset<=0);
    311         md.stressbalance.spcvx(pos)=md.initialization.vx(pos);
    312         md.stressbalance.spcvy(pos)=md.initialization.vy(pos);
    313         md.stressbalance.spcvz(pos)=md.initialization.vz(pos);
    314         md.masstransport.spcthickness(pos)=md.geometry.thickness(pos);
     313        md.stressbalance.spcvx(pos)=0;
    315314
    316315        md.basalforcings.groundedice_melting_rate=zeros(md.mesh.numberofvertices,1);
     
    334333        md.timestepping.final_time=final_time;
    335334        md.timestepping.time_step=time_step;
    336         md.transient.isgroundingline=1;
     335        md.transient.isgroundingline=0;
    337336        md.transient.isthermal=0;
    338337        md.groundingline.migration='SubelementMigration';
    339         md.groundingline.melt_interpolation='SubelementMelt2';
     338        md.groundingline.melt_interpolation='NoMeltOnPartiallyFloating';
    340339        md.groundingline.friction_interpolation='SubelementFriction2';
    341340
     
    449448        md.transient.isthermal=0;
    450449        md.groundingline.migration='SubelementMigration';
    451         md.groundingline.melt_interpolation='SubelementMelt2';
     450        md.groundingline.melt_interpolation='NoMeltOnPartiallyFloating';
    452451        md.groundingline.friction_interpolation='SubelementFriction2';
    453452
Note: See TracChangeset for help on using the changeset viewer.