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