source: issm/trunk-jpl/test/NightlyRun/test285.py@ 15771

Last change on this file since 15771 was 15771, checked in by Mathieu Morlighem, 12 years ago

CHG: Diagnostic is now Stressbalance

File size: 882 bytes
RevLine 
[15686]1from model import *
2from triangle import *
3from setmask import *
4from parameterize import *
5from setflowequation import *
6from EnumDefinitions import *
7from solve import *
8from MatlabFuncs import *
9from ContourToMesh import *
10
11md=triangle(model(),'../Exp/Square.exp',150000.);
12md=setmask(md,'all','');
13md=parameterize(md,'../Par/SquareShelf.py');
14md.extrude(3,2.)
15md=setflowequation(md,'HO','all');
16md.flowequation.fe_HO=1;
17md.cluster=generic('name',oshostname(),'np',3);
[15771]18md=solve(md,StressbalanceSolutionEnum());
[15686]19
20#Fields and tolerances to track changes
21field_names =['Vx', 'Vy', 'Vz', 'Vel','Pressure'];
[15735]22field_tolerances=[1e-08,1e-08,1e-08,1e-08,1e-13];
[15686]23field_values=[\
[15771]24 md.results.StressbalanceSolution.Vx,\
25 md.results.StressbalanceSolution.Vy,\
26 md.results.StressbalanceSolution.Vz,\
27 md.results.StressbalanceSolution.Vel,\
28 md.results.StressbalanceSolution.Pressure,\
[15686]29 ];
Note: See TracBrowser for help on using the repository browser.