Changeset 18973


Ignore:
Timestamp:
01/05/15 10:16:45 (10 years ago)
Author:
bdef
Message:

NEW: adding hydro test in puthon

Location:
issm/trunk-jpl/test/NightlyRun
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/test/NightlyRun/test3300.m

    r18646 r18973  
    2222md.hydrology.mask_eplactive_node=0*ones(md.mesh.numberofvertices,1);
    2323
    24 md.hydrology.epl_conductivity=1.5e-2;
     24pos=find(md.mesh.y==0 & md.mesh.x<6.0e5 & md.mesh.x>4.0e5);
     25md.hydrology.spcepl_head(pos)=0.0;
     26
     27
     28md.hydrology.epl_conductivity=1000;
    2529md.hydrology.epl_initial_thickness=1.0;
    26 md.hydrology.epl_colapse_thickness=1.0e-6;
     30md.hydrology.epl_colapse_thickness=1.0e-5;
    2731md.hydrology.epl_max_thickness=5.0;
    2832
    2933md.hydrology.transfer_flag=1.0;
    30 md.hydrology.leakage_factor=3.9e-12;
     34md.hydrology.leakage_factor=1.0e-1;
    3135
    32 times=0:0.2:8.0;
     36times=0:0.2:30.0;
    3337md.basalforcings.groundedice_melting_rate=ones(md.mesh.numberofvertices+1,length(times));
    3438
    35 for i=1:length(times)
    36         if(times(i)<=1.0)
    37                 md.basalforcings.groundedice_melting_rate(:,i)=1.0;
    38         elseif(times(i)<=6.0)
    39                 md.basalforcings.groundedice_melting_rate(:,i)=-0.2;
    40         else
    41                 md.basalforcings.groundedice_melting_rate(:,i)=0.0;
    42  end
    43 end     
    44 
     39% for i=1:length(times)
     40%       if(times(i)<=1.0)
     41%               md.basalforcings.groundedice_melting_rate(:,i)=1.0;
     42%       elseif(times(i)<=6.0)
     43%               md.basalforcings.groundedice_melting_rate(:,i)=-0.2;
     44%       else
     45%               md.basalforcings.groundedice_melting_rate(:,i)=0.0;
     46% end
     47% end   
     48md.basalforcings.groundedice_melting_rate(:,:)=1.0;
    4549md.basalforcings.groundedice_melting_rate(end,:)=times;
    4650
    4751
    4852md.timestepping.time_step=0.2;
    49 md.timestepping.final_time=8.0;
     53md.timestepping.final_time=30.0;
    5054
    5155md=solve(md,TransientSolutionEnum());
Note: See TracChangeset for help on using the changeset viewer.