source: issm/trunk/test/NightlyRun/test302.py@ 21341

Last change on this file since 21341 was 21341, checked in by Mathieu Morlighem, 8 years ago

merged trunk-jpl and trunk for revision 21337

File size: 763 bytes
Line 
1#Test Name: SquareSheetConstrainedStressSIA2d
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',150000.)
11md=setmask(md,'','')
12md=parameterize(md,'../Par/SquareSheetConstrained.py')
13md=setflowequation(md,'SIA','all')
14md.cluster=generic('name',oshostname(),'np',3)
15md=solve(md,'Stressbalance')
16
17#Fields and tolerances to track changes
18field_names =['Vx','Vy','Vel','Pressure']
19field_tolerances=[1e-13,1e-13,1e-13,1e-13]
20field_values=[\
21 md.results.StressbalanceSolution.Vx,\
22 md.results.StressbalanceSolution.Vy,\
23 md.results.StressbalanceSolution.Vel,\
24 md.results.StressbalanceSolution.Pressure,\
25 ]
Note: See TracBrowser for help on using the repository browser.