source: issm/oecreview/Archive/21337-21723/ISSM-21393-21394.diff@ 21726

Last change on this file since 21726 was 21726, checked in by Mathieu Morlighem, 8 years ago

CHG added Archive/21337-21723

File size: 3.2 KB
  • ../trunk-jpl/test/NightlyRun/test260.m

     
     1%Test Name: SquareShelfStressSSA2dEnhanced
     2md=triangle(model(),'../Exp/Square.exp',150000.);
     3md=setmask(md,'all','');
     4md.materials=matenhancedice();
     5md.materials.rheology_B=3.15e8*ones(md.mesh.numberofvertices,1);
     6md.materials.rheology_n=3*ones(md.mesh.numberofelements,1);
     7md.materials.rheology_E=ones(md.mesh.numberofvertices,1);
     8md=parameterize(md,'../Par/SquareShelf.par');
     9md=setflowequation(md,'SSA','all');
     10md.cluster=generic('name',oshostname(),'np',3);
     11md=solve(md,'Stressbalance');
     12
     13%Fields and tolerances to track changes
     14field_names     ={'Vx','Vy','Vel','Pressure'};
     15field_tolerances={1e-13,1e-13,1e-13,1e-13};
     16field_values={...
     17        (md.results.StressbalanceSolution.Vx),...
     18        (md.results.StressbalanceSolution.Vy),...
     19        (md.results.StressbalanceSolution.Vel),...
     20        (md.results.StressbalanceSolution.Pressure),...
     21        };
  • ../trunk-jpl/test/NightlyRun/test261.m

     
     1%Test Name: SquareShelfConstrainedTranEnhanced
     2md=triangle(model(),'../Exp/Square.exp',180000.);
     3md=setmask(md,'all','');
     4md=parameterize(md,'../Par/SquareShelfConstrained.par');
     5md=extrude(md,3,1.);
     6md=setflowequation(md,'SSA','all');
     7md.cluster=generic('name',oshostname(),'np',3);
     8md.materials=matenhancedice();
     9md.materials.rheology_B=3.15e8*ones(md.mesh.numberofvertices,1);
     10md.materials.rheology_n=3*ones(md.mesh.numberofelements,1);
     11md.materials.rheology_E=ones(md.mesh.numberofvertices,1);
     12md.transient.isstressbalance=1;
     13md.transient.ismasstransport=0;
     14md.transient.issmb=1;
     15md.transient.isthermal=1;
     16md.transient.isgroundingline=0;
     17md=solve(md,'Transient');
     18
     19%Fields and tolerances to track changes
     20field_names     ={'Vx','Vy','Vel','Temperature','BasalforcingsGroundediceMeltingRate'};
     21field_tolerances={1e-13,1e-13,1e-13,1e-13,1e-13};
     22field_values={...
     23        (md.results.TransientSolution(1).Vx),...
     24        (md.results.TransientSolution(1).Vy),...
     25        (md.results.TransientSolution(1).Vel),...
     26        (md.results.TransientSolution(1).Temperature),...
     27        (md.results.TransientSolution(1).BasalforcingsGroundediceMeltingRate),...
     28        };
Note: See TracBrowser for help on using the repository browser.