Changeset 25705


Ignore:
Timestamp:
10/21/20 12:09:49 (4 years ago)
Author:
Mathieu Morlighem
Message:

BUG: fixing SHAKTI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/examples/shakti/moulin.par

    r23090 r25705  
    22
    33% Set up bed topography and ice geometry for a tilted 500m thick slab
    4     md.geometry.base = .02*md.mesh.x;
    5     md.geometry.bed = md.geometry.base;
    6     md.geometry.surface = .02*md.mesh.x + 500;
    7     md.geometry.thickness = md.geometry.surface - md.geometry.bed;
     4md.geometry.base = .02*md.mesh.x;
     5md.geometry.bed = md.geometry.base;
     6md.geometry.surface = .02*md.mesh.x + 500;
     7md.geometry.thickness = md.geometry.surface - md.geometry.bed;
    88
    99% Define ice sliding velocity (m/yr)
    10     md.initialization.vx = 10^-6*md.constants.yts*ones(md.mesh.numberofvertices,1);
    11     md.initialization.vy = zeros(md.mesh.numberofvertices,1);
    12     md.initialization.pressure=zeros(md.mesh.numberofvertices,1);
     10md.initialization.vx = 10^-6*md.constants.yts*ones(md.mesh.numberofvertices,1);
     11md.initialization.vy = zeros(md.mesh.numberofvertices,1);
     12md.initialization.pressure=zeros(md.mesh.numberofvertices,1);
    1313
    1414md.initialization.pressure=zeros(md.mesh.numberofvertices,1);
    1515
    1616% Materials
    17     % Ice flow law parameter (note that the standard parameter A=B^(-3))
    18     md.materials.rheology_B= (5e-25)^(-1/3)*ones(md.mesh.numberofvertices,1);
    19     md.initialization.temperature=(273)*ones(md.mesh.numberofvertices,1);
    20     md.materials.rheology_n=3.*ones(md.mesh.numberofelements,1);
     17% Ice flow law parameter (note that the standard parameter A=B^(-3))
     18md.materials.rheology_B= (5e-25)^(-1/3)*ones(md.mesh.numberofvertices,1);
     19md.initialization.temperature=(273)*ones(md.mesh.numberofvertices,1);
     20md.materials.rheology_n=3.*ones(md.mesh.numberofelements,1);
    2121
    2222%Calving
     
    2727md.friction=frictionshakti(md.friction);
    2828md.friction.coefficient=20.*ones(md.mesh.numberofvertices,1);
    29 
    3029
    3130%Numerical parameters
     
    4241md.timestepping.final_time=3.;
    4342
    44 %GIA:
    45 md.gia.lithosphere_thickness=100.*ones(md.mesh.numberofvertices,1); % in km
    46 md.gia.mantle_viscosity=1.0*10^21*ones(md.mesh.numberofvertices,1); % in Pa.s
    47 md.materials.lithosphere_shear_modulus=6.7*10^10;                   % in Pa
    48 md.materials.lithosphere_density=3.32;                              % in g/cm^-3
    49 md.materials.mantle_shear_modulus=1.45*10^11;                       % in Pa
    50 md.materials.mantle_density=3.34;                                   % in g/cm^-3
    51 
    5243%Boundary conditions:
    5344md=SetIceSheetBC(md);
    54 
    55 %Change name so that no test have the same name
    56 A=dbstack;
    57 if (length(A)>2), md.miscellaneous.name=A(3).file(1:end-2); end
    58 
Note: See TracChangeset for help on using the changeset viewer.