source: issm/branches/trunk-larour-NatGeoScience2016/test/NightlyRun/test3004.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: 862 bytes
Line 
1#Test Name: SquareShelfConstrainedStressFSAdolc
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,'FS','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-08,1e-08,3e-07,1e-08,1e-08]
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.