source: issm/branches/trunk-larour-NatGeoScience2016/test/NightlyRun/test318.py@ 21243

Last change on this file since 21243 was 21060, checked in by Mathieu Morlighem, 9 years ago

CHG: no more enums in python

File size: 1.0 KB
Line 
1#Test Name: SquareSheetConstrainedSteaSIA3d
2from model import *
3from triangle import *
4from setmask import *
5from parameterize import *
6from setflowequation import *
7from solve import *
8from MatlabFuncs import *
9
10md=triangle(model(),'../Exp/Square.exp',180000.)
11md=setmask(md,'','')
12md=parameterize(md,'../Par/SquareSheetConstrained.py')
13md.extrude(4,1.)
14md=setflowequation(md,'SIA','all')
15md.cluster=generic('name',oshostname(),'np',3)
16md.timestepping.time_step=0
17md=solve(md,'Steadystate')
18
19#Fields and tolerances to track changes
20field_names =['Vx','Vy','Vz','Vel','Pressure','Temperature','BasalforcingsGroundediceMeltingRate']
21field_tolerances=[1e-13,1e-13,1.6e-10,1e-10,1e-13,1e-11,1e-6]
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.BasalforcingsGroundediceMeltingRate,\
30 ]
Note: See TracBrowser for help on using the repository browser.