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

Last change on this file since 21759 was 21759, checked in by Eric.Larour, 8 years ago

CHG: merged branch back to trunk-jpl 21754.

File size: 835 bytes
Line 
1#Test Name: PigStressFS
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/Pig.exp',20000.)
12md=setmask(md,'../Exp/PigShelves.exp','../Exp/PigIslands.exp')
13md=parameterize(md,'../Par/Pig.py')
14md.extrude(3,0.9)
15md=setflowequation(md,'FS','all')
16md.cluster=generic('name',gethostname(),'np',3)
17md=solve(md,'Stressbalance')
18
19# Fields and tolerances to track changes
20field_names =['Vx','Vy','Vz','Vel','Pressure']
21field_tolerances=[1e-09,1e-09,1e-09,1e-09,1e-09]
22field_values=[\
23 md.results.StressbalanceSolution.Vx,\
24 md.results.StressbalanceSolution.Vy,\
25 md.results.StressbalanceSolution.Vz,\
26 md.results.StressbalanceSolution.Vel,\
27 md.results.StressbalanceSolution.Pressure,\
28 ]
Note: See TracBrowser for help on using the repository browser.