source: issm/trunk-jpl/test/NightlyRun/test257.m@ 11014

Last change on this file since 11014 was 11014, checked in by Mathieu Morlighem, 13 years ago

moved setmesh to triangle in all nightly runs

File size: 2.7 KB
RevLine 
[11014]1md=triangle(model,'../Exp/Square.exp',150000);
[9641]2md=setmask(md,'all','');
[8674]3md=parameterize(md,'../Par/SquareShelf.par');
[9664]4md=setflowequation(md,'macayeal','all');
[8674]5md.cluster=none;
6
[9628]7md.timestepping.time_step=1;
[9720]8md.settings.output_frequency=1;
[9628]9md.timestepping.final_time=4;
[8674]10
11%Set up transient
[9725]12smb = ones(md.mesh.numberofvertices,1)*3.6;
[8674]13smb=[ smb smb*2 ];
14
[9607]15md.surfaceforcings.mass_balance= smb;
16md.surfaceforcings.mass_balance(end+1,:)=[1.5 3];
[9682]17md.transient.isthermal=0;
[8674]18
19md=solve(md,TransientSolutionEnum);
20
21%Fields and tolerances to track changes
[9619]22field_names={'Vx1','Vy1','Vel1','Pressure1','Bed1','Surface1','Thickness1','SurfaceforcingsMassBalance1', ...
23 'Vx2','Vy2','Vel2','Pressure2','Bed2','Surface2','Thickness2','SurfaceforcingsMassBalance2', ...
24 'Vx3','Vy3','Vel3','Pressure3','Bed3','Surface3','Thickness3','SurfaceforcingsMassBalance3', ...
25 'Vx4','Vy4','Vel4','Pressure4','Bed4','Surface4','Thickness4','SurfaceforcingsMassBalance4'};
[8790]26field_tolerances={1e-09,1e-09,1e-10,1e-10,1e-10,1e-10,1e-10,1e-10,...
27 1e-09,1e-09,1e-10,1e-10,1e-10,1e-10,1e-10,1e-10,...
28 1e-09,1e-09,1e-10,1e-10,1e-10,1e-10,1e-10,1e-10,...
29 1e-09,1e-09,1e-10,1e-10,1e-10,1e-10,1e-10,1e-10};
30
[8674]31field_values={...
[10976]32 (md.results.TransientSolution(1).Vx),...
33 (md.results.TransientSolution(1).Vy),...
34 (md.results.TransientSolution(1).Vel),...
35 (md.results.TransientSolution(1).Pressure),...
36 (md.results.TransientSolution(1).Bed),...
37 (md.results.TransientSolution(1).Surface),...
38 (md.results.TransientSolution(1).Thickness),...
39 (md.results.TransientSolution(1).SurfaceforcingsMassBalance),...
40 (md.results.TransientSolution(2).Vx),...
41 (md.results.TransientSolution(2).Vy),...
42 (md.results.TransientSolution(2).Vel),...
43 (md.results.TransientSolution(2).Pressure),...
44 (md.results.TransientSolution(2).Bed),...
45 (md.results.TransientSolution(2).Surface),...
46 (md.results.TransientSolution(2).Thickness),...
47 (md.results.TransientSolution(2).SurfaceforcingsMassBalance),...
48 (md.results.TransientSolution(3).Vx),...
49 (md.results.TransientSolution(3).Vy),...
50 (md.results.TransientSolution(3).Vel),...
51 (md.results.TransientSolution(3).Pressure),...
52 (md.results.TransientSolution(3).Bed),...
53 (md.results.TransientSolution(3).Surface),...
54 (md.results.TransientSolution(3).Thickness),...
55 (md.results.TransientSolution(3).SurfaceforcingsMassBalance),...
56 (md.results.TransientSolution(4).Vx),...
57 (md.results.TransientSolution(4).Vy),...
58 (md.results.TransientSolution(4).Vel),...
59 (md.results.TransientSolution(4).Pressure),...
60 (md.results.TransientSolution(4).Bed),...
61 (md.results.TransientSolution(4).Surface),...
62 (md.results.TransientSolution(4).Thickness),...
63 (md.results.TransientSolution(4).SurfaceforcingsMassBalance),...
[8685]64 };
Note: See TracBrowser for help on using the repository browser.