source: issm/trunk/test/Validation/EISMINT/MassConservation/runme.m@ 899

Last change on this file since 899 was 899, checked in by Mathieu Morlighem, 16 years ago

fixed runmes.m

File size: 1016 bytes
Line 
1%This test is a test from the EISMINT for Ice shelves
2% Vincent Rommelaere 1996
3
4%The goal is to test the prognostic model
5md=model;
6md=mesh(md,'DomainOutline.exp',4550);
7md=geography(md,'all','');
8md=parameterize(md,'Square.par');
9md=setelementstype(md,'macayeal','all');
10
11%Evolution of the ice shelf
12md.ndt=500*md.yts;
13md.dt=5*md.yts;
14md.artificial_diffusivity=0; %Better result with no artificial diffusivity
15
16%launch transient solution
17md=solve(md,'analysis_type','transient','package','ice');
18
19%plot results
20plotmodel(md,'data',md.results.transient(end).thickness,'sectionvalue','CrossLine.exp')
21
22%Don't forget to add these lines in icetransient2d.m, just before the computation of the thickness to change the thickness on the upper boundary condition
23%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
24%pos=find(m_p.ys~=0);
25%m_p.ys(pos)=500+500/5*sin(2*pi*time/(200*md.yts))*ones(size(pos,1),1);
26%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Note: See TracBrowser for help on using the repository browser.