|
Last change
on this file since 21243 was 21060, checked in by Mathieu Morlighem, 9 years ago |
|
CHG: no more enums in python
|
|
File size:
782 bytes
|
| Line | |
|---|
| 1 | #Test Name: SquareShelfConstrainedMasstransp2dDGAdolc
|
|---|
| 2 | from model import *
|
|---|
| 3 | from triangle import *
|
|---|
| 4 | from meshconvert import *
|
|---|
| 5 | from setmask import *
|
|---|
| 6 | from parameterize import *
|
|---|
| 7 | from setflowequation import *
|
|---|
| 8 | from solve import *
|
|---|
| 9 | from MatlabFuncs import *
|
|---|
| 10 |
|
|---|
| 11 | md=triangle(model(),'../Exp/Square.exp',150000.)
|
|---|
| 12 | md=meshconvert(md)
|
|---|
| 13 | md=setmask(md,'all','')
|
|---|
| 14 | md=parameterize(md,'../Par/SquareShelfConstrained.py')
|
|---|
| 15 | md=setflowequation(md,'SSA','all')
|
|---|
| 16 | md.cluster=generic('name',oshostname(),'np',1)
|
|---|
| 17 | md.masstransport.stabilization=3
|
|---|
| 18 | md.masstransport.spcthickness=md.geometry.thickness
|
|---|
| 19 | md.autodiff.isautodiff=True
|
|---|
| 20 | md=solve(md,'Masstransport')
|
|---|
| 21 |
|
|---|
| 22 | #Fields and tolerances to track changes
|
|---|
| 23 | field_names =['Thickness']
|
|---|
| 24 | field_tolerances=[1e-13]
|
|---|
| 25 | field_values=[\
|
|---|
| 26 | md.results.MasstransportSolution.Thickness,\
|
|---|
| 27 | ]
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.