Last change
on this file since 9703 was 9703, checked in by Mathieu Morlighem, 14 years ago |
renamed mesh setmesh for mesh class
|
File size:
732 bytes
|
Rev | Line | |
---|
[9703] | 1 | md=setmesh(model,'../Exp/Square.exp',180000);
|
---|
[9641] | 2 | md=setmask(md,'','');
|
---|
[4975] | 3 | md=parameterize(md,'../Par/SquareSheetConstrained.par');
|
---|
| 4 | md=extrude(md,4,2);
|
---|
[9664] | 5 | md=setflowequation(md,'hutter','../Exp/SquareHalfRight.exp','fill','macayeal');
|
---|
[9656] | 6 | md.cluster=generic('name',oshostname(),'np',3);
|
---|
[8295] | 7 | md=solve(md,DiagnosticSolutionEnum);
|
---|
[5098] | 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 | 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.