Changeset 12117
- Timestamp:
- 04/24/12 21:42:26 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/materials.py
r12038 r12117 19 19 self.rheology_n = float('NaN') 20 20 self.rheology_law = ""; 21 22 self.setdefaultparameters() 21 23 #}}} 22 24 def __repr__(obj): … … 40 42 return string 41 43 #}}} 44 def setdefaultparameters(obj): 45 # {{{setdefaultparameters 46 #ice density (kg/m^3) 47 obj.rho_ice=917 48 49 #water density (kg/m^3) 50 obj.rho_water=1023 51 52 #water viscosity (N.s/m^2) 53 obj.mu_water=0.001787 54 55 #ice heat capacity cp (J/kg/K) 56 obj.heatcapacity=2093 57 58 #ice latent heat of fusion L (J/kg) 59 obj.latentheat=3.34*10**5 60 61 #ice thermal conductivity (W/m/K) 62 obj.thermalconductivity=2.4 63 64 #the melting point of ice at 1 atmosphere of pressure in K 65 obj.meltingpoint=273.15 66 67 #rate of change of melting point with pressure (K/Pa) 68 obj.beta=9.8*10**-8 69 70 #mixed layer (ice-water interface) heat capacity (J/kg/K) 71 obj.mixed_layer_capacity=3974 72 73 #thermal exchange velocity (ice-water interface) (m/s) 74 obj.thermal_exchange_velocity=1.00*10**-4 75 76 #Rheology law: what is the temperature dependence of B with T 77 #available: none, paterson and arrhenius 78 obj.rheology_law='Paterson' 79 return obj 80 #}}}
Note:
See TracChangeset
for help on using the changeset viewer.