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

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

pep8 compliance of NTs

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