source: issm/trunk-jpl/test/NightlyRun/test3002.py@ 21060

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

CHG: no more enums in python

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