Last change
on this file since 21049 was 21049, checked in by agscott1, 9 years ago |
CHG: Replaced Enums with Strings in matlab and python. Updated corresponding cpp code.
|
File size:
629 bytes
|
Rev | Line | |
---|
[19049] | 1 | %Test Name: SquareShelfConstrainedBalThic2d
|
---|
[13670] | 2 | md=triangle(model(),'../Exp/Square.exp',150000.);
|
---|
[9641] | 3 | md=setmask(md,'all','');
|
---|
[4963] | 4 | md=parameterize(md,'../Par/SquareShelfConstrained.par');
|
---|
| 5 | %Add boundary conditions on thickness on the border
|
---|
[9714] | 6 | pos=find(md.mesh.vertexonboundary);
|
---|
[9691] | 7 | md.balancethickness.spcthickness(pos)=md.geometry.thickness(pos);
|
---|
[15565] | 8 | md=setflowequation(md,'SSA','all');
|
---|
[8589] | 9 | md.cluster=generic('name',oshostname(),'np',3);
|
---|
[21049] | 10 | md=solve(md,'BalancethicknessSolution');
|
---|
[5098] | 11 |
|
---|
| 12 | %Fields and tolerances to track changes
|
---|
| 13 | field_names ={'Thickness'};
|
---|
| 14 | field_tolerances={1e-13};
|
---|
| 15 | field_values={...
|
---|
[10976] | 16 | (md.results.BalancethicknessSolution.Thickness),...
|
---|
[5098] | 17 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.