source: issm/trunk-jpl/test/NightlyRun/test461.m@ 11604

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

updated archives enthalpy (mission enthalpy and waterfraction vectors in solution)

File size: 965 bytes
Line 
1md=triangle(model,'../Exp/Square.exp',150000);
2md=setmask(md,'../Exp/SquareShelf.exp','');
3md=parameterize(md,'../Par/SquareSheetShelf.par');
4md=extrude(md,3,2);
5md=setflowequation(md,'macayeal','all');
6md.cluster=none;
7md.timestepping.time_step=0;
8md.thermal.isenthalpy=1;
9md.initialization.waterfraction=zeros(md.mesh.numberofvertices,1);
10md=solve(md,SteadystateSolutionEnum);
11
12%Fields and tolerances to track changes
13field_names ={'Vx','Vy','Vz','Vel','Pressure','Temperature','Water fraction','Enthalpy'};
14field_tolerances={1e-10,1e-10,1e-09,1e-10,1e-13,1e-10,1e-10,1e-10};
15field_values={...
16 (md.results.SteadystateSolution.Vx),...
17 (md.results.SteadystateSolution.Vy),...
18 (md.results.SteadystateSolution.Vz),...
19 (md.results.SteadystateSolution.Vel),...
20 (md.results.SteadystateSolution.Pressure),...
21 (md.results.SteadystateSolution.Temperature),...
22 (md.results.SteadystateSolution.Waterfraction),...
23 (md.results.SteadystateSolution.Enthalpy),...
24 };
Note: See TracBrowser for help on using the repository browser.