source: issm/trunk-jpl/test/NightlyRun/test229.m@ 13670

Last change on this file since 13670 was 13670, checked in by Mathieu Morlighem, 12 years ago

CHG: added point at the end of triangle command, resolution is a float

File size: 2.7 KB
RevLine 
[13670]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=generic('name',oshostname(),'np',3);
6
[13580]7md.timestepping.time_step=1.;
[9720]8md.settings.output_frequency=1;
[13580]9md.timestepping.final_time=4.;
[8674]10
11%Set up transient
[13580]12smb=ones(md.mesh.numberofvertices,1)*3.6;
13smb=[ smb smb*2. ];
[8674]14
[13580]15md.surfaceforcings.mass_balance=smb;
16md.surfaceforcings.mass_balance(end+1,:)=[1.5 3.];
[9682]17md.transient.isthermal=0;
[8674]18
[13581]19md=solve(md,TransientSolutionEnum());
[8674]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};
[8674]30field_values={...
[10976]31 (md.results.TransientSolution(1).Vx),...
32 (md.results.TransientSolution(1).Vy),...
33 (md.results.TransientSolution(1).Vel),...
34 (md.results.TransientSolution(1).Pressure),...
35 (md.results.TransientSolution(1).Bed),...
36 (md.results.TransientSolution(1).Surface),...
37 (md.results.TransientSolution(1).Thickness),...
38 (md.results.TransientSolution(1).SurfaceforcingsMassBalance),...
39 (md.results.TransientSolution(2).Vx),...
40 (md.results.TransientSolution(2).Vy),...
41 (md.results.TransientSolution(2).Vel),...
42 (md.results.TransientSolution(2).Pressure),...
43 (md.results.TransientSolution(2).Bed),...
44 (md.results.TransientSolution(2).Surface),...
45 (md.results.TransientSolution(2).Thickness),...
46 (md.results.TransientSolution(2).SurfaceforcingsMassBalance),...
47 (md.results.TransientSolution(3).Vx),...
48 (md.results.TransientSolution(3).Vy),...
49 (md.results.TransientSolution(3).Vel),...
50 (md.results.TransientSolution(3).Pressure),...
51 (md.results.TransientSolution(3).Bed),...
52 (md.results.TransientSolution(3).Surface),...
53 (md.results.TransientSolution(3).Thickness),...
54 (md.results.TransientSolution(3).SurfaceforcingsMassBalance),...
55 (md.results.TransientSolution(4).Vx),...
56 (md.results.TransientSolution(4).Vy),...
57 (md.results.TransientSolution(4).Vel),...
58 (md.results.TransientSolution(4).Pressure),...
59 (md.results.TransientSolution(4).Bed),...
60 (md.results.TransientSolution(4).Surface),...
61 (md.results.TransientSolution(4).Thickness),...
62 (md.results.TransientSolution(4).SurfaceforcingsMassBalance),...
[8685]63 };
Note: See TracBrowser for help on using the repository browser.