[11014] | 1 | md=triangle(model,'../Exp/SquareHole.exp','../Exp/Rifts.exp',50000);
|
---|
[5025] | 2 | md=meshprocessrifts(md,'../Exp/Square.exp');
|
---|
[9641] | 3 | md=setmask(md,'all','');
|
---|
[5025] | 4 | md=parameterize(md,'../Par/SquareShelf.par');
|
---|
[9664] | 5 | md=setflowequation(md,'macayeal','all');
|
---|
[8589] | 6 | md.cluster=generic('name',oshostname(),'np',3);
|
---|
[5119] | 7 |
|
---|
| 8 | %rift settings
|
---|
[9619] | 9 | md.rifts.riftstruct.fill=MelangeEnum();
|
---|
| 10 | md.rifts.riftstruct.fraction=0;
|
---|
[9744] | 11 | md.diagnostic.rift_penalty_lock=2;
|
---|
| 12 | md.diagnostic.rift_penalty_threshold=0;
|
---|
[9619] | 13 | md.rifts.riftstruct.fractionincrement=.1;
|
---|
[8295] | 14 | md=solve(md,DiagnosticSolutionEnum);
|
---|
[5098] | 15 |
|
---|
| 16 | %Fields and tolerances to track changes
|
---|
| 17 | field_names ={'Vx','Vy','Vel','Pressure'};
|
---|
[5618] | 18 | field_tolerances={1e-11,1e-11,1e-11,1e-11};
|
---|
[5098] | 19 | field_values={...
|
---|
[10976] | 20 | (md.results.DiagnosticSolution.Vx),...
|
---|
| 21 | (md.results.DiagnosticSolution.Vy),...
|
---|
| 22 | (md.results.DiagnosticSolution.Vel),...
|
---|
| 23 | (md.results.DiagnosticSolution.Pressure),...
|
---|
[5098] | 24 | };
|
---|