source: issm/trunk/test/NightlyRun/test204.py@ 22758

Last change on this file since 22758 was 22758, checked in by Mathieu Morlighem, 7 years ago

merged trunk-jpl and trunk for revision 22757

File size: 991 bytes
Line 
1#Test Name: SquareShelfStressFS
2
3from model import *
4from socket import gethostname
5import numpy as np
6from triangle import *
7from setmask import *
8from parameterize import *
9from setflowequation import *
10from solve import *
11from generic import generic
12
13md=triangle(model(),'../Exp/Square.exp',180000)
14md=setmask(md,'all','')
15md=parameterize(md,'../Par/SquareShelf.py')
16md.extrude(3,2.)
17md=setflowequation(md,'FS','all')
18md.cluster=generic('name',gethostname(),'np',3)
19md.stressbalance.shelf_dampening=1
20md.timestepping.time_step=0
21md1=solve(md,'Stressbalance')
22md.stressbalance.shelf_dampening=0
23md=solve(md,'Stressbalance')
24
25
26# Fields and tolerances to track changes
27
28field_names =['Vx','Vy','Vz','Vel','Pressure']
29field_tolerances=[1e-08,1e-08,4e-06,1e-08,1e-08]
30field_values=[\
31 md.results.StressbalanceSolution.Vx,\
32 md.results.StressbalanceSolution.Vy,\
33 md.results.StressbalanceSolution.Vz,\
34 md.results.StressbalanceSolution.Vel,\
35 md.results.StressbalanceSolution.Pressure,\
36 ]
Note: See TracBrowser for help on using the repository browser.