[20500] | 1 | %Test Name: SquareSheetShelfTranSSA3d
|
---|
[13975] | 2 | md=triangle(model(),'../Exp/Square.exp',150000.);
|
---|
[9641] | 3 | md=setmask(md,'../Exp/SquareShelf.exp','');
|
---|
[4996] | 4 | md=parameterize(md,'../Par/SquareSheetShelf.par');
|
---|
[20500] | 5 | md=extrude(md,3,1);
|
---|
| 6 | md.transient.isthermal=0;
|
---|
[16137] | 7 | md=setflowequation(md,'SSA','all');
|
---|
[8589] | 8 | md.cluster=generic('name',oshostname(),'np',3);
|
---|
[20500] | 9 | md.transient.requested_outputs={'default','GroundedArea','FloatingArea','TotalFloatingBmb','TotalGroundedBmb','TotalSmb'};
|
---|
[13975] | 10 | md=solve(md,TransientSolutionEnum());
|
---|
[5098] | 11 |
|
---|
| 12 | %Fields and tolerances to track changes
|
---|
[20500] | 13 | field_names ={'Vx1','Vy1','Vel1','Pressure1','Bed1','Surface1','Thickness1','GroundedArea1','FloatingArea1','TotalFloatingBmb1','TotalGroundedBmb1','TotalSmb1',...
|
---|
| 14 | 'Vx2','Vy2','Vel2','Pressure2','Bed2','Surface2','Thickness2','GroundedArea2','FloatingArea2','TotalFloatingBmb2','TotalGroundedBmb2','TotalSmb2',...
|
---|
| 15 | 'Vx3','Vy3','Vel3','Pressure3','Bed3','Surface3','Thickness3','GroundedArea3','FloatingArea3','TotalFloatingBmb3','TotalGroundedBmb3','TotalSmb3'};
|
---|
| 16 | field_tolerances={1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,...
|
---|
| 17 | 1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,...
|
---|
| 18 | 1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13};
|
---|
[5098] | 19 | field_values={...
|
---|
[10976] | 20 | (md.results.TransientSolution(1).Vx),...
|
---|
| 21 | (md.results.TransientSolution(1).Vy),...
|
---|
| 22 | (md.results.TransientSolution(1).Vel),...
|
---|
| 23 | (md.results.TransientSolution(1).Pressure),...
|
---|
[17806] | 24 | (md.results.TransientSolution(1).Base),...
|
---|
[10976] | 25 | (md.results.TransientSolution(1).Surface),...
|
---|
| 26 | (md.results.TransientSolution(1).Thickness),...
|
---|
[20500] | 27 | (md.results.TransientSolution(1).GroundedArea),...
|
---|
| 28 | (md.results.TransientSolution(1).FloatingArea),...
|
---|
| 29 | (md.results.TransientSolution(1).TotalFloatingBmb),...
|
---|
| 30 | (md.results.TransientSolution(1).TotalGroundedBmb),...
|
---|
| 31 | (md.results.TransientSolution(1).TotalSmb),...
|
---|
[10976] | 32 | (md.results.TransientSolution(2).Vx),...
|
---|
| 33 | (md.results.TransientSolution(2).Vy),...
|
---|
| 34 | (md.results.TransientSolution(2).Vel),...
|
---|
| 35 | (md.results.TransientSolution(2).Pressure),...
|
---|
[17806] | 36 | (md.results.TransientSolution(2).Base),...
|
---|
[10976] | 37 | (md.results.TransientSolution(2).Surface),...
|
---|
| 38 | (md.results.TransientSolution(2).Thickness),...
|
---|
[20500] | 39 | (md.results.TransientSolution(2).GroundedArea),...
|
---|
| 40 | (md.results.TransientSolution(2).FloatingArea),...
|
---|
| 41 | (md.results.TransientSolution(2).TotalFloatingBmb),...
|
---|
| 42 | (md.results.TransientSolution(2).TotalGroundedBmb),...
|
---|
| 43 | (md.results.TransientSolution(2).TotalSmb),...
|
---|
[10976] | 44 | (md.results.TransientSolution(3).Vx),...
|
---|
| 45 | (md.results.TransientSolution(3).Vy),...
|
---|
| 46 | (md.results.TransientSolution(3).Vel),...
|
---|
| 47 | (md.results.TransientSolution(3).Pressure),...
|
---|
[17806] | 48 | (md.results.TransientSolution(3).Base),...
|
---|
[10976] | 49 | (md.results.TransientSolution(3).Surface),...
|
---|
| 50 | (md.results.TransientSolution(3).Thickness),...
|
---|
[20500] | 51 | (md.results.TransientSolution(3).GroundedArea),...
|
---|
| 52 | (md.results.TransientSolution(3).FloatingArea),...
|
---|
| 53 | (md.results.TransientSolution(3).TotalFloatingBmb),...
|
---|
| 54 | (md.results.TransientSolution(3).TotalGroundedBmb),...
|
---|
| 55 | (md.results.TransientSolution(3).TotalSmb),...
|
---|
[5098] | 56 | };
|
---|