[13394] | 1 | Index: /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/test/NightlyRun/test104.py
|
---|
| 2 | ===================================================================
|
---|
| 3 | --- /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/test/NightlyRun/test104.py (revision 0)
|
---|
| 4 | +++ /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/test/NightlyRun/test104.py (revision 13245)
|
---|
| 5 | @@ -0,0 +1,27 @@
|
---|
| 6 | +from model import *
|
---|
| 7 | +from triangle import *
|
---|
| 8 | +from setmask import *
|
---|
| 9 | +from parameterize import *
|
---|
| 10 | +from setflowequation import *
|
---|
| 11 | +from EnumDefinitions import *
|
---|
| 12 | +from solve import *
|
---|
| 13 | +from MatlabFuncs import *
|
---|
| 14 | +
|
---|
| 15 | +md=triangle(model(),'../Exp/Square.exp',180000)
|
---|
| 16 | +md=setmask(md,'all','')
|
---|
| 17 | +md=parameterize(md,'../Par/SquareShelfConstrained.py')
|
---|
| 18 | +md.extrude(3,2)
|
---|
| 19 | +md=setflowequation(md,'stokes','all')
|
---|
| 20 | +md.cluster=generic('name',oshostname(),'np',3)
|
---|
| 21 | +md=solve(md,DiagnosticSolutionEnum())
|
---|
| 22 | +
|
---|
| 23 | +#Fields and tolerances to track changes
|
---|
| 24 | +field_names =['Vx','Vy','Vz','Vel','Pressure']
|
---|
| 25 | +field_tolerances=[1e-08,1e-08,1e-07,1e-08,1e-08]
|
---|
| 26 | +field_values=[\
|
---|
| 27 | + md.results['DiagnosticSolution'][1]['Vx'],\
|
---|
| 28 | + md.results['DiagnosticSolution'][1]['Vy'],\
|
---|
| 29 | + md.results['DiagnosticSolution'][1]['Vz'],\
|
---|
| 30 | + md.results['DiagnosticSolution'][1]['Vel'],\
|
---|
| 31 | + md.results['DiagnosticSolution'][1]['Pressure'],\
|
---|
| 32 | + ]
|
---|