source: issm/branches/trunk-larour-NatGeoScience2016/test/NightlyRun/test3004.py@ 21759

Last change on this file since 21759 was 21759, checked in by Eric.Larour, 8 years ago

CHG: merged branch back to trunk-jpl 21754.

File size: 869 bytes
Line 
1#Test Name: SquareShelfConstrainedStressFSAdolc
2from model import *
3from socket import gethostname
4from triangle import *
5from setmask import *
6from parameterize import *
7from setflowequation import *
8from solve import *
9
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,'FS','all')
16md.cluster=generic('name',gethostname(),'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-08,1e-08,3e-07,1e-08,1e-08]
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.