source: issm/trunk-jpl/test/NightlyRun/test142.m@ 11812

Last change on this file since 11812 was 11812, checked in by seroussi, 13 years ago

NR: moved enthalpy transient into transient tests

File size: 1.2 KB
Line 
1md=triangle(model,'../Exp/Square.exp',180000);
2md=setmask(md,'all','');
3md=parameterize(md,'../Par/SquareShelfConstrained.par');
4md=extrude(md,3,1);
5md=setflowequation(md,'macayeal','all');
6md.cluster=generic('name',oshostname(),'np',3);
7md.initialization.waterfraction=zeros(md.mesh.numberofvertices,1);
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-10,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.