source: issm/branches/trunk-larour-NatGeoScience2016/test/NightlyRun/test318.py@ 21759

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: 1.0 KB
Line 
1#Test Name: SquareSheetConstrainedSteaSIA3d
2from model import *
3from socket import gethostname
4from triangle import *
5from setmask import *
6from parameterize import *
7from setflowequation import *
8from solve import *
9
10
11md=triangle(model(),'../Exp/Square.exp',180000.)
12md=setmask(md,'','')
13md=parameterize(md,'../Par/SquareSheetConstrained.py')
14md.extrude(4,1.)
15md=setflowequation(md,'SIA','all')
16md.cluster=generic('name',gethostname(),'np',3)
17md.timestepping.time_step=0
18md=solve(md,'Steadystate')
19
20#Fields and tolerances to track changes
21field_names =['Vx','Vy','Vz','Vel','Pressure','Temperature','BasalforcingsGroundediceMeltingRate']
22field_tolerances=[1e-13,1e-13,1.6e-10,1e-10,1e-13,1e-11,1e-6]
23field_values=[\
24 md.results.SteadystateSolution.Vx,\
25 md.results.SteadystateSolution.Vy,\
26 md.results.SteadystateSolution.Vz,\
27 md.results.SteadystateSolution.Vel,\
28 md.results.SteadystateSolution.Pressure,\
29 md.results.SteadystateSolution.Temperature,\
30 md.results.SteadystateSolution.BasalforcingsGroundediceMeltingRate,\
31 ]
Note: See TracBrowser for help on using the repository browser.