source: issm/trunk-jpl/test/NightlyRun/test429.py@ 15565

Last change on this file since 15565 was 15565, checked in by Mathieu Morlighem, 12 years ago

CHG: hutter-> SIA macayeal->SSA pattyn->HO stokes->FS

File size: 889 bytes
RevLine 
[13681]1import numpy
2from model import *
3from EnumDefinitions import *
4from MatlabFuncs import *
5from triangle import *
6from setmask import *
7from parameterize import *
8from setflowequation import *
9from solve import *
10
11md=triangle(model(),'../Exp/Square.exp',180000.)
12md=setmask(md,'../Exp/SquareShelf.exp','')
13md=parameterize(md,'../Par/SquareSheetShelf.py')
14md.extrude(5,1.)
[15565]15md=setflowequation(md,'HO','all')
[13681]16md.diagnostic.isnewton=1
17md.diagnostic.restol=0.0001
18md.cluster=generic('name',oshostname(),'np',3)
19md=solve(md,DiagnosticSolutionEnum())
20
21#Fields and tolerances to track changes
22field_names =['Vx','Vy','Vz','Vel','Pressure']
23field_tolerances=[1e-09,1e-09,1e-09,1e-09,1e-09]
24field_values=[\
[13967]25 md.results.DiagnosticSolution.Vx,\
26 md.results.DiagnosticSolution.Vy,\
27 md.results.DiagnosticSolution.Vz,\
28 md.results.DiagnosticSolution.Vel,\
29 md.results.DiagnosticSolution.Pressure,\
[13681]30 ]
Note: See TracBrowser for help on using the repository browser.