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

Last change on this file since 21049 was 21049, checked in by agscott1, 9 years ago

CHG: Replaced Enums with Strings in matlab and python. Updated corresponding cpp code.

File size: 1.1 KB
RevLine 
[19049]1%Test Name: SquareSheetShelfSteaEnthalpyHO
[13670]2md=triangle(model(),'../Exp/Square.exp',150000.);
[11591]3md=setmask(md,'../Exp/SquareShelf.exp','');
4md=parameterize(md,'../Par/SquareSheetShelf.par');
[13671]5md=extrude(md,3,2.);
[15565]6md=setflowequation(md,'HO','all');
[11591]7md.cluster=generic('name',oshostname(),'np',3);
[13681]8md.timestepping.time_step=0.;
[11591]9md.thermal.isenthalpy=1;
10md.initialization.waterfraction=zeros(md.mesh.numberofvertices,1);
[16039]11md.initialization.watercolumn=zeros(md.mesh.numberofvertices,1);
[21049]12md=solve(md,'SteadystateSolution');
[11591]13
14%Fields and tolerances to track changes
[18767]15field_names ={'Vx','Vy','Vz','Vel','Pressure','Temperature','Waterfraction','Enthalpy'};
[19868]16field_tolerances={3e-09,1e-09,1e-09,1e-09,1e-13,1e-10,3.2e-10,3e-9};
[11591]17field_values={...
18 (md.results.SteadystateSolution.Vx),...
19 (md.results.SteadystateSolution.Vy),...
20 (md.results.SteadystateSolution.Vz),...
21 (md.results.SteadystateSolution.Vel),...
22 (md.results.SteadystateSolution.Pressure),...
23 (md.results.SteadystateSolution.Temperature),...
[11604]24 (md.results.SteadystateSolution.Waterfraction),...
25 (md.results.SteadystateSolution.Enthalpy),...
[11591]26 };
Note: See TracBrowser for help on using the repository browser.