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