Changeset 14310 for issm/trunk/test/Par/SquareThermal.par
- Timestamp:
- 02/04/13 08:01:04 (12 years ago)
- Location:
- issm/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk
- Property svn:mergeinfo changed
/issm/trunk-jpl merged: 14068-14070,14073-14074,14077-14095,14097-14112,14117,14134-14135,14138-14142,14144,14149-14151,14153,14156-14208,14210-14308
- Property svn:mergeinfo changed
-
issm/trunk/test
- Property svn:mergeinfo changed
/issm/trunk-jpl/test merged: 14068,14091,14102,14106-14107,14134-14135,14138-14139,14150,14156-14158,14169,14179-14181,14190,14198,14212,14269-14270
- Property svn:mergeinfo changed
-
issm/trunk/test/Par/SquareThermal.par
r9733 r14310 4 4 5 5 disp(' creating thickness'); 6 h=1000 ;6 h=1000.; 7 7 md.geometry.thickness=h*ones(md.mesh.numberofvertices,1); 8 md.geometry.bed=-1000 *ones(md.mesh.numberofvertices,1);8 md.geometry.bed=-1000.*ones(md.mesh.numberofvertices,1); 9 9 md.geometry.surface=md.geometry.bed+md.geometry.thickness; 10 10 … … 15 15 16 16 disp(' creating drag'); 17 md.friction.coefficient=200 *ones(md.mesh.numberofvertices,1); %q=1.17 md.friction.coefficient=200.*ones(md.mesh.numberofvertices,1); %q=1. 18 18 %Take care of iceshelves: no basal drag 19 19 pos=find(md.mask.elementonfloatingice); 20 md.friction.coefficient(md.mesh.elements(pos,:))=0 ;20 md.friction.coefficient(md.mesh.elements(pos,:))=0.; 21 21 md.friction.p=ones(md.mesh.numberofelements,1); 22 22 md.friction.q=ones(md.mesh.numberofelements,1); 23 23 24 24 disp(' creating temperatures'); 25 md.initialization.temperature=(273 -20)*ones(md.mesh.numberofvertices,1);25 md.initialization.temperature=(273.-20.)*ones(md.mesh.numberofvertices,1); 26 26 27 disp(' creating flow law param ter');27 disp(' creating flow law parameter'); 28 28 md.materials.rheology_B=paterson(md.initialization.temperature); 29 md.materials.rheology_n=3 *ones(md.mesh.numberofelements,1);29 md.materials.rheology_n=3.*ones(md.mesh.numberofelements,1); 30 30 31 31 disp(' creating surface mass balance'); 32 32 md.surfaceforcings.mass_balance=ones(md.mesh.numberofvertices,1)/md.constants.yts; %1m/a 33 md.basalforcings.melting_rate=0 *ones(md.mesh.numberofvertices,1)/md.constants.yts; %1m/a33 md.basalforcings.melting_rate=0.*ones(md.mesh.numberofvertices,1)/md.constants.yts; %1m/a 34 34 35 35 %Deal with boundary conditions: … … 41 41 md.thermal.spctemperature(:)=md.initialization.temperature; 42 42 md.basalforcings.geothermalflux=zeros(md.mesh.numberofvertices,1); 43 pos=find(md.mask.elementongroundedice);md.basalforcings.geothermalflux(md.mesh.elements(pos,:))=1 *10^-3; %1 mW/m^243 pos=find(md.mask.elementongroundedice);md.basalforcings.geothermalflux(md.mesh.elements(pos,:))=1.*10^-3; %1 mW/m^2
Note:
See TracChangeset
for help on using the changeset viewer.