Last change
on this file since 21149 was 21149, checked in by ayfeng, 9 years ago |
CHG: Change calls to solve to accomodate removal of Enum
|
File size:
574 bytes
|
Line | |
---|
1 | //Test Name: SquareShelfStressSSA2d
|
---|
2 | var md = new model();
|
---|
3 | triangle(md,square[0],150000.);
|
---|
4 | setmask(md,'all','');
|
---|
5 | parameterize(md);
|
---|
6 | setflowequation(md,'SSA','all');
|
---|
7 | //md.cluster=generic('name',oshostname(),'np',3);
|
---|
8 | md=solve(md,'Stressbalance');
|
---|
9 |
|
---|
10 | //Fields and tolerances to track changes
|
---|
11 | field_names =['Vx','Vy','Vel','Pressure'];
|
---|
12 | field_tolerances=[1e-13,1e-13,1e-13,1e-13];
|
---|
13 | field_values=[
|
---|
14 | (md.results.StressbalanceSolution[0].Vx),
|
---|
15 | (md.results.StressbalanceSolution[0].Vy),
|
---|
16 | (md.results.StressbalanceSolution[0].Vel),
|
---|
17 | (md.results.StressbalanceSolution[0].Pressure),
|
---|
18 | ];
|
---|
Note:
See
TracBrowser
for help on using the repository browser.