Last change
on this file was 24313, checked in by Mathieu Morlighem, 5 years ago |
merged trunk-jpl and trunk for revision 24310
|
File size:
810 bytes
|
Rev | Line | |
---|
[19105] | 1 | #Test Name: PigBalVel1
|
---|
[16044] | 2 | from model import *
|
---|
[21729] | 3 | from socket import gethostname
|
---|
[16044] | 4 | from triangle import *
|
---|
| 5 | from setmask import *
|
---|
| 6 | from parameterize import *
|
---|
| 7 | from setflowequation import *
|
---|
| 8 | from solve import *
|
---|
| 9 |
|
---|
[21729] | 10 |
|
---|
[24313] | 11 | md = triangle(model(), '../Exp/Pig.exp', 20000.)
|
---|
| 12 | md = setmask(md, '../Exp/PigShelves.exp', '../Exp/PigIslands.exp')
|
---|
| 13 | md = parameterize(md, '../Par/Pig.py')
|
---|
| 14 | md = setflowequation(md, 'SSA', 'all')
|
---|
| 15 | md.cluster = generic('name', gethostname(), 'np', 3)
|
---|
| 16 | md = solve(md, 'Balancevelocity')
|
---|
[16044] | 17 |
|
---|
| 18 | # Fields and tolerances to track changes
|
---|
[24313] | 19 | field_names = ['DrivingStressX', 'DrivingStressY', 'Vel']
|
---|
| 20 | field_tolerances = [1e-13, 1e-13, 1e-13]
|
---|
| 21 | field_values = [md.results.BalancevelocitySolution.DrivingStressX,
|
---|
| 22 | md.results.BalancevelocitySolution.DrivingStressY,
|
---|
| 23 | md.results.BalancevelocitySolution.Vel]
|
---|
Note:
See
TracBrowser
for help on using the repository browser.