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:
819 bytes
|
Rev | Line | |
---|
[19049] | 1 | #Test Name: PigBalVel2
|
---|
[16044] | 2 | from model import *
|
---|
[21759] | 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 |
|
---|
[21759] | 10 |
|
---|
[16044] | 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.initialization.vx[:]=0.
|
---|
| 15 | md.initialization.vy[:]=0.
|
---|
| 16 | md=setflowequation(md,'SSA','all')
|
---|
[21759] | 17 | md.cluster=generic('name',gethostname(),'np',3)
|
---|
[21056] | 18 | md=solve(md,'Balancevelocity')
|
---|
[16044] | 19 |
|
---|
| 20 | # Fields and tolerances to track changes
|
---|
[18593] | 21 | field_names =['DrivingStressX','DrivingStressY','Vel']
|
---|
[16044] | 22 | field_tolerances=[1e-13,1e-13,1e-13]
|
---|
| 23 | field_values=[\
|
---|
[18593] | 24 | md.results.BalancevelocitySolution.DrivingStressX,\
|
---|
| 25 | md.results.BalancevelocitySolution.DrivingStressY,\
|
---|
[16044] | 26 | md.results.BalancevelocitySolution.Vel,\
|
---|
| 27 | ]
|
---|
Note:
See
TracBrowser
for help on using the repository browser.