Changeset 5422
- Timestamp:
- 08/19/10 11:51:01 (15 years ago)
- Location:
- issm/trunk/test/NightlyRun
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk/test/NightlyRun/test1201.m ¶
r5375 r5422 1 1 %This test is a test from the EISMINT for Ice shelves Vincent Rommelaere 1996 2 printingflag=true; 2 3 3 4 results={}; … … 57 58 plot(s,h1,'r',s,h2,'b',s,h3,'g',s,hth,'k') 58 59 legend('Art. diff.','No Art. diff.','Discontinue','Theorique') 59 60 set(gcf,'Color','w') 61 printmodel('eismintmasscthickness','png','margin','on','marginsize',25,'frame','off','resolution',2,'hardcopy','off'); 60 if printingflag, 61 set(gcf,'Color','w') 62 printmodel('eismintmasscthickness','png','margin','on','marginsize',25,'frame','off','resolution',2,'hardcopy','off'); 63 end 62 64 63 65 %Fields and tolerances to track changes -
TabularUnified issm/trunk/test/NightlyRun/test1202.m ¶
r5304 r5422 1 1 %Test on the diagnostic model and the prognostic in 2d 2 printingflag=true; 2 3 3 4 %tests 3 and 4: using Glen's flow law … … 15 16 vy=PatchToVec(md.results.DiagnosticSolution.Vy); 16 17 17 plotmodel(md,'data',vx,'contourlevels',{0,20,40,60,60,100,120,140,160,180,-20,-40,-60,-80,-100,-120,-140,-160,-180},... 18 'visible','off','contourcolor','k') 19 set(gcf,'Color','w') 20 printmodel('eismintdiag1vx','png','margin','on','marginsize',25,'frame','off','resolution',2,'hardcopy','off'); 18 plotmodel(md,'data',vx,'contourlevels',{0,20,40,60,60,100,120,140,160,180,-20,-40,-60,-80,-100,-120,-140,-160,-180}, ... 19 'contourcolor','k') 20 if printingflag, 21 set(gcf,'Color','w') 22 printmodel('eismintdiag1vx','png','margin','on','marginsize',25,'frame','off','resolution',2,'hardcopy','off'); 23 end 21 24 22 25 plotmodel(md,'data',vy,'contourlevels',{-100,-200,-300,-400,-500,-600,-700,-800,-900,-1000},... 23 'visible','off','contourcolor','k') 24 set(gcf,'Color','w') 25 printmodel('eismintdiag1vy','png','margin','on','marginsize',25,'frame','off','resolution',2,'hardcopy','off'); 26 'contourcolor','k') 27 if printingflag, 28 set(gcf,'Color','w') 29 printmodel('eismintdiag1vy','png','margin','on','marginsize',25,'frame','off','resolution',2,'hardcopy','off'); 30 end 26 31 27 32 %Fields and tolerances to track changes -
TabularUnified issm/trunk/test/NightlyRun/test1203.m ¶
r5304 r5422 1 1 %Test on the diagnostic model and the prognostic in 2d 2 printingflag=true; 2 3 3 4 %test 5 and 6 : … … 19 20 20 21 %plot results 21 plotmodel(md,'data',vx,'contourlevels',{0,20,40,60,80,100,-20,-40,-60,-80,-100}, 'visible','off',...22 plotmodel(md,'data',vx,'contourlevels',{0,20,40,60,80,100,-20,-40,-60,-80,-100},... 22 23 'contourcolor','k') 23 set(gcf,'Color','w') 24 printmodel('eismintdiag2vx','png','margin','on','marginsize',25,'frame','off','resolution',2,'hardcopy','off'); 24 if printingflag, 25 set(gcf,'Color','w') 26 printmodel('eismintdiag2vx','png','margin','on','marginsize',25,'frame','off','resolution',2,'hardcopy','off'); 27 end 25 28 plotmodel(md,'data',vy,'contourlevels',{-100,-200,-300,-400,-500,-600,-700,-800,-900,-1000},... 26 'contourcolor','k','visible','off') 27 set(gcf,'Color','w') 28 printmodel('eismintdiag2vy','png','margin','on','marginsize',25,'frame','off','resolution',2,'hardcopy','off'); 29 'contourcolor','k') 30 if printingflag, 31 set(gcf,'Color','w') 32 printmodel('eismintdiag2vy','png','margin','on','marginsize',25,'frame','off','resolution',2,'hardcopy','off'); 33 end 29 34 30 35 %Fields and tolerances to track changes -
TabularUnified issm/trunk/test/NightlyRun/test1301.m ¶
r5277 r5422 3 3 % at upper surface and an impose flux at its base. The result must be a linear temperature from the upper to the lower 4 4 % surface with an imposed slope (Geothermal flux). if it is not the case, something is thermal modeling has been changed... 5 % Just run this file in Matlab, with a properly setup Ice code. 5 printingflag=true; 6 6 7 7 md=model; … … 34 34 plotmodel(md,'data',comp_melting,'title','Modeled melting','data',melting,'title','Analytical melting',... 35 35 'data',comp_melting-melting,'title','Absolute error','data',relative,'title','Relative error [%]',... 36 'layer#all',1,'caxis#2',[1.02964 1.02966]*10^-4,'FontSize#all',20,'figposition','mathieu','visible','off') 37 set(gcf,'Color','w') 38 printmodel('thermalmelting','png','margin','on','marginsize',25,'frame','off','resolution',0.7,'hardcopy','off'); 36 'layer#all',1,'caxis#2',[1.02964 1.02966]*10^-4,'FontSize#all',20,'figposition','mathieu') 37 if printingflag, 38 set(gcf,'Color','w') 39 printmodel('thermalmelting','png','margin','on','marginsize',25,'frame','off','resolution',0.7,'hardcopy','off'); 40 end 39 41 40 42 -
TabularUnified issm/trunk/test/NightlyRun/test1302.m ¶
r5277 r5422 2 2 % There is u=v=0 and w=cst everywhere the only thermal boundary conditions are an imposed temperature 3 3 % at upper surface and an impose flux at its base. 4 % Just run this file in Matlab, with a properly setup Ice code. 4 printingflag=true; 5 5 6 6 md=model; … … 36 36 'title','Analytical temperature [K]','view',3,'data',comp_temp-md.observed_temperature,... 37 37 'title','Absolute error [K]','view',3,'data',relative,'title','Relative error [%]','view',3,... 38 'visible','off','figposition','mathieu','FontSize#all',20) 39 set(gcf,'Color','w') 40 printmodel('thermaladvection','png','margin','on','marginsize',25,'frame','off','resolution',0.7,'hardcopy','off'); 38 'figposition','mathieu','FontSize#all',20) 39 if printingflag, 40 set(gcf,'Color','w') 41 printmodel('thermaladvection','png','margin','on','marginsize',25,'frame','off','resolution',0.7,'hardcopy','off'); 42 end 41 43 42 44 %Fields and tolerances to track changes -
TabularUnified issm/trunk/test/NightlyRun/test1303.m ¶
r5277 r5422 3 3 % at the lower and upper surface. The result must be a linear temperature from the upper to the lower 4 4 % surface. if it is not the case, something is thermal modeling has been changed... 5 % Just run this file in Matlab, with a properly setup Ice code. 5 printingflag=true; 6 6 7 7 md=model; … … 31 31 'title','Analytical temperature [K]','view',3,'data',comp_temp-md.observed_temperature,... 32 32 'title','Absolute error [K]','view',3,'data',relative,'title','Relative error [%]','view',3,... 33 'visible','off','figposition','mathieu','FontSize#all',20) 34 set(gcf,'Color','w') 35 printmodel('thermalconduction','png','margin','on','marginsize',25,'frame','off','resolution',0.7,'hardcopy','off'); 33 'figposition','mathieu','FontSize#all',20) 34 if printingflag, 35 set(gcf,'Color','w') 36 printmodel('thermalconduction','png','margin','on','marginsize',25,'frame','off','resolution',0.7,'hardcopy','off'); 37 end 36 38 37 39 %Fields and tolerances to track changes -
TabularUnified issm/trunk/test/NightlyRun/test1304.m ¶
r5277 r5422 3 3 % at upper surface and an impose flux at its base. The result must be a linear temperature from the upper to the lower 4 4 % surface with an imposed slope (Geothermal flux). if it is not the case, something is thermal modeling has been changed... 5 printingflag=true; 5 6 6 7 md=model; … … 31 32 'title','Analytical temperature','view',3,'data',comp_temp-md.observed_temperature,... 32 33 'title','Absolute error [K]','view',3,'data',relative,'title','Relative error [%]','view',3,... 33 'visible','off','figposition','mathieu','FontSize#all',20) 34 set(gcf,'Color','w') 35 printmodel('thermalgeothermalflux','png','margin','on','marginsize',25,'frame','off','resolution',0.7,'hardcopy','off'); 34 'figposition','mathieu','FontSize#all',20) 35 if printingflag, 36 set(gcf,'Color','w') 37 printmodel('thermalgeothermalflux','png','margin','on','marginsize',25,'frame','off','resolution',0.7,'hardcopy','off'); 38 end 36 39 37 40 %Fields and tolerances to track changes
Note:
See TracChangeset
for help on using the changeset viewer.