source: issm/trunk-jpl/test/NightlyRun/test418.m@ 10937

Last change on this file since 10937 was 9703, checked in by Mathieu Morlighem, 14 years ago

renamed mesh setmesh for mesh class

File size: 2.7 KB
Line 
1md=setmesh(model,'../Exp/Square.exp',180000);
2md=setmask(md,'../Exp/SquareShelf.exp','');
3md=parameterize(md,'../Par/SquareSheetShelf.par');
4md=extrude(md,3,1);
5md=setflowequation(md,'macayeal','../Exp/SquareHalfRight.exp','fill','pattyn','coupling','penalties');
6md.cluster=generic('name',oshostname(),'np',3);
7md=solve(md,TransientSolutionEnum);
8
9%Fields and tolerances to track changes
10field_names ={'Vx1','Vy1','Vz1','Vel1','Pressure1','Bed1','Surface1','Thickness1','Temperature1','BasalforcingsMeltingRate1', ...
11 'Vx2','Vy2','Vz2','Vel2','Pressure2','Bed2','Surface2','Thickness2','Temperature2','BasalforcingsMeltingRate2', ...
12 'Vx3','Vy3','Vz3','Vel3','Pressure3','Bed3','Surface3','Thickness3','Temperature3','BasalforcingsMeltingRate3'};
13field_tolerances={...
14 1e-05,1e-05,1e-05,1e-05,1e-05,1e-05,1e-05,1e-05,1e-05,1e-05,...
15 1e-03,1e-03,1e-02,1e-03,1e-02,1e-04,1e-01,1e-03,1e-01,1e-01,...
16 1e-02,1e-02,1e-01,1e-02,1e-01,1e-04,1e-04,1e-04,1e-04,1e-01};
17field_values={...
18 PatchToVec(md.results.TransientSolution(1).Vx),...
19 PatchToVec(md.results.TransientSolution(1).Vy),...
20 PatchToVec(md.results.TransientSolution(1).Vz),...
21 PatchToVec(md.results.TransientSolution(1).Vel),...
22 PatchToVec(md.results.TransientSolution(1).Pressure),...
23 PatchToVec(md.results.TransientSolution(1).Bed),...
24 PatchToVec(md.results.TransientSolution(1).Surface),...
25 PatchToVec(md.results.TransientSolution(1).Thickness),...
26 PatchToVec(md.results.TransientSolution(1).Temperature),...
27 PatchToVec(md.results.TransientSolution(1).BasalforcingsMeltingRate),...
28 PatchToVec(md.results.TransientSolution(2).Vx),...
29 PatchToVec(md.results.TransientSolution(2).Vy),...
30 PatchToVec(md.results.TransientSolution(2).Vz),...
31 PatchToVec(md.results.TransientSolution(2).Vel),...
32 PatchToVec(md.results.TransientSolution(2).Pressure),...
33 PatchToVec(md.results.TransientSolution(2).Bed),...
34 PatchToVec(md.results.TransientSolution(2).Surface),...
35 PatchToVec(md.results.TransientSolution(2).Thickness),...
36 PatchToVec(md.results.TransientSolution(2).Temperature),...
37 PatchToVec(md.results.TransientSolution(2).BasalforcingsMeltingRate),...
38 PatchToVec(md.results.TransientSolution(3).Vx),...
39 PatchToVec(md.results.TransientSolution(3).Vy),...
40 PatchToVec(md.results.TransientSolution(3).Vz),...
41 PatchToVec(md.results.TransientSolution(3).Vel),...
42 PatchToVec(md.results.TransientSolution(3).Pressure),...
43 PatchToVec(md.results.TransientSolution(3).Bed),...
44 PatchToVec(md.results.TransientSolution(3).Surface),...
45 PatchToVec(md.results.TransientSolution(3).Thickness),...
46 PatchToVec(md.results.TransientSolution(3).Temperature),...
47 PatchToVec(md.results.TransientSolution(3).BasalforcingsMeltingRate),...
48 };
Note: See TracBrowser for help on using the repository browser.