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
|
Line | |
---|
1 | #Test Name: SquareSheetConstrainedStressSIA2d
|
---|
2 | from model import *
|
---|
3 | from triangle import *
|
---|
4 | from setmask import *
|
---|
5 | from parameterize import *
|
---|
6 | from setflowequation import *
|
---|
7 | from solve import *
|
---|
8 | from MatlabFuncs import *
|
---|
9 |
|
---|
10 | md=triangle(model(),'../Exp/Square.exp',150000.)
|
---|
11 | md=setmask(md,'','')
|
---|
12 | md=parameterize(md,'../Par/SquareSheetConstrained.py')
|
---|
13 | md=setflowequation(md,'SIA','all')
|
---|
14 | md.cluster=generic('name',oshostname(),'np',3)
|
---|
15 | md=solve(md,'Stressbalance')
|
---|
16 |
|
---|
17 | #Fields and tolerances to track changes
|
---|
18 | field_names =['Vx','Vy','Vel','Pressure']
|
---|
19 | field_tolerances=[1e-13,1e-13,1e-13,1e-13]
|
---|
20 | field_values=[\
|
---|
21 | md.results.StressbalanceSolution.Vx,\
|
---|
22 | md.results.StressbalanceSolution.Vy,\
|
---|
23 | md.results.StressbalanceSolution.Vel,\
|
---|
24 | md.results.StressbalanceSolution.Pressure,\
|
---|
25 | ]
|
---|
Note:
See
TracBrowser
for help on using the repository browser.