source: issm/trunk/test/NightlyRun/test117.py@ 16137

Last change on this file since 16137 was 16137, checked in by Mathieu Morlighem, 11 years ago

merged trunk-jpl and trunk for revision 16135

File size: 808 bytes
Line 
1import numpy
2from model import *
3from triangle import *
4from setmask import *
5from parameterize import *
6from setflowequation import *
7from EnumDefinitions import *
8from solve import *
9from MatlabFuncs import *
10
11md=triangle(model(),'../Exp/Square.exp',150000)
12md=setmask(md,'all','')
13md=parameterize(md,'../Par/SquareShelfConstrained.py')
14md.extrude(5,1.)
15#Add boundary conditions on thickness on the border
16pos=numpy.nonzero(md.mesh.vertexonboundary)
17md.balancethickness.spcthickness[pos]=md.geometry.thickness[pos]
18md=setflowequation(md,'SSA','all')
19md.cluster=generic('name',oshostname(),'np',3)
20md=solve(md,BalancethicknessSolutionEnum())
21
22#Fields and tolerances to track changes
23field_names =['Thickness']
24field_tolerances=[1e-13]
25field_values=[\
26 md.results.BalancethicknessSolution.Thickness,\
27 ]
Note: See TracBrowser for help on using the repository browser.