source: issm/trunk-jpl/test/NightlyRun/test3002.py@ 13967

Last change on this file since 13967 was 13967, checked in by jschierm, 12 years ago

CHG: Updated Python test problems for new results format.

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