Changeset 14107
- Timestamp:
- 12/07/12 14:05:59 (12 years ago)
- Location:
- issm/trunk-jpl/test/NightlyRun
- Files:
-
- 5 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/test/NightlyRun/python_skipped_tests.txt
r14102 r14107 11 11 test418 needs Dakota 12 12 test420 needs Dakota 13 test1401 roundoff error in metric causes different meshes from matlab 14 test1402 roundoff error in metric causes different meshes from matlab 13 14 test1401,test1402 15 Roundoff error in ComputeHessian and ComputeMetric causes different meshes 16 from matlab, specifically in the handling of 0/0=nan, eps/0=inf, etc. Since 17 the mesh is of a different size, NR fails. (Note Matlab test1402 currently 18 fails.) 19 20 test1205,test1206,test1207 21 The expression for the thickness in the RoundSheetStaticEISMINT.par/py files 22 includes an expression (1/2)^(4/3)-(r/(2*rmax))^(4/3). For r close to rmax, 23 the outer circumference, this equals roundoff zero, but differences 24 propagate into the sixth digit of the thickness, which is enough to fail NR. 25 -
issm/trunk-jpl/test/NightlyRun/test1201.m
r13664 r14107 6 6 for stabilization=1:3; 7 7 %The goal is to test the prognostic model 8 md=bamg(model(),'domain','../Exp/SquareEISMINT.exp','hmax',3000 );8 md=bamg(model(),'domain','../Exp/SquareEISMINT.exp','hmax',3000.); 9 9 md=setmask(md,'all',''); 10 10 md=parameterize(md,'../Par/SquareEISMINT.par'); 11 md.surfaceforcings.mass_balance(:)=0 ;11 md.surfaceforcings.mass_balance(:)=0.; 12 12 md=setflowequation(md,'macayeal','all'); 13 13 md.cluster=generic('name',oshostname(),'np',8); … … 15 15 disp(' initial velocity'); 16 16 md.initialization.vx=zeros(md.mesh.numberofvertices,1); 17 md.initialization.vy=-400 *ones(md.mesh.numberofvertices,1);17 md.initialization.vy=-400.*ones(md.mesh.numberofvertices,1); 18 18 19 19 %Stabilization … … 29 29 md.prognostic.spcthickness=NaN*ones(md.mesh.numberofvertices+1,length(times)); 30 30 md.prognostic.spcthickness(end,:)=times; 31 md.prognostic.spcthickness(pos,:)=repmat(500 +100*sin(2*pi*times/200),length(pos),1);31 md.prognostic.spcthickness(pos,:)=repmat(500.+100.*sin(2.*pi*times/200.),length(pos),1); 32 32 if stabilization==3, 33 pos=find(isnan(md.prognostic.spcthickness)); md.prognostic.spcthickness(pos)=500 ; %No NaN for DG33 pos=find(isnan(md.prognostic.spcthickness)); md.prognostic.spcthickness(pos)=500.; %No NaN for DG 34 34 end 35 35 … … 43 43 44 44 %plot results 45 [elements,x,y,z,s,h1]=SectionValues(md,results{1},'../Exp/CrossLineEISMINT.exp',100 );46 [elements,x,y,z,s,h2]=SectionValues(md,results{2},'../Exp/CrossLineEISMINT.exp',100 );47 [elements,x,y,z,s,h3]=SectionValues(md,results{3},'../Exp/CrossLineEISMINT.exp',100 );48 [elements,x,y,z,s,hth]=SectionValues(md, 500+100*sin(2*pi/200*(500-md.mesh.y/400)),'../Exp/CrossLineEISMINT.exp',100 );45 [elements,x,y,z,s,h1]=SectionValues(md,results{1},'../Exp/CrossLineEISMINT.exp',100.); 46 [elements,x,y,z,s,h2]=SectionValues(md,results{2},'../Exp/CrossLineEISMINT.exp',100.); 47 [elements,x,y,z,s,h3]=SectionValues(md,results{3},'../Exp/CrossLineEISMINT.exp',100.); 48 [elements,x,y,z,s,hth]=SectionValues(md, 500+100*sin(2*pi/200*(500-md.mesh.y/400)),'../Exp/CrossLineEISMINT.exp',100.); 49 49 plot(s,h1,'r',s,h2,'b',s,h3,'g',s,hth,'k') 50 50 legend('Art. diff.','No Art. diff.','D.G.','Theoretical') 51 if printingflag, 51 if printingflag, 52 52 set(gcf,'Color','w') 53 53 export_fig([issmdir() '/website/doc_pdf/validation/Images/EISMINT/IceShelf/eismintmasscthickness.pdf']); … … 56 56 %Fields and tolerances to track changes 57 57 field_names ={ ... 58 'ThicknessArtDi gg','ThicknessNoArtDiff','ThicknessDG' ...58 'ThicknessArtDiff','ThicknessNoArtDiff','ThicknessDG' ... 59 59 }; 60 60 field_tolerances={... -
issm/trunk-jpl/test/NightlyRun/test1202.m
r13670 r14107 19 19 plotmodel(md,'data',vx,'contourlevels',{0,20,40,60,60,100,120,140,160,180,-20,-40,-60,-80,-100,-120,-140,-160,-180}, ... 20 20 'contourcolor','k') 21 if printingflag, 21 if printingflag, 22 22 set(gcf,'Color','w') 23 23 printmodel('eismintdiag1vx','png','margin','on','marginsize',25,'frame','off','resolution',2,'hardcopy','off'); … … 27 27 plotmodel(md,'data',vy,'contourlevels',{-100,-200,-300,-400,-500,-600,-700,-800,-900,-1000},... 28 28 'contourcolor','k') 29 if printingflag, 29 if printingflag, 30 30 set(gcf,'Color','w') 31 31 printmodel('eismintdiag1vy','png','margin','on','marginsize',25,'frame','off','resolution',2,'hardcopy','off'); -
issm/trunk-jpl/test/NightlyRun/test1203.m
r13670 r14107 2 2 printingflag=false; 3 3 4 %test 5 and 6 4 %test 5 and 6: 5 5 md=model(); 6 6 md=triangle(md,'../Exp/SquareEISMINT.exp',5100.); %test3 … … 11 11 %Impose a non zero velocity on the upper boundary condition (y=max(y)) 12 12 pos=find(md.mesh.y==max(md.mesh.y)); 13 md.diagnostic.spcvy(pos)=400 *(((md.mesh.x(pos)-100000)/25000).^2-ones(size(pos,1),1)).*heaviside((1+eps)*ones(size(pos,1),1)-((md.mesh.x(pos)-100000)/25000).^2);13 md.diagnostic.spcvy(pos)=400.*(((md.mesh.x(pos)-100000.)/25000.).^2-ones(size(pos,1),1)).*heaviside((1.+eps)*ones(size(pos,1),1)-((md.mesh.x(pos)-100000.)/25000.).^2); 14 14 15 15 %Compute solution for MacAyeal's model … … 23 23 plotmodel(md,'data',vx,'contourlevels',{0,20,40,60,80,100,-20,-40,-60,-80,-100},... 24 24 'contourcolor','k') 25 if printingflag, 25 if printingflag, 26 26 set(gcf,'Color','w') 27 27 printmodel('eismintdiag2vx','png','margin','on','marginsize',25,'frame','off','resolution',2,'hardcopy','off'); … … 30 30 plotmodel(md,'data',vy,'contourlevels',{-100,-200,-300,-400,-500,-600,-700,-800,-900,-1000},... 31 31 'contourcolor','k') 32 if printingflag, 32 if printingflag, 33 33 set(gcf,'Color','w') 34 34 printmodel('eismintdiag2vy','png','margin','on','marginsize',25,'frame','off','resolution',2,'hardcopy','off'); -
issm/trunk-jpl/test/NightlyRun/test1204.m
r13670 r14107 11 11 %Impose a non zero velocity on the upper boundary condition (y=max(y)) 12 12 pos=find(md.mesh.y==max(md.mesh.y)); 13 md.diagnostic.spcvy(pos)=400 *(((md.mesh.x(pos)-100000)/25000).^2-ones(size(pos,1),1)).*heaviside((1+eps)*ones(size(pos,1),1)-((md.mesh.x(pos)-100000)/25000).^2);13 md.diagnostic.spcvy(pos)=400.*(((md.mesh.x(pos)-100000.)/25000.).^2-ones(size(pos,1),1)).*heaviside((1.+eps)*ones(size(pos,1),1)-((md.mesh.x(pos)-100000.)/25000.).^2); 14 14 15 15 %Compute solution for MacAyeal's model … … 21 21 md.initialization.vy=(md.results.DiagnosticSolution.Vy); 22 22 23 md.timestepping.time_step=1 ;24 md.timestepping.final_time=5000 ;23 md.timestepping.time_step=1.; 24 md.timestepping.final_time=5000.; 25 25 md.prognostic.stabilization=1; 26 26 md=solve(md,TransientSolutionEnum()); 27 27 28 28 plotmodel(md,'data',(md.results.TransientSolution(end).Vx)) 29 if printingflag, 29 if printingflag, 30 30 set(gcf,'Color','w') 31 31 printmodel('eisminttrans2vx','png','margin','on','marginsize',25,'frame','off','resolution',2,'hardcopy','off'); … … 34 34 35 35 plotmodel(md,'data',(md.results.TransientSolution(end).Vy)) 36 if printingflag, 36 if printingflag, 37 37 set(gcf,'Color','w') 38 38 printmodel('eisminttrans2vy','png','margin','on','marginsize',25,'frame','off','resolution',2,'hardcopy','off'); … … 41 41 42 42 plotmodel(md,'data',(md.results.TransientSolution(end).Thickness)) 43 if printingflag, 43 if printingflag, 44 44 set(gcf,'Color','w') 45 45 printmodel('eisminttrans2thickness','png','margin','on','marginsize',25,'frame','off','resolution',2,'hardcopy','off'); -
issm/trunk-jpl/test/NightlyRun/test1208.m
r13671 r14107 1 1 %EISMINT benchmark experiment A 2 2 numlayers=8; 3 resolution=50000 ;3 resolution=50000.; 4 4 5 5 %To begin with the numerical model … … 14 14 %Spc the nodes on the bed 15 15 pos=find(md.mesh.vertexonbed); 16 md.diagnostic.spcvx(pos)=0 ;17 md.diagnostic.spcvy(pos)=0 ;18 md.diagnostic.spcvz(pos)=0 ;16 md.diagnostic.spcvx(pos)=0.; 17 md.diagnostic.spcvy(pos)=0.; 18 md.diagnostic.spcvz(pos)=0.; 19 19 20 20 %Adapt the time steps to the resolution 21 md.timestepping.time_step=15 ;21 md.timestepping.time_step=15.; 22 22 md.settings.output_frequency=500; 23 md.timestepping.final_time=30000 ;23 md.timestepping.final_time=30000.; 24 24 md.prognostic.stabilization=1; 25 25 md.thermal.stabilization=1;
Note:
See TracChangeset
for help on using the changeset viewer.