source: issm/trunk/test/NightlyRun/test302.py@ 24313

Last change on this file since 24313 was 24313, checked in by Mathieu Morlighem, 5 years ago

merged trunk-jpl and trunk for revision 24310

File size: 835 bytes
Line 
1#Test Name: SquareSheetConstrainedStressSIA2d
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', 150000.)
12md = setmask(md, '', '')
13md = parameterize(md, '../Par/SquareSheetConstrained.py')
14md = setflowequation(md, 'SIA', 'all')
15md.cluster = generic('name', gethostname(), 'np', 3)
16md = solve(md, 'Stressbalance')
17
18#Fields and tolerances to track changes
19field_names = ['Vx', 'Vy', 'Vel', 'Pressure']
20field_tolerances = [1e-13, 1e-13, 1e-13, 1e-13]
21field_values = [md.results.StressbalanceSolution.Vx,
22 md.results.StressbalanceSolution.Vy,
23 md.results.StressbalanceSolution.Vel,
24 md.results.StressbalanceSolution.Pressure]
Note: See TracBrowser for help on using the repository browser.