source: issm/branches/trunk-larour-NatGeoScience2016/test/NightlyRun/test503.py@ 21243

Last change on this file since 21243 was 21060, checked in by Mathieu Morlighem, 9 years ago

CHG: no more enums in python

File size: 828 bytes
Line 
1#Test Name: PigStressFS
2from model import *
3from triangle import *
4from setmask import *
5from parameterize import *
6from setflowequation import *
7from solve import *
8from MatlabFuncs import *
9
10md=triangle(model(),'../Exp/Pig.exp',20000.)
11md=setmask(md,'../Exp/PigShelves.exp','../Exp/PigIslands.exp')
12md=parameterize(md,'../Par/Pig.py')
13md.extrude(3,0.9)
14md=setflowequation(md,'FS','all')
15md.cluster=generic('name',oshostname(),'np',3)
16md=solve(md,'Stressbalance')
17
18# Fields and tolerances to track changes
19field_names =['Vx','Vy','Vz','Vel','Pressure']
20field_tolerances=[1e-09,1e-09,1e-09,1e-09,1e-09]
21field_values=[\
22 md.results.StressbalanceSolution.Vx,\
23 md.results.StressbalanceSolution.Vy,\
24 md.results.StressbalanceSolution.Vz,\
25 md.results.StressbalanceSolution.Vel,\
26 md.results.StressbalanceSolution.Pressure,\
27 ]
Note: See TracBrowser for help on using the repository browser.