[13975] | 1 | md=triangle(model(),'../Exp/Square.exp',180000.);
|
---|
[13258] | 2 | md=setmask(md,'all','');
|
---|
| 3 | md=parameterize(md,'../Par/SquareShelfConstrained.par');
|
---|
[13975] | 4 | md=extrude(md,3,2.);
|
---|
[13258] | 5 | md=setflowequation(md,'macayeal','all');
|
---|
| 6 | md.cluster=generic('name',oshostname(),'np',3);
|
---|
| 7 | md.autodiff.isautodiff=true;
|
---|
[13975] | 8 | md.verbose=verbose('autodiff',true);
|
---|
| 9 | md=solve(md,DiagnosticSolutionEnum());
|
---|
[13258] | 10 |
|
---|
| 11 | %Fields and tolerances to track changes
|
---|
| 12 | field_names ={'Vx','Vy','Vz','Vel','Pressure'};
|
---|
| 13 | field_tolerances={1e-13,1e-13,1e-13,1e-13,1e-13};
|
---|
| 14 | field_values={...
|
---|
| 15 | (md.results.DiagnosticSolution.Vx),...
|
---|
| 16 | (md.results.DiagnosticSolution.Vy),...
|
---|
| 17 | (md.results.DiagnosticSolution.Vz),...
|
---|
| 18 | (md.results.DiagnosticSolution.Vel),...
|
---|
| 19 | (md.results.DiagnosticSolution.Pressure),...
|
---|
| 20 | };
|
---|