[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.);
|
---|
[16137] | 5 | md=setflowequation(md,'SSA','all');
|
---|
[15396] | 6 | md.cluster=generic('name',oshostname(),'np',1);
|
---|
[13258] | 7 | md.autodiff.isautodiff=true;
|
---|
[16560] | 8 | md.toolkits.DefaultAnalysis=issmgslsolver();
|
---|
[13975] | 9 | md.verbose=verbose('autodiff',true);
|
---|
[16137] | 10 | md=solve(md,StressbalanceSolutionEnum());
|
---|
[13258] | 11 |
|
---|
| 12 | %Fields and tolerances to track changes
|
---|
| 13 | field_names ={'Vx','Vy','Vz','Vel','Pressure'};
|
---|
| 14 | field_tolerances={1e-13,1e-13,1e-13,1e-13,1e-13};
|
---|
| 15 | field_values={...
|
---|
[16137] | 16 | (md.results.StressbalanceSolution.Vx),...
|
---|
| 17 | (md.results.StressbalanceSolution.Vy),...
|
---|
| 18 | (md.results.StressbalanceSolution.Vz),...
|
---|
| 19 | (md.results.StressbalanceSolution.Vel),...
|
---|
| 20 | (md.results.StressbalanceSolution.Pressure),...
|
---|
[13258] | 21 | };
|
---|