Changeset 4950


Ignore:
Timestamp:
08/03/10 16:53:50 (15 years ago)
Author:
Mathieu Morlighem
Message:

First test

Location:
issm/trunk/test
Files:
6 added
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/test/Par/SquareShelf.par

    r4949 r4950  
    11%Start defining model parameters here
    22
    3 %dynamics
    4 md.verbose=0;
    5 md.artificial_diffusivity=1;
    6 
     3%Geometry
    74hmin=300;
    85hmax=1000;
     
    1310md.surface=md.bed+md.thickness;
    1411
    15 md.drag_type=2; %0 none 1 plastic 2 viscous
    16 md.drag_coefficient=200*ones(md.numberofgrids,1); %q=1.
    17 %Take care of iceshelves: no basal drag
    18 pos=find(md.elementoniceshelf);
    19 md.drag_coefficient(md.elements(pos,:))=0;
    20 md.drag_p=ones(md.numberofelements,1);
    21 md.drag_q=ones(md.numberofelements,1);
    22 md.viscosity_overshoot=0.3;
     12%Initial velocity
     13load('./../Data/SquareShelf.data','-mat');
     14md.vx=InterpFromMeshToMesh2d(index,x,y,vx,md.x,md.y,0);
     15md.vy=InterpFromMeshToMesh2d(index,x,y,vy,md.x,md.y,0);
     16clear vx vy x y index;
    2317
    24 %Create temperature and rheology
     18%Materials
    2519md.observed_temperature=(273-20)*ones(md.numberofgrids,1);
    2620md.rheology_B=paterson(md.observed_temperature);
    2721md.rheology_n=3*ones(md.numberofelements,1);
    2822
    29 %Deal with boundary conditions:
    30 md=SetIceShelfBC(md,'Front.exp');
     23%Friction
     24pos=find(md.elementoniceshelf);
     25md.drag_coefficient=20*ones(md.numberofgrids,1);
     26md.drag_coefficient(md.elements(pos,:))=0;
     27md.drag_p=ones(md.numberofelements,1);
     28md.drag_q=ones(md.numberofelements,1);
    3129
    32 %Parallel options
     30%Numerical parameters
     31md.viscosity_overshoot=0.3;
     32md.verbose=0;
     33md.artificial_diffusivity=1;
    3334md.np=3;
    34 md.time=50;
    3535md.waitonlock=30;
     36
     37%Boundary conditions:
     38md=SetIceShelfBC(md,'./../Exp/SquareFront.exp');
  • issm/trunk/test/Validation/ISMIP/TestA/Square.par

    r4883 r4950  
    2424md=SetIceSheetBC(md);
    2525
    26 md.np=3;
     26md.np=10;
     27md.cluster=oshostname();
     28md.verbose=10;
Note: See TracChangeset for help on using the changeset viewer.