Rev | Line | |
---|
[4996] | 1 | md=mesh(model,'../Exp/Square.exp',180000);
|
---|
| 2 | md=geography(md,'../Exp/SquareShelf.exp','');
|
---|
| 3 | md=parameterize(md,'../Par/SquareSheetShelf.par');
|
---|
| 4 | md=extrude(md,3,1);
|
---|
[5432] | 5 | md=setelementstype(md,'stokes','all');
|
---|
[7096] | 6 | md=SetParallel(md,3);
|
---|
[5432] | 7 | md=solve(md,'analysis_type',DiagnosticSolutionEnum);
|
---|
[5098] | 8 |
|
---|
| 9 | %Fields and tolerances to track changes
|
---|
| 10 | field_names ={'Vx','Vy','Vz','Vel','Pressure'};
|
---|
[5101] | 11 | field_tolerances={1e-08,1e-08,1e-07,1e-08,1e-08};
|
---|
[5098] | 12 | field_values={...
|
---|
| 13 | PatchToVec(md.results.DiagnosticSolution.Vx),...
|
---|
| 14 | PatchToVec(md.results.DiagnosticSolution.Vy),...
|
---|
| 15 | PatchToVec(md.results.DiagnosticSolution.Vz),...
|
---|
| 16 | PatchToVec(md.results.DiagnosticSolution.Vel),...
|
---|
| 17 | PatchToVec(md.results.DiagnosticSolution.Pressure),...
|
---|
| 18 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.