Rev | Line | |
---|
[12259] | 1 | md=triangle(model,'../Exp/SquareHole.exp','../Exp/Rifts.exp',50000);
|
---|
| 2 | md=meshprocessrifts(md,'../Exp/Square.exp');
|
---|
| 3 | md=setmask(md,'all','');
|
---|
| 4 | md=parameterize(md,'../Par/SquareShelf.par');
|
---|
| 5 | md.materials.rheology_Z=0.5*ones(md.mesh.numberofvertices,1);
|
---|
| 6 | md=setflowequation(md,'macayeal','all');
|
---|
| 7 |
|
---|
| 8 | md.cluster=generic('name',oshostname(),'np',3);
|
---|
| 9 | md=solve(md,DiagnosticSolutionEnum);
|
---|
| 10 |
|
---|
| 11 | %Fields and tolerances to track changes
|
---|
| 12 | field_names ={'Vx','Vy','Vel','Pressure'};
|
---|
| 13 | field_tolerances={1e-11,1e-11,1e-11,1e-11};
|
---|
| 14 | field_values={...
|
---|
| 15 | (md.results.DiagnosticSolution.Vx),...
|
---|
| 16 | (md.results.DiagnosticSolution.Vy),...
|
---|
| 17 | (md.results.DiagnosticSolution.Vel),...
|
---|
| 18 | (md.results.DiagnosticSolution.Pressure),...
|
---|
| 19 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.