Last change
on this file since 11995 was 11995, checked in by Mathieu Morlighem, 13 years ago |
merged trunk-jpl and trunk for revision 11994M
|
File size:
644 bytes
|
Rev | Line | |
---|
[11585] | 1 | md=triangle(model,'../Exp/Square.exp',150000);
|
---|
| 2 | md=setmask(md,'../Exp/SquareShelf.exp','');
|
---|
| 3 | md=parameterize(md,'../Par/SquareSheetShelf.par');
|
---|
| 4 | md=setflowequation(md,'macayeal','all');
|
---|
| 5 | md.diagnostic.isnewton=1;
|
---|
| 6 | md.diagnostic.restol=0.0001;
|
---|
| 7 | md.cluster=generic('name',oshostname(),'np',3);
|
---|
| 8 | md=solve(md,DiagnosticSolutionEnum);
|
---|
| 9 |
|
---|
| 10 | %Fields and tolerances to track changes
|
---|
| 11 | field_names ={'Vx','Vy','Vel','Pressure'};
|
---|
| 12 | field_tolerances={1e-13,1e-13,1e-13,1e-13};
|
---|
| 13 | field_values={...
|
---|
| 14 | (md.results.DiagnosticSolution.Vx),...
|
---|
| 15 | (md.results.DiagnosticSolution.Vy),...
|
---|
| 16 | (md.results.DiagnosticSolution.Vel),...
|
---|
| 17 | (md.results.DiagnosticSolution.Pressure),...
|
---|
| 18 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.