Last change
on this file since 15922 was 15922, checked in by Mathieu Morlighem, 12 years ago |
CHG: now finite elements are specified as strings instead of integers
|
File size:
681 bytes
|
Rev | Line | |
---|
[15686] | 1 | md=triangle(model(),'../Exp/Square.exp',150000.);
|
---|
| 2 | md=setmask(md,'all','');
|
---|
| 3 | md=parameterize(md,'../Par/SquareShelf.par');
|
---|
| 4 | md=extrude(md,3,2.);
|
---|
| 5 | md=setflowequation(md,'HO','all');
|
---|
[15922] | 6 | md.flowequation.fe_HO='P2xP1';
|
---|
[15686] | 7 | md.cluster=generic('name',oshostname(),'np',3);
|
---|
[15771] | 8 | md=solve(md,StressbalanceSolutionEnum());
|
---|
[15686] | 9 |
|
---|
| 10 | %Fields and tolerances to track changes
|
---|
| 11 | field_names ={'Vx','Vy','Vz','Vel','Pressure'};
|
---|
[15693] | 12 | field_tolerances={1e-9,1e-9,1e-9,1e-9,1e-13};
|
---|
[15686] | 13 | field_values={...
|
---|
[15771] | 14 | (md.results.StressbalanceSolution.Vx),...
|
---|
| 15 | (md.results.StressbalanceSolution.Vy),...
|
---|
| 16 | (md.results.StressbalanceSolution.Vz),...
|
---|
| 17 | (md.results.StressbalanceSolution.Vel),...
|
---|
| 18 | (md.results.StressbalanceSolution.Pressure),...
|
---|
[15686] | 19 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.