Last change
on this file since 10981 was 10981, checked in by Eric.Larour, 13 years ago |
merged trunk-jpl and trunk for revision 10980
|
File size:
602 bytes
|
Line | |
---|
1 | md=setmesh(model,'../Exp/Square.exp',180000);
|
---|
2 | md=setmask(md,'all','');
|
---|
3 | md=parameterize(md,'../Par/SquareShelf.par');
|
---|
4 | md=extrude(md,3,2);
|
---|
5 | md=setflowequation(md,'pattyn','all');
|
---|
6 | md.cluster=none;
|
---|
7 | md=solve(md,DiagnosticSolutionEnum);
|
---|
8 |
|
---|
9 | %Fields and tolerances to track changes
|
---|
10 | field_names ={'Vx','Vy','Vz','Vel','Pressure'};
|
---|
11 | field_tolerances={1e-13,1e-13,1e-13,1e-13,1e-13};
|
---|
12 | field_values={...
|
---|
13 | (md.results.DiagnosticSolution.Vx),...
|
---|
14 | (md.results.DiagnosticSolution.Vy),...
|
---|
15 | (md.results.DiagnosticSolution.Vz),...
|
---|
16 | (md.results.DiagnosticSolution.Vel),...
|
---|
17 | (md.results.DiagnosticSolution.Pressure),...
|
---|
18 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.