source: issm/trunk-jpl/test/NightlyRun/test3002.py@ 21056

Last change on this file since 21056 was 21056, checked in by Mathieu Morlighem, 9 years ago

CHG: do not request solution in solution string

File size: 896 bytes
RevLine 
[19049]1#Test Name: SquareShelfConstrainedStressSSA3dAdolc
[13455]2from model import *
3from triangle import *
4from setmask import *
5from parameterize import *
6from setflowequation import *
[13900]7from EnumDefinitions import *
[13455]8from solve import *
[13900]9from MatlabFuncs import *
[13455]10
[13900]11md=triangle(model(),'../Exp/Square.exp',180000.)
[13455]12md=setmask(md,'all','')
13md=parameterize(md,'../Par/SquareShelfConstrained.py')
[13672]14md.extrude(3,2.)
[15565]15md=setflowequation(md,'SSA','all')
[14879]16md.cluster=generic('name',oshostname(),'np',1)
[13900]17md.autodiff.isautodiff=True
[21056]18md=solve(md,'Stressbalance')
[13455]19
[13900]20#Fields and tolerances to track changes
[13455]21field_names =['Vx','Vy','Vz','Vel','Pressure']
22field_tolerances=[1e-13,1e-13,1e-13,1e-13,1e-13]
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,\
[13455]29 ]
Note: See TracBrowser for help on using the repository browser.