Changeset 2527


Ignore:
Timestamp:
10/23/09 15:29:39 (16 years ago)
Author:
seroussi
Message:

Updated ISMIP-HOM testF for actual ISSM

Location:
issm/trunk/test/Validation/ISMIP/TestF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/test/Validation/ISMIP/TestF/Square.par

    r1187 r2527  
    11%Ok, start defining model parameters here
    2 md.debug=1;
     2md.verbose=2;
    33
    44disp('      creating thickness');
     
    2222%Create grid on boundary fist (because we cannot use mesh)
    2323md=SetIceSheetBC(md);
    24 md.dirichletvalues_diag=ones(md.numberofgrids,1)*[200 0];
    25 %md.dirichletvalues_diag=ones(md.numberofgrids,1)*[100 0];
    26 %md.dirichletvalues_diag=zeros(md.numberofgrids,2);
     24md.spcvelocity(:,4)=100*ones(md.numberofgrids,1);
    2725md.vx=zeros(md.numberofgrids,1);
    2826md.vy=zeros(md.numberofgrids,1);
    2927md.vz=zeros(md.numberofgrids,1);
     28md.vel=zeros(md.numberofgrids,1);
    3029md.pressure=zeros(md.numberofgrids,1);
    3130md.temperature=255*ones(md.numberofgrids,1);
    32 md.gridondirichlet_prog=zeros(md.numberofgrids,1);
    3331pos=find(md.x==min(md.x) | md.x==max(md.x));
    34 md.gridondirichlet_prog(pos)=1;
    35 md.dirichletvalues_prog=md.thickness;
    36 md.gridondirichlet_thermal=zeros(md.numberofgrids,1);
     32md.spcthickness(pos,1)=1;
     33md.spcthickness(pos,2)=md.thickness(pos);
     34md.spctemperature=[ones(md.numberofgrids,1) 255*ones(md.numberofgrids,1)];
    3735
    3836%Parallel options
    39 md.connectivity=100;
     37md.connectivity=200;
    4038md.np=8;
    41 md.cluster='wilkes';
     39md.cluster='astrid';
    4240md.time=50;
    43 md.waitonlock=1;
    4441
    4542%Transient options
    46 md.dt=2.*md.yts;
    47 md.ndt=10*md.dt;
     43md.dt=1;
     44md.ndt=10;
    4845md.artificial_diffusivity=1;
  • issm/trunk/test/Validation/ISMIP/TestF/runme.m

    r1187 r2527  
    1818%Create dirichlet on the bed if no slip
    1919pos=find(md.gridonbed);
    20 md.gridondirichlet_diag(pos)=1;
    21 md.dirichletvalues_diag(pos,:)=0;
     20md.spcvelocity(pos,1:2)=1;
     21md.spcvelocity(pos,4:5)=0;
    2222
    2323%%Create MPCs to have periodic boundary conditions
Note: See TracChangeset for help on using the changeset viewer.