Index: /issm/trunk-jpl/src/m/classes/thermal.m
===================================================================
--- /issm/trunk-jpl/src/m/classes/thermal.m	(revision 12422)
+++ /issm/trunk-jpl/src/m/classes/thermal.m	(revision 12423)
@@ -47,5 +47,5 @@
 			checkfield(md,'thermal.stabilization','numel',1,'values',[0 1 2]);
 			checkfield(md,'thermal.spctemperature','forcing',1);
-			if (ismember(EnthalpyAnalysisEnum,analyses) & md.thermal.isenthalpy),
+			if (ismember(EnthalpyAnalysisEnum,analyses) & md.thermal.isenthalpy & md.mesh.dimension==3),
 			checkfield(md,'thermal.spctemperature','<',md.materials.meltingpoint-md.materials.beta*md.materials.rho_ice*md.constants.g*(md.geometry.surface-md.mesh.z),'message','spctemperature should be below the adjusted melting point');
 			checkfield(md,'thermal.isenthalpy','numel',1,'values',[0 1]);
