Last change
on this file since 5955 was 5955, checked in by Eric.Larour, 14 years ago |
Converted to new way of setting cluster
|
File size:
596 bytes
|
Line | |
---|
1 | md=mesh(model,'../Exp/Square.exp',150000);
|
---|
2 | md=geography(md,'','');
|
---|
3 | md=parameterize(md,'../Par/SquareSheetConstrained.par');
|
---|
4 | md=setelementstype(md,'macayeal','all');
|
---|
5 | md.cluster=none;
|
---|
6 | md=solve(md,'analysis_type',DiagnosticSolutionEnum);
|
---|
7 |
|
---|
8 | %Fields and tolerances to track changes
|
---|
9 | field_names ={'Vx','Vy','Vel','Pressure'};
|
---|
10 | field_tolerances={1e-13,1e-13,1e-13,1e-13};
|
---|
11 | field_values={...
|
---|
12 | PatchToVec(md.results.DiagnosticSolution.Vx),...
|
---|
13 | PatchToVec(md.results.DiagnosticSolution.Vy),...
|
---|
14 | PatchToVec(md.results.DiagnosticSolution.Vel),...
|
---|
15 | PatchToVec(md.results.DiagnosticSolution.Pressure),...
|
---|
16 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.