Last change
on this file since 15686 was 15686, checked in by Mathieu Morlighem, 12 years ago |
NEW: added 4 tests for higher order finite elements HO and FS
|
File size:
661 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');
|
---|
| 6 | md.flowequation.fe_HO=2;
|
---|
| 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','Vz','Vel','Pressure'};
|
---|
| 12 | field_tolerances={1e-12,1e-12,1e-12,1e-12,1e-13};
|
---|
| 13 | field_values={...
|
---|
| 14 | (md.results.DiagnosticSolution.Vx),...
|
---|
| 15 | (md.results.DiagnosticSolution.Vy),...
|
---|
| 16 | (md.results.DiagnosticSolution.Vz),...
|
---|
| 17 | (md.results.DiagnosticSolution.Vel),...
|
---|
| 18 | (md.results.DiagnosticSolution.Pressure),...
|
---|
| 19 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.