Changeset 24313 for issm/trunk/test/NightlyRun/test434.py
- Timestamp:
- 11/01/19 12:01:57 (5 years ago)
- Location:
- issm/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk
-
issm/trunk/test
- Property svn:mergeinfo changed
-
issm/trunk/test/NightlyRun/test434.py
r21729 r24313 1 1 #Test Name: SquareSheetShelfL1L2 2 import numpy as np3 2 from model import * 4 3 from socket import gethostname … … 10 9 from solve import * 11 10 12 md =triangle(model(),'../Exp/Square.exp',150000.)13 md =setmask(md,'../Exp/SquareShelf.exp','')14 md =parameterize(md,'../Par/SquareSheetShelf.py')15 md.extrude(4, 1.)16 md =setflowequation(md,'L1L2','all')17 md.cluster =generic('name',gethostname(),'np',3)18 md =solve(md,'Stressbalance')11 md = triangle(model(), '../Exp/Square.exp', 150000.) 12 md = setmask(md, '../Exp/SquareShelf.exp', '') 13 md = parameterize(md, '../Par/SquareSheetShelf.py') 14 md.extrude(4, 1.) 15 md = setflowequation(md, 'L1L2', 'all') 16 md.cluster = generic('name', gethostname(), 'np', 3) 17 md = solve(md, 'Stressbalance') 19 18 20 19 #Fields and tolerances to track changes 21 field_names =['Vx','Vy','Vz','Vel','Pressure'] 22 field_tolerances=[1e-06,1e-06,1e-06,1e-06,1e-07] 23 field_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 ] 20 field_names = ['Vx', 'Vy', 'Vz', 'Vel', 'Pressure'] 21 field_tolerances = [1e-06, 1e-06, 1e-06, 1e-06, 1e-07] 22 field_values = [md.results.StressbalanceSolution.Vx, 23 md.results.StressbalanceSolution.Vy, 24 md.results.StressbalanceSolution.Vz, 25 md.results.StressbalanceSolution.Vel, 26 md.results.StressbalanceSolution.Pressure]
Note:
See TracChangeset
for help on using the changeset viewer.