source: issm/branches/trunk-larour-NatGeoScience2016/test/NightlyRun/test291.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: 879 bytes
Line 
1#Test Name: SquareShelfStressFSP4z
2from model import *
3from socket import gethostname
4from triangle import *
5from setmask import *
6from parameterize import *
7from setflowequation import *
8from solve import *
9
10from ContourToMesh import *
11
12md=triangle(model(),'../Exp/Square.exp',150000.)
13md=setmask(md,'all','')
14md=parameterize(md,'../Par/SquareShelf.py')
15md.extrude(2,1.)
16md=setflowequation(md,'FS','all')
17md.flowequation.fe_FS='OneLayerP4z'
18md.cluster=generic('name',gethostname(),'np',1)
19md=solve(md,'Stressbalance')
20
21#Fields and tolerances to track changes
22field_names =['Vx', 'Vy', 'Vz', 'Vel','Pressure']
23field_tolerances=[5e-5,5e-5,8e-5,5e-5,1e-7]
24field_values=[\
25 md.results.StressbalanceSolution.Vx,\
26 md.results.StressbalanceSolution.Vy,\
27 md.results.StressbalanceSolution.Vz,\
28 md.results.StressbalanceSolution.Vel,\
29 md.results.StressbalanceSolution.Pressure,\
30 ]
Note: See TracBrowser for help on using the repository browser.