source: issm/trunk/test/NightlyRun/test510.py@ 16137

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

merged trunk-jpl and trunk for revision 16135

File size: 1020 bytes
Line 
1from model import *
2from triangle import *
3from setmask import *
4from parameterize import *
5from setflowequation import *
6from EnumDefinitions import *
7from solve import *
8from MatlabFuncs import *
9
10md=triangle(model(),'../Exp/Pig.exp',20000.)
11md=setmask(md,'../Exp/PigShelves.exp','../Exp/PigIslands.exp')
12md=parameterize(md,'../Par/Pig.py')
13md.extrude(2,1.)
14md=setflowequation(md,'FS','all')
15md.cluster=generic('name',oshostname(),'np',3)
16md.timestepping.time_step=0.
17md=solve(md,SteadystateSolutionEnum())
18
19# Fields and tolerances to track changes
20field_names =['Vx','Vy','Vz','Vel','Pressure','Temperature','BasalforcingsMeltingRate']
21field_tolerances=[1e-08,1e-08,1e-08,1e-08,1e-08,1e-08,1e-06]
22field_values=[\
23 md.results.SteadystateSolution.Vx,\
24 md.results.SteadystateSolution.Vy,\
25 md.results.SteadystateSolution.Vz,\
26 md.results.SteadystateSolution.Vel,\
27 md.results.SteadystateSolution.Pressure,\
28 md.results.SteadystateSolution.Temperature,\
29 md.results.SteadystateSolution.BasalforcingsMeltingRate,\
30 ]
Note: See TracBrowser for help on using the repository browser.