Last change
on this file since 10976 was 10976, checked in by Mathieu Morlighem, 13 years ago |
removed all PatchToVec not needed anymore as default is md.settings.results_as_patches = 0
|
File size:
544 bytes
|
Rev | Line | |
---|
[9703] | 1 | md=setmesh(model,'../Exp/Square.exp',150000);
|
---|
[9641] | 2 | md=setmask(md,'all','');
|
---|
[4963] | 3 | md=parameterize(md,'../Par/SquareShelfConstrained.par');
|
---|
[9664] | 4 | md=setflowequation(md,'macayeal','all');
|
---|
[5955] | 5 | md.cluster=none;
|
---|
[8295] | 6 | md=solve(md,DiagnosticSolutionEnum);
|
---|
[5096] | 7 |
|
---|
[5098] | 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={...
|
---|
[10976] | 12 | (md.results.DiagnosticSolution.Vx),...
|
---|
| 13 | (md.results.DiagnosticSolution.Vy),...
|
---|
| 14 | (md.results.DiagnosticSolution.Vel),...
|
---|
| 15 | (md.results.DiagnosticSolution.Pressure),...
|
---|
[5098] | 16 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.