Changeset 3156


Ignore:
Timestamp:
03/02/10 13:13:32 (15 years ago)
Author:
seroussi
Message:

updated test with actual fields

Location:
issm/trunk/test/Validation/EISMINT/MassConservation
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/test/Validation/EISMINT/MassConservation/Square.par

    r900 r3156  
    66md.thickness=500*ones(md.numberofgrids,1);
    77md.firn_layer=0*ones(md.numberofgrids,1);
    8 md.bed=-di*md.thickness;
     8md.bed=-md.rho_ice/md.rho_water*md.thickness;
    99md.surface=md.bed+md.thickness;
    1010
     
    3333md=SetMarineIceSheetBC(md,'Front.exp');
    3434
     35disp('      initial velocity');
     36md.vx=zeros(md.numberofgrids,1);
     37md.vy=-400*ones(md.numberofgrids,1);
     38md.vz=zeros(md.numberofgrids,1);
     39
    3540%analytical test
    36 pos=find(md.y==200000); %grids on the upper boundary condition
    37 md.gridondirichlet_diag=ones(md.numberofgrids,1);
    38 md.dirichletvalues_diag(:,1)=0;
    39 md.dirichletvalues_diag(:,2)=-400;
     41md.spcvelocity(:,1:3)=1;
     42md.spcvelocity(:,4)=0;
     43md.spcvelocity(:,5)=-400;
     44md.spcvelocity(1,1)=0;
    4045
    4146%analytical test
    4247pos=find(md.y==200000); %grids on the upper boundary condition
    43 md.gridondirichlet_prog(pos)=1;
    44 md.dirichletvalues_prog(pos)=500;
     48md.spcthickness(pos,1)=1;
     49md.spcthickness(pos,2)=500;
  • issm/trunk/test/Validation/EISMINT/MassConservation/runme.m

    r899 r3156  
    11%This test is a test from the EISMINT for Ice shelves
    22% Vincent Rommelaere 1996
     3
     4cluster='none';
     5np=2;
    36
    47%The goal is to test the prognostic model
     
    1215md.ndt=500*md.yts;
    1316md.dt=5*md.yts;
    14 md.artificial_diffusivity=0; %Better result with no artificial diffusivity
     17md.artificial_diffusivity=1; %Better result with no artificial diffusivity
    1518
    1619%launch transient solution
    17 md=solve(md,'analysis_type','transient','package','ice');
     20md.cluster=cluster;
     21md.np=np;
     22md=solve(md,'analysis_type','transient');
    1823
    1924%plot results
Note: See TracChangeset for help on using the changeset viewer.