source: issm/branches/trunk-larour-NatGeoScience2016/test/NightlyRun/test411.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: SquareSheetShelfSteaHO
[21759]2import numpy as np
[13679]3from model import *
[21759]4from socket import gethostname
5
[13679]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')
15md.extrude(3,2.)
[15565]16md=setflowequation(md,'HO','all')
[21759]17md.cluster=generic('name',gethostname(),'np',3)
[16472]18md.timestepping.time_step=0.
[21056]19md=solve(md,'Steadystate')
[13679]20
21#Fields and tolerances to track changes
[18068]22field_names =['Vx','Vy','Vz','Vel','Pressure','Temperature','BasalforcingsGroundediceMeltingRate']
[13679]23field_tolerances=[1e-09,1e-09,1e-08,1e-09,1e-09,1e-08,1e-05
24]
25field_values=[\
[13967]26 md.results.SteadystateSolution.Vx,\
27 md.results.SteadystateSolution.Vy,\
28 md.results.SteadystateSolution.Vz,\
29 md.results.SteadystateSolution.Vel,\
30 md.results.SteadystateSolution.Pressure,\
31 md.results.SteadystateSolution.Temperature,\
[18068]32 md.results.SteadystateSolution.BasalforcingsGroundediceMeltingRate,\
[13679]33 ]
Note: See TracBrowser for help on using the repository browser.