source: issm/trunk-jpl/test/NightlyRun/test428.py@ 21056

Last change on this file since 21056 was 21056, checked in by Mathieu Morlighem, 9 years ago

CHG: do not request solution in solution string

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