source: issm/trunk-jpl/test/NightlyRun/test111.py@ 21408

Last change on this file since 21408 was 21408, checked in by bdef, 8 years ago

CHG: uniformization fix

File size: 2.6 KB
RevLine 
[19049]1#Test Name: SquareShelfConstrainedTranHO
[13280]2from model import *
[21408]3from socket import gethostname
[13280]4from triangle import *
5from setmask import *
6from parameterize import *
7from setflowequation import *
8from solve import *
9
[21408]10
[13280]11md=triangle(model(),'../Exp/Square.exp',200000)
12md=setmask(md,'all','')
13md=parameterize(md,'../Par/SquareShelfConstrained.py')
[13672]14md.extrude(3,1.)
[15565]15md=setflowequation(md,'HO','all')
[21408]16md.cluster=generic('name',gethostname(),'np',3)
[16363]17md.transient.requested_outputs=['IceVolume']
[21056]18md=solve(md,'Transient')
[13280]19
20#Fields and tolerances to track changes
21field_names=[\
[18068]22 'Vx1','Vy1','Vz1','Vel1','Pressure1','Bed1','Surface2','Thickness1','Temperature1','BasalforcingsGroundediceMeltingRate1','Volume1', \
23 'Vx2','Vy2','Vz2','Vel2','Pressure2','Bed2','Surface2','Thickness2','Temperature2','BasalforcingsGroundediceMeltingRate2','Volume2', \
24 'Vx3','Vy3','Vz3','Vel3','Pressure3','Bed3','Surface3','Thickness3','Temperature3','BasalforcingsGroundediceMeltingRate3','Volume3']
[13280]25field_tolerances=[\
26 1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-05,1e-13,\
[15138]27 1e-09,1e-08,1e-08,1e-08,1e-09,1e-09,1e-09,1e-09,1e-09,1e-05,2e-11,\
28 1e-09,1e-08,1e-08,1e-08,1e-09,1e-09,1e-09,1e-09,1e-09,1e-05,1e-11]
[13280]29field_values=[\
[13967]30 md.results.TransientSolution[0].Vx,\
31 md.results.TransientSolution[0].Vy,\
32 md.results.TransientSolution[0].Vz,\
33 md.results.TransientSolution[0].Vel,\
34 md.results.TransientSolution[0].Pressure,\
[17555]35 md.results.TransientSolution[0].Base,\
[13967]36 md.results.TransientSolution[0].Surface,\
37 md.results.TransientSolution[0].Thickness,\
38 md.results.TransientSolution[0].Temperature,\
[18068]39 md.results.TransientSolution[0].BasalforcingsGroundediceMeltingRate,\
[13967]40 md.results.TransientSolution[0].IceVolume,\
41 md.results.TransientSolution[1].Vx,\
42 md.results.TransientSolution[1].Vy,\
43 md.results.TransientSolution[1].Vz,\
44 md.results.TransientSolution[1].Vel,\
45 md.results.TransientSolution[1].Pressure,\
[17555]46 md.results.TransientSolution[1].Base,\
[13967]47 md.results.TransientSolution[1].Surface,\
48 md.results.TransientSolution[1].Thickness,\
49 md.results.TransientSolution[1].Temperature,\
[18068]50 md.results.TransientSolution[1].BasalforcingsGroundediceMeltingRate,\
[13967]51 md.results.TransientSolution[1].IceVolume,\
52 md.results.TransientSolution[2].Vx,\
53 md.results.TransientSolution[2].Vy,\
54 md.results.TransientSolution[2].Vz,\
55 md.results.TransientSolution[2].Vel,\
56 md.results.TransientSolution[2].Pressure,\
[17555]57 md.results.TransientSolution[2].Base,\
[13967]58 md.results.TransientSolution[2].Surface,\
59 md.results.TransientSolution[2].Thickness,\
60 md.results.TransientSolution[2].Temperature,\
[18068]61 md.results.TransientSolution[2].BasalforcingsGroundediceMeltingRate,\
[13967]62 md.results.TransientSolution[2].IceVolume,\
[13280]63 ]
Note: See TracBrowser for help on using the repository browser.