Changeset 153


Ignore:
Timestamp:
04/30/09 10:27:53 (16 years ago)
Author:
seroussi
Message:

finalized test

Location:
issm/trunk/test/Verification/IceSheetIceFrontM3d_8
Files:
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/test/Verification/IceSheetIceFrontM3d_8/runme.m

    r151 r153  
    1212%packages and solutions to be tested
    1313packages={'macayeal','ice','cielo_serial','cielo_parallel'};
    14 solutions={'diagnostic','thermal_steady','thermal_transient','prognostic','transient'};
     14solutions={'diagnostic','thermalsteady','thermaltransient','prognostic','transient'};
    1515
    1616%Initialize log message for nightly runs.
     
    2929                        error(['package: ' package  ' in test: ' testname  ' not supported yet']);
    3030                %check solution
    31                 elseif ~(strcmpi(solution,'diagnostic') | strcmpi(solution,'thermal_steady') | strcmpi(solution,'thermal_transient') |...
     31                elseif ~(strcmpi(solution,'diagnostic') | strcmpi(solution,'thermalsteady') | strcmpi(solution,'thermaltransient') |...
    3232                                strcmpi(solution,'prognostic') | strcmpi(solution,'transient'));
    3333                        error(['solution: ' solution  ' in test: ' testname  ' not supported yet']);
    3434                end
    3535                %check solution requested
    36                 if (~strcmpi(package,'ice')),
     36                if (~strcmpi(package,'ice') | strcmpi(solution,'transient')),
    3737                        disp(sprintf(['\nsolution: ' solution  ', with package: ' package  ', in test: ' testname  ', not supported yet.\n']));
    3838                        continue
     
    4141                %initialize model
    4242                md=model;
    43                 md=mesh(md,'DomainOutline.exp',50000);
     43                md=mesh(md,'DomainOutline.exp',100000);
    4444                md=geography(md,'','');
    4545                md=parameterize(md,'Square.par');
    46                 md=extrude(md,10,3);
     46                md=extrude(md,8,4);
    4747                md=setelementstype(md,'macayeal','all');
    4848                if strcmpi(package,'cielo_parallel'), md.cluster='wilkes'; end
    49                 if md.numberofgrids==3880
    50                         load Velocities; md.vx=1.2*vx; md.vy=1.2*vy;
     49                if md.numberofgrids==832
     50                        load Velocities; md.vx=0.8*vx; md.vy=0.8*vy; md.vz=0.8*vz; md.temperature=temperature-1; md.pressure=pressure;
    5151                end
    5252
     
    6363                if strcmpi(solution,'diagnostic'),
    6464                        fields={'vy','vz'};
    65                 elseif strcmpi(solution,'thermal_steady'),
     65                elseif strcmpi(solution,'thermalsteady'),
    6666                        fields={'temperature','melting'};
    67                 elseif strcmpi(solution,'thermal_transient'),
     67                elseif strcmpi(solution,'thermaltransient'),
    6868                        fields={'thermaltransient_results(end).temperature','thermaltransient_results(end).melting'};
    6969                elseif strcmpi(solution,'prognostic'),
  • issm/trunk/test/Verification/IceSheetIceFrontM3d_8/updatearchive.m

    r151 r153  
    88%packages and solutions to be tested
    99packages={'macayeal','ice','cielo_serial','cielo_parallel'};
    10 solutions={'diagnostic','thermal_steady','thermal_transient','prognostic','transient'};
     10solutions={'diagnostic','thermalsteady','thermaltransient','prognostic','transient'};
    1111
    1212%go through the solutions requested
     
    2222                        error(['package: ' package  ' in test: ' testname  ' not supported yet']);
    2323                        %check solution
    24                 elseif ~(strcmpi(solution,'diagnostic') | strcmpi(solution,'thermal_steady') | strcmpi(solution,'thermal_transient') |...
     24                elseif ~(strcmpi(solution,'diagnostic') | strcmpi(solution,'thermalsteady') | strcmpi(solution,'thermaltransient') |...
    2525                                strcmpi(solution,'prognostic') | strcmpi(solution,'transient'));
    2626                        error(['solution: ' solution  ' in test: ' testname  ' not supported yet']);
    2727                end
    2828                %check solution requested
    29                 if (~strcmpi(package,'ice')),
     29                if (~strcmpi(package,'ice') | strcmpi(solution,'transient')),
    3030                        disp(sprintf(['\nsolution: ' solution  ', with package: ' package  ', in test: ' testname  ', not supported yet.\n']));
    3131                        continue
     
    3434                %initialize model
    3535                md=model;
    36                 md=mesh(md,'DomainOutline.exp',50000);
     36                md=mesh(md,'DomainOutline.exp',100000);
    3737                md=geography(md,'','');
    3838                md=parameterize(md,'Square.par');
    39                 md=extrude(md,10,3);
     39                md=extrude(md,8,4);
    4040                md=setelementstype(md,'macayeal','all');
    4141                if strcmpi(package,'cielo_parallel'), md.cluster='wilkes'; end
    42                 if md.numberofgrids==3880
    43                         load Velocities; md.vx=1.2*vx; md.vy=1.2*vy;
     42                if md.numberofgrids==832
     43                        load Velocities; md.vx=0.8*vx; md.vy=0.8*vy; md.vz=0.8*vz; md.temperature=temperature-1; md.pressure=pressure;
    4444                end
    4545
     
    5656                if strcmpi(solution,'diagnostic'),
    5757                        fields={'vy','vz'};
    58                 elseif strcmpi(solution,'thermal_steady'),
     58                elseif strcmpi(solution,'thermalsteady'),
    5959                        fields={'temperature','melting'};
    60                 elseif strcmpi(solution,'thermal_transient'),
     60                elseif strcmpi(solution,'thermaltransient'),
    6161                        fields={'thermaltransient_results(end).temperature','thermaltransient_results(end).melting'};
    6262                elseif strcmpi(solution,'prognostic'),
Note: See TracChangeset for help on using the changeset viewer.