source:
issm/oecreview/Archive/26740-27031/ISSM-26865-26866.diff@
27032
Last change on this file since 27032 was 27032, checked in by , 3 years ago | |
---|---|
File size: 797 bytes |
-
../trunk-jpl/src/c/classes/Materials/Matice.cpp
393 393 viscosity=(1.-D)*B/(2.*E); 394 394 } 395 395 else{ 396 397 /*if no strain rate, return maximum viscosity*/ 398 if(eps_eff==0.){ 399 viscosity = 1.e+14/2.; 400 //viscosity=2.5*pow(10.,17); 401 } 402 396 /*if strain rate is 0., it is probably our initial guess, use an average 397 * viscosity instead of a large one*/ 398 if(eps_eff==0.) viscosity = 1.e+14/2.; 403 399 else{ 400 /*if no strain rate, return maximum viscosity*/ 401 //if(eps_eff<1.e-6) eps_eff = 1e-6; 404 402 viscosity=(1.-D)*B/(2.*pow(E,1./n)*pow(eps_eff,(n-1.)/n)); 405 403 } 406 404 }
Note:
See TracBrowser
for help on using the repository browser.