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

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

CHG: do not request solution in solution string

File size: 896 bytes
Line 
1#Test Name: SquareShelfConstrainedStressSSA3dAdolc
2from model import *
3from triangle import *
4from setmask import *
5from parameterize import *
6from setflowequation import *
7from EnumDefinitions import *
8from solve import *
9from MatlabFuncs import *
10
11md=triangle(model(),'../Exp/Square.exp',180000.)
12md=setmask(md,'all','')
13md=parameterize(md,'../Par/SquareShelfConstrained.py')
14md.extrude(3,2.)
15md=setflowequation(md,'SSA','all')
16md.cluster=generic('name',oshostname(),'np',1)
17md.autodiff.isautodiff=True
18md=solve(md,'Stressbalance')
19
20#Fields and tolerances to track changes
21field_names =['Vx','Vy','Vz','Vel','Pressure']
22field_tolerances=[1e-13,1e-13,1e-13,1e-13,1e-13]
23field_values=[\
24 md.results.StressbalanceSolution.Vx,\
25 md.results.StressbalanceSolution.Vy,\
26 md.results.StressbalanceSolution.Vz,\
27 md.results.StressbalanceSolution.Vel,\
28 md.results.StressbalanceSolution.Pressure,\
29 ]
Note: See TracBrowser for help on using the repository browser.