source: issm/trunk-jpl/test/NightlyRun/test429.py@ 21408

Last change on this file since 21408 was 21408, checked in by bdef, 8 years ago

CHG: uniformization fix

File size: 927 bytes
RevLine 
[19049]1#Test Name: SquareSheetShelfStressHONewton
[21408]2import numpy as np
[13681]3from model import *
[21408]4from socket import gethostname
5
[13681]6from triangle import *
7from setmask import *
8from parameterize import *
9from setflowequation import *
10from solve import *
11
12md=triangle(model(),'../Exp/Square.exp',180000.)
13md=setmask(md,'../Exp/SquareShelf.exp','')
14md=parameterize(md,'../Par/SquareSheetShelf.py')
15md.extrude(5,1.)
[15565]16md=setflowequation(md,'HO','all')
[15771]17md.stressbalance.isnewton=1
18md.stressbalance.restol=0.0001
[21408]19md.cluster=generic('name',gethostname(),'np',3)
[21056]20md=solve(md,'Stressbalance')
[13681]21
22#Fields and tolerances to track changes
23field_names =['Vx','Vy','Vz','Vel','Pressure']
[15818]24field_tolerances=[2e-06,2e-06,1e-06,2e-06,1e-06]
[13681]25field_values=[\
[15771]26 md.results.StressbalanceSolution.Vx,\
27 md.results.StressbalanceSolution.Vy,\
28 md.results.StressbalanceSolution.Vz,\
29 md.results.StressbalanceSolution.Vel,\
30 md.results.StressbalanceSolution.Pressure,\
[13681]31 ]
Note: See TracBrowser for help on using the repository browser.