Last change
on this file since 10937 was 9714, checked in by Mathieu Morlighem, 14 years ago |
moved some stuff to mesh
|
File size:
587 bytes
|
Line | |
---|
1 | md=setmesh(model,'../Exp/Square.exp',150000);
|
---|
2 | md=setmask(md,'all','');
|
---|
3 | md=parameterize(md,'../Par/SquareShelfConstrained.par');
|
---|
4 | md=extrude(md,5,1);
|
---|
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,'macayeal','all');
|
---|
9 | md.cluster=none;
|
---|
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 | PatchToVec(md.results.BalancethicknessSolution.Thickness),...
|
---|
17 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.