source: issm/trunk-jpl/test/Par/GiaBenchmarksCD.par@ 15771

Last change on this file since 15771 was 15771, checked in by Mathieu Morlighem, 12 years ago

CHG: Diagnostic is now Stressbalance

File size: 2.6 KB
Line 
1%Geometry specific to Experiments C and D
2rad=800000;
3nv=md.mesh.numberofvertices;
4for i=1:nv,
5 dist=sqrt(md.mesh.x(i).^2+md.mesh.y(i)^2);
6 if (dist <= rad)
7 md.geometry.thickness(i)=3000.0;
8 else
9 md.geometry.thickness(i)=1.0; % non-zero thickness
10 end
11end
12md.geometry.thickness=md.geometry.thickness';
13md.geometry.bed=zeros(md.mesh.numberofvertices,1);
14md.geometry.surface=md.geometry.thickness+md.geometry.bed;
15
16%Ice density used for benchmarking, not 917 kg/m^3
17md.materials.rho_ice=1000; %kg m^3
18
19%GIA parameters specific to Experiments A and B
20md.gia.mantle_viscosity=10^21*ones(md.mesh.numberofvertices,1); %in Pa.s
21md.gia.lithosphere_thickness=100*ones(md.mesh.numberofvertices,1); %in km
22md.materials.lithosphere_shear_modulus=6.7*10^10; %in Pa
23md.materials.lithosphere_density=3.32; %in g/cm^3
24md.materials.mantle_shear_modulus=1.45*10^11; %in Pa
25md.materials.mantle_density=3.34; %in g/cm^3
26
27%Initial velocity
28x = transpose(ncread('../Data/SquareSheetConstrained.nc','x'));
29y = transpose(ncread('../Data/SquareSheetConstrained.nc','y'));
30vx = transpose(ncread('../Data/SquareSheetConstrained.nc','vx'));
31vy = transpose(ncread('../Data/SquareSheetConstrained.nc','vy'));
32index = transpose(ncread('../Data/SquareSheetConstrained.nc','index'));
33
34md.initialization.vx=InterpFromMeshToMesh2d(index,x,y,vx,md.mesh.x,md.mesh.y);
35md.initialization.vy=InterpFromMeshToMesh2d(index,x,y,vy,md.mesh.x,md.mesh.y);
36clear vx vy x y index;
37md.initialization.vz=zeros(md.mesh.numberofvertices,1);
38md.initialization.pressure=zeros(md.mesh.numberofvertices,1);
39
40%Materials
41md.initialization.temperature=(273.-20.)*ones(md.mesh.numberofvertices,1);
42md.materials.rheology_B=paterson(md.initialization.temperature);
43md.materials.rheology_n=3.*ones(md.mesh.numberofelements,1);
44
45%Friction
46pos=find(md.mask.elementonfloatingice);
47md.friction.coefficient=20.*ones(md.mesh.numberofvertices,1);
48md.friction.coefficient(md.mesh.elements(pos,:))=0;
49md.friction.p=ones(md.mesh.numberofelements,1);
50md.friction.q=ones(md.mesh.numberofelements,1);
51
52%Numerical parameters
53md.stressbalance.viscosity_overshoot=0.0;
54md.masstransport.stabilization=1.;
55md.thermal.stabilization=1.;
56md.verbose=verbose(0);
57md.settings.waitonlock=30;
58md.stressbalance.restol=0.05;
59md.steadystate.reltol=0.05;
60md.stressbalance.reltol=0.05;
61md.stressbalance.abstol=NaN;
62md.timestepping.time_step=1.;
63md.timestepping.final_time=3.;
64
65%Boundary conditions:
66md=SetIceSheetBC(md);
67
68%Change name so that no test have the same name
69A=dbstack;
70if (length(A)>2), md.miscellaneous.name=A(3).file(1:end-2); end
71
Note: See TracBrowser for help on using the repository browser.