source: issm/branches/trunk-larour-NatGeoScience2016/test/NightlyRun/test503.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: 835 bytes
RevLine 
[19049]1#Test Name: PigStressFS
[13657]2from model import *
[21759]3from socket import gethostname
[13657]4from triangle import *
5from setmask import *
6from parameterize import *
7from setflowequation import *
8from solve import *
9
[21759]10
[13663]11md=triangle(model(),'../Exp/Pig.exp',20000.)
[13657]12md=setmask(md,'../Exp/PigShelves.exp','../Exp/PigIslands.exp')
13md=parameterize(md,'../Par/Pig.py')
[13683]14md.extrude(3,0.9)
[15565]15md=setflowequation(md,'FS','all')
[21759]16md.cluster=generic('name',gethostname(),'np',3)
[21056]17md=solve(md,'Stressbalance')
[13657]18
19# Fields and tolerances to track changes
20field_names =['Vx','Vy','Vz','Vel','Pressure']
21field_tolerances=[1e-09,1e-09,1e-09,1e-09,1e-09]
22field_values=[\
[15771]23 md.results.StressbalanceSolution.Vx,\
24 md.results.StressbalanceSolution.Vy,\
25 md.results.StressbalanceSolution.Vz,\
26 md.results.StressbalanceSolution.Vel,\
27 md.results.StressbalanceSolution.Pressure,\
[13657]28 ]
Note: See TracBrowser for help on using the repository browser.