Changeset 3156
- Timestamp:
- 03/02/10 13:13:32 (15 years ago)
- Location:
- issm/trunk/test/Validation/EISMINT/MassConservation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/test/Validation/EISMINT/MassConservation/Square.par
r900 r3156 6 6 md.thickness=500*ones(md.numberofgrids,1); 7 7 md.firn_layer=0*ones(md.numberofgrids,1); 8 md.bed=- di*md.thickness;8 md.bed=-md.rho_ice/md.rho_water*md.thickness; 9 9 md.surface=md.bed+md.thickness; 10 10 … … 33 33 md=SetMarineIceSheetBC(md,'Front.exp'); 34 34 35 disp(' initial velocity'); 36 md.vx=zeros(md.numberofgrids,1); 37 md.vy=-400*ones(md.numberofgrids,1); 38 md.vz=zeros(md.numberofgrids,1); 39 35 40 %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;41 md.spcvelocity(:,1:3)=1; 42 md.spcvelocity(:,4)=0; 43 md.spcvelocity(:,5)=-400; 44 md.spcvelocity(1,1)=0; 40 45 41 46 %analytical test 42 47 pos=find(md.y==200000); %grids on the upper boundary condition 43 md. gridondirichlet_prog(pos)=1;44 md. dirichletvalues_prog(pos)=500;48 md.spcthickness(pos,1)=1; 49 md.spcthickness(pos,2)=500; -
issm/trunk/test/Validation/EISMINT/MassConservation/runme.m
r899 r3156 1 1 %This test is a test from the EISMINT for Ice shelves 2 2 % Vincent Rommelaere 1996 3 4 cluster='none'; 5 np=2; 3 6 4 7 %The goal is to test the prognostic model … … 12 15 md.ndt=500*md.yts; 13 16 md.dt=5*md.yts; 14 md.artificial_diffusivity= 0; %Better result with no artificial diffusivity17 md.artificial_diffusivity=1; %Better result with no artificial diffusivity 15 18 16 19 %launch transient solution 17 md=solve(md,'analysis_type','transient','package','ice'); 20 md.cluster=cluster; 21 md.np=np; 22 md=solve(md,'analysis_type','transient'); 18 23 19 24 %plot results
Note:
See TracChangeset
for help on using the changeset viewer.