source: issm/branches/trunk-larour-NatGeoScience2016/test/NightlyRun/test225.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: 2.5 KB
RevLine 
[19049]1#Test Name: SquareShelfStressHOTransientIncrNonHydro
[13580]2from model import *
[21759]3from socket import gethostname
[13580]4from triangle import *
5from setmask import *
6from parameterize import *
7from setflowequation import *
8from solve import *
9
[21759]10
[13580]11md=triangle(model(),'../Exp/Square.exp',200000.)
12md=setmask(md,'all','')
13md=parameterize(md,'../Par/SquareShelf.py')
[17590]14md.geometry.base=md.geometry.base+50.
[13580]15md.geometry.surface=md.geometry.surface+50.
[13672]16md.extrude(3,1.)
[15565]17md=setflowequation(md,'HO','all')
[21759]18md.cluster=generic('name',gethostname(),'np',3)
[15767]19md.masstransport.hydrostatic_adjustment='Incremental'
[21056]20md=solve(md,'Transient')
[13580]21
22#Fields and tolerances to track changes
[18068]23field_names =['Vx1','Vy1','Vz1','Vel1','Pressure1','Bed1','Surface1','Thickness1','Temperature1','BasalforcingsGroundediceMeltingRate1', \
24 'Vx2','Vy2','Vz2','Vel2','Pressure2','Bed2','Surface2','Thickness2','Temperature2','BasalforcingsGroundediceMeltingRate2', \
25 'Vx3','Vy3','Vz3','Vel3','Pressure3','Bed3','Surface3','Thickness3','Temperature3','BasalforcingsGroundediceMeltingRate3']
[13580]26field_tolerances=[\
27 1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-05,\
[15818]28 2e-09,1e-09,1e-08,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-05,\
[15647]29 1e-08,1e-08,1e-08,1e-08,1e-09,1e-09,1e-09,1e-09,1e-09,1e-05]
[13580]30field_values=[\
[13967]31 md.results.TransientSolution[0].Vx,\
32 md.results.TransientSolution[0].Vy,\
33 md.results.TransientSolution[0].Vz,\
34 md.results.TransientSolution[0].Vel,\
35 md.results.TransientSolution[0].Pressure,\
[17555]36 md.results.TransientSolution[0].Base,\
[13967]37 md.results.TransientSolution[0].Surface,\
38 md.results.TransientSolution[0].Thickness,\
39 md.results.TransientSolution[0].Temperature,\
[18068]40 md.results.TransientSolution[0].BasalforcingsGroundediceMeltingRate,\
[13967]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[2].Vx,\
52 md.results.TransientSolution[2].Vy,\
53 md.results.TransientSolution[2].Vz,\
54 md.results.TransientSolution[2].Vel,\
55 md.results.TransientSolution[2].Pressure,\
[17555]56 md.results.TransientSolution[2].Base,\
[13967]57 md.results.TransientSolution[2].Surface,\
58 md.results.TransientSolution[2].Thickness,\
59 md.results.TransientSolution[2].Temperature,\
[18068]60 md.results.TransientSolution[2].BasalforcingsGroundediceMeltingRate,\
[13580]61 ]
Note: See TracBrowser for help on using the repository browser.