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

Last change on this file since 21341 was 21341, checked in by Mathieu Morlighem, 8 years ago

merged trunk-jpl and trunk for revision 21337

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