source: issm/trunk-jpl/test/NightlyRun/test464.py@ 22267

Last change on this file since 22267 was 22267, checked in by kruegern, 7 years ago

ADD: added python versions and dependecies for tests: 243,260,261,293,340,342,343,344,350,430,435,436,437,438,439,441,442,460,461,462,463,464,465,540,701,808,2424,2425

File size: 1.5 KB
Line 
1#Test Name: SquareSheetShelfAmrBamgIceFront
2import numpy as np
3from model import *
4from socket import gethostname
5from triangle import *
6from setmask import *
7from parameterize import *
8from setflowequation import *
9from solve import *
10
11md = triangle(model(),'../Exp/Square.exp',150000.)
12md = setmask(md,'../Exp/SquareShelf.exp','')
13md = parameterize(md,'../Par/SquareSheetShelf.py')
14md = setflowequation(md,'SSA','all')
15md.cluster = generic('name',gethostname(),'np',3)
16md.transient.isstressbalance = 1
17md.transient.ismasstransport = 1
18md.transient.issmb = 0
19md.transient.isthermal = 0
20md.transient.isgroundingline = 0
21#amr bamg settings, just ice front
22md.amr.hmin = 10000
23md.amr.hmax = 100000
24md.amr.fieldname = 'None'
25md.amr.keepmetric = 0
26md.amr.gradation = 1.2
27md.amr.groundingline_resolution = 12000
28md.amr.groundingline_distance = 0
29md.amr.icefront_resolution = 12000
30md.amr.icefront_distance = 100000
31md.amr.thicknesserror_resolution = 1000
32md.amr.thicknesserror_threshold = 0
33md.amr.deviatoricerror_resolution = 1000
34md.amr.deviatoricerror_threshold = 0
35md.transient.amr_frequency = 1
36md.timestepping.start_time = 0
37md.timestepping.final_time = 3
38md.timestepping.time_step = 1
39md = solve(md,'Transient')
40
41#Fields and tolerances to track changes
42field_names = ['Vx','Vy','Vel','Pressure']
43field_tolerances = [1e-13,1e-13,1e-13,1e-13]
44field_values = [
45 md.results.TransientSolution[2].Vx,
46 md.results.TransientSolution[2].Vy,
47 md.results.TransientSolution[2].Vel,
48 md.results.TransientSolution[2].Pressure,
49 ]
Note: See TracBrowser for help on using the repository browser.