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

Last change on this file was 23793, checked in by bdef, 6 years ago

pep8 compliance of NTs

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