source:
issm/oecreview/Archive/21337-21723/ISSM-21393-21394.diff@
21726
Last change on this file since 21726 was 21726, checked in by , 8 years ago | |
---|---|
File size: 3.2 KB |
-
../trunk-jpl/test/NightlyRun/test260.m
1 %Test Name: SquareShelfStressSSA2dEnhanced 2 md=triangle(model(),'../Exp/Square.exp',150000.); 3 md=setmask(md,'all',''); 4 md.materials=matenhancedice(); 5 md.materials.rheology_B=3.15e8*ones(md.mesh.numberofvertices,1); 6 md.materials.rheology_n=3*ones(md.mesh.numberofelements,1); 7 md.materials.rheology_E=ones(md.mesh.numberofvertices,1); 8 md=parameterize(md,'../Par/SquareShelf.par'); 9 md=setflowequation(md,'SSA','all'); 10 md.cluster=generic('name',oshostname(),'np',3); 11 md=solve(md,'Stressbalance'); 12 13 %Fields and tolerances to track changes 14 field_names ={'Vx','Vy','Vel','Pressure'}; 15 field_tolerances={1e-13,1e-13,1e-13,1e-13}; 16 field_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 2 md=triangle(model(),'../Exp/Square.exp',180000.); 3 md=setmask(md,'all',''); 4 md=parameterize(md,'../Par/SquareShelfConstrained.par'); 5 md=extrude(md,3,1.); 6 md=setflowequation(md,'SSA','all'); 7 md.cluster=generic('name',oshostname(),'np',3); 8 md.materials=matenhancedice(); 9 md.materials.rheology_B=3.15e8*ones(md.mesh.numberofvertices,1); 10 md.materials.rheology_n=3*ones(md.mesh.numberofelements,1); 11 md.materials.rheology_E=ones(md.mesh.numberofvertices,1); 12 md.transient.isstressbalance=1; 13 md.transient.ismasstransport=0; 14 md.transient.issmb=1; 15 md.transient.isthermal=1; 16 md.transient.isgroundingline=0; 17 md=solve(md,'Transient'); 18 19 %Fields and tolerances to track changes 20 field_names ={'Vx','Vy','Vel','Temperature','BasalforcingsGroundediceMeltingRate'}; 21 field_tolerances={1e-13,1e-13,1e-13,1e-13,1e-13}; 22 field_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.