Last change
on this file since 202 was
135,
checked in by aslmd, 14 years ago
|
CHANGEMENT ARBORESCENCE ETAPE 2 -- NON COMPLET
|
File size:
1.3 KB
|
Rev | Line | |
---|
[135] | 1 | subroutine stokes(p,t,rd,w,rho_aer) |
---|
| 2 | |
---|
| 3 | !================================================================== |
---|
| 4 | ! Purpose |
---|
| 5 | ! ------- |
---|
| 6 | ! Compute the sedimentation velocity in a low pressure |
---|
| 7 | ! atmosphere. |
---|
| 8 | ! |
---|
| 9 | ! Authors |
---|
| 10 | ! ------- |
---|
| 11 | ! Francois Forget (1997) |
---|
| 12 | ! |
---|
| 13 | !================================================================== |
---|
| 14 | |
---|
| 15 | ! use radcommon_h, only : Rgas |
---|
| 16 | |
---|
| 17 | implicit none |
---|
| 18 | |
---|
| 19 | #include "comcstfi.h" |
---|
| 20 | |
---|
| 21 | ! input |
---|
| 22 | ! ----- |
---|
| 23 | ! pressure (Pa), Temperature (K), particle radius (m), density |
---|
| 24 | real p, t, rd, rho_aer |
---|
| 25 | |
---|
| 26 | ! output |
---|
| 27 | ! ------ |
---|
| 28 | ! sedimentation velocity (m/s, >0) |
---|
| 29 | real w |
---|
| 30 | |
---|
| 31 | ! locally saved variables |
---|
| 32 | ! ----------------------- |
---|
| 33 | real a,b |
---|
| 34 | save a,b |
---|
| 35 | |
---|
| 36 | LOGICAL firstcall |
---|
| 37 | SAVE firstcall |
---|
| 38 | DATA firstcall/.true./ |
---|
| 39 | |
---|
| 40 | if (firstcall) then |
---|
| 41 | |
---|
| 42 | !print*,'Routine not working: replace Rgas with r' |
---|
| 43 | !stop |
---|
| 44 | !a = 0.707*Rgas/(4*pi*molrad**2 * avocado) |
---|
| 45 | a = 0.707*R/(4*pi*molrad**2 * avocado) |
---|
| 46 | b = (2./9.) * rho_aer * g / visc |
---|
| 47 | firstcall=.false. |
---|
| 48 | end if |
---|
| 49 | |
---|
| 50 | ! Sedimentation velocity = |
---|
| 51 | ! Stokes' Law corrected for low pressures by the Cunningham |
---|
| 52 | ! slip-flow correction according to Rossow (Icarus 36, 1-50, 1978) |
---|
| 53 | w = b * rd*rd * (1 + 1.333* (a*T/P)/rd ) |
---|
| 54 | |
---|
| 55 | return |
---|
| 56 | end subroutine stokes |
---|
Note: See
TracBrowser
for help on using the repository browser.