[19049] | 1 | #Test Name: SquareSheetConstrainedSteaSIA3d
|
---|
[13643] | 2 | from model import *
|
---|
[21759] | 3 | from socket import gethostname
|
---|
[13643] | 4 | from triangle import *
|
---|
| 5 | from setmask import *
|
---|
| 6 | from parameterize import *
|
---|
| 7 | from setflowequation import *
|
---|
| 8 | from solve import *
|
---|
| 9 |
|
---|
[21759] | 10 |
|
---|
[13643] | 11 | md=triangle(model(),'../Exp/Square.exp',180000.)
|
---|
| 12 | md=setmask(md,'','')
|
---|
| 13 | md=parameterize(md,'../Par/SquareSheetConstrained.py')
|
---|
[13672] | 14 | md.extrude(4,1.)
|
---|
[15565] | 15 | md=setflowequation(md,'SIA','all')
|
---|
[21759] | 16 | md.cluster=generic('name',gethostname(),'np',3)
|
---|
[13643] | 17 | md.timestepping.time_step=0
|
---|
[21056] | 18 | md=solve(md,'Steadystate')
|
---|
[13643] | 19 |
|
---|
| 20 | #Fields and tolerances to track changes
|
---|
[18068] | 21 | field_names =['Vx','Vy','Vz','Vel','Pressure','Temperature','BasalforcingsGroundediceMeltingRate']
|
---|
[19187] | 22 | field_tolerances=[1e-13,1e-13,1.6e-10,1e-10,1e-13,1e-11,1e-6]
|
---|
[13643] | 23 | field_values=[\
|
---|
[13967] | 24 | md.results.SteadystateSolution.Vx,\
|
---|
| 25 | md.results.SteadystateSolution.Vy,\
|
---|
| 26 | md.results.SteadystateSolution.Vz,\
|
---|
| 27 | md.results.SteadystateSolution.Vel,\
|
---|
| 28 | md.results.SteadystateSolution.Pressure,\
|
---|
| 29 | md.results.SteadystateSolution.Temperature,\
|
---|
[18068] | 30 | md.results.SteadystateSolution.BasalforcingsGroundediceMeltingRate,\
|
---|
[13643] | 31 | ]
|
---|