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

Last change on this file since 21341 was 21341, checked in by Mathieu Morlighem, 8 years ago

merged trunk-jpl and trunk for revision 21337

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