Changeset 16137 for issm/trunk/test/Par/SquareShelf.py
- Timestamp:
- 09/16/13 09:43:55 (12 years ago)
- Location:
- issm/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk
- Property svn:ignore
-
old new 1 nightlylog 2 configure.sh 1 3 par 2 4 ad
-
- Property svn:mergeinfo changed
/issm/trunk-jpl merged: 15397-15401,15403-15487,15489-15701,15704-15735,15737-16076,16082-16133
- Property svn:ignore
-
issm/trunk/test
- Property svn:mergeinfo changed
-
issm/trunk/test/Par/SquareShelf.py
r15396 r16137 14 14 ymin=min(md.mesh.y) 15 15 ymax=max(md.mesh.y) 16 17 md.geometry.thickness=hmax+(hmin-hmax)*(md.mesh.y.reshape(-1,1)-ymin)/(ymax-ymin) 16 xmin=min(md.mesh.x) 17 xmax=max(md.mesh.x) 18 md.geometry.thickness=hmax+(hmin-hmax)*(md.mesh.y.reshape(-1,1)-ymin)/(ymax-ymin)+0.1*(hmin-hmax)*(md.mesh.x.reshape(-1,1)-xmin)/(xmax-xmin) 18 19 md.geometry.bed=-md.materials.rho_ice/md.materials.rho_water*md.geometry.thickness 19 20 md.geometry.surface=md.geometry.bed+md.geometry.thickness … … 59 60 60 61 #Friction 61 pos=nonzero(md.mask.elementonfloatingice)62 62 md.friction.coefficient = 20.*ones((md.mesh.numberofvertices,1)) 63 md.friction.coefficient[ md.mesh.elements[pos,:].astype(int)-1] =0.63 md.friction.coefficient[numpy.nonzero(md.mask.groundedice_levelset<0.)[0]]=0. 64 64 md.friction.p = ones((md.mesh.numberofelements,1)) 65 65 md.friction.q = ones((md.mesh.numberofelements,1)) 66 66 67 67 #Numerical parameters 68 md. diagnostic.viscosity_overshoot = 0.369 md. prognostic.stabilization = 1.68 md.stressbalance.viscosity_overshoot = 0.3 69 md.masstransport.stabilization = 1. 70 70 md.thermal.stabilization = 1. 71 71 md.settings.waitonlock = 30 72 72 md.verbose=verbose() 73 md. diagnostic.restol = 0.1073 md.stressbalance.restol = 0.10 74 74 md.steadystate.reltol = 0.02 75 md. diagnostic.reltol = 0.0276 md. diagnostic.abstol = nan75 md.stressbalance.reltol = 0.02 76 md.stressbalance.abstol = nan 77 77 md.timestepping.time_step = 1. 78 78 md.timestepping.final_time = 3.
Note:
See TracChangeset
for help on using the changeset viewer.