source: issm/trunk-jpl/test/NightlyRun/test432.m@ 13663

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

CHG: cosmetics on matlab file (model -> model(); Enum -> Enum())

File size: 996 bytes
RevLine 
[11591]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,'pattyn','all');
6md.cluster=generic('name',oshostname(),'np',3);
7md.timestepping.time_step=0;
8md.thermal.isenthalpy=1;
9md.initialization.waterfraction=zeros(md.mesh.numberofvertices,1);
[13663]10md=solve(md,SteadystateSolutionEnum());
[11591]11
12%Fields and tolerances to track changes
[11604]13field_names ={'Vx','Vy','Vz','Vel','Pressure','Temperature','Water fraction','Enthalpy'};
[11609]14field_tolerances={1e-09,1e-09,1e-09,1e-09,1e-13,1e-10,1e-10,1e-10};
[11591]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),...
[11604]22 (md.results.SteadystateSolution.Waterfraction),...
23 (md.results.SteadystateSolution.Enthalpy),...
[11591]24 };
Note: See TracBrowser for help on using the repository browser.