source: issm/branches/trunk-jpl-damage/test/NightlyRun/test140.m@ 11427

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

added NR for enthalpy solution

File size: 706 bytes
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.timestepping.time_step=0;
7md.cluster=generic('name',oshostname(),'np',3);
8md.initialization.waterfraction=zeros(md.mesh.numberofvertices,1);
9%md=solve(md,ThermalSolutionEnum);
10md=solve(md,EnthalpySolutionEnum);
11
12%Fields and tolerances to track changes
13field_names ={'Enthalpy','Waterfraction','Temperature'};
14field_tolerances={1e-13,1e-13,1e-13};
15field_values={...
16 (md.results.EnthalpySolution.Enthalpy),...
17 (md.results.EnthalpySolution.Waterfraction),...
18 (md.results.EnthalpySolution.Temperature),...
19 };
Note: See TracBrowser for help on using the repository browser.