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

Last change on this file since 3156 was 3156, checked in by seroussi, 15 years ago

updated test with actual fields

File size: 1.0 KB
Line 
1%This test is a test from the EISMINT for Ice shelves
2% Vincent Rommelaere 1996
3
4cluster='none';
5np=2;
6
7%The goal is to test the prognostic model
8md=model;
9md=mesh(md,'DomainOutline.exp',4550);
10md=geography(md,'all','');
11md=parameterize(md,'Square.par');
12md=setelementstype(md,'macayeal','all');
13
14%Evolution of the ice shelf
15md.ndt=500*md.yts;
16md.dt=5*md.yts;
17md.artificial_diffusivity=1; %Better result with no artificial diffusivity
18
19%launch transient solution
20md.cluster=cluster;
21md.np=np;
22md=solve(md,'analysis_type','transient');
23
24%plot results
25plotmodel(md,'data',md.results.transient(end).thickness,'sectionvalue','CrossLine.exp')
26
27%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
28%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
29%pos=find(m_p.ys~=0);
30%m_p.ys(pos)=500+500/5*sin(2*pi*time/(200*md.yts))*ones(size(pos,1),1);
31%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Note: See TracBrowser for help on using the repository browser.