source: issm/branches/trunk-jpl-damage/test/NightlyRun/test351.m@ 12004

Last change on this file since 12004 was 12004, checked in by cborstad, 13 years ago

merged trunk-jpl into trunk-jpl-damage through revision 11990

File size: 1.2 KB
Line 
1md=triangle(model,'../Exp/Square.exp',180000);
2md=setmask(md,'','');
3md=parameterize(md,'../Par/SquareSheetConstrained.par');
4md=extrude(md,3,1);
5md=setflowequation(md,'macayeal','all');
6md.initialization.waterfraction=zeros(md.mesh.numberofvertices,1);
7md.cluster=none;
8md.transient.isdiagnostic=0;
9md.transient.isprognostic=0;
10md.transient.isthermal=1;
11md.transient.isgroundingline=0;
12md.thermal.isenthalpy=1;
13md=solve(md,TransientSolutionEnum);
14
15%Fields and tolerances to track changes
16field_names ={'Enthalpy1','Waterfraction1','Temperature1',...
17 'Enthalpy2','Waterfraction2','Temperature2',...
18 'Enthalpy3','Waterfraction3','Temperature3'};
19field_tolerances={1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13};
20field_values={...
21 (md.results.TransientSolution(1).Enthalpy),...
22 (md.results.TransientSolution(1).Waterfraction),...
23 (md.results.TransientSolution(1).Temperature),...
24 (md.results.TransientSolution(2).Enthalpy),...
25 (md.results.TransientSolution(2).Waterfraction),...
26 (md.results.TransientSolution(2).Temperature),...
27 (md.results.TransientSolution(3).Enthalpy),...
28 (md.results.TransientSolution(3).Waterfraction),...
29 (md.results.TransientSolution(3).Temperature),...
30 };
Note: See TracBrowser for help on using the repository browser.