Last change
on this file since 19049 was 19049, checked in by Mathieu Morlighem, 10 years ago |
NEW: test name is now included in the file itself so that people don't forget to include it
|
File size:
633 bytes
|
Line | |
---|
1 | %Test Name: SquareShelfConstrainedBalThic2d
|
---|
2 | md=triangle(model(),'../Exp/Square.exp',150000.);
|
---|
3 | md=setmask(md,'all','');
|
---|
4 | md=parameterize(md,'../Par/SquareShelfConstrained.par');
|
---|
5 | %Add boundary conditions on thickness on the border
|
---|
6 | pos=find(md.mesh.vertexonboundary);
|
---|
7 | md.balancethickness.spcthickness(pos)=md.geometry.thickness(pos);
|
---|
8 | md=setflowequation(md,'SSA','all');
|
---|
9 | md.cluster=generic('name',oshostname(),'np',3);
|
---|
10 | md=solve(md,BalancethicknessSolutionEnum());
|
---|
11 |
|
---|
12 | %Fields and tolerances to track changes
|
---|
13 | field_names ={'Thickness'};
|
---|
14 | field_tolerances={1e-13};
|
---|
15 | field_values={...
|
---|
16 | (md.results.BalancethicknessSolution.Thickness),...
|
---|
17 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.