Log In | Get Help   
Home My Page Projects Code Snippets Project Openings transition state search using dynamics
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files Wiki
[tsscds] View of /trunk/src/diff_and_diss.f90
[tsscds] / trunk / src / diff_and_diss.f90 Repository:
ViewVC logotype

View of /trunk/src/diff_and_diss.f90

Parent Directory Parent Directory | Revision Log Revision Log


Revision 279 - (download) (annotate)
Wed Jun 27 20:30:08 2018 UTC (5 years, 11 months ago) by baaden
File size: 553 byte(s)
move to trunk 1
program diff_and_diss
use constants 
implicit none
integer, parameter :: dp = selected_real_kind(15,307)
! program to calculate ratediff and ratediss
real (dp) :: deltag,eta,ratediff,ratediss,temp,k
! read eta (in Pa*s=pascal*second) deltag (of reaction) and temperature (in K)
read(*,*) eta,deltag,temp
if(deltag>0) then
   ratediff=8*boltz*temp/3/eta*avog*1d3
else
   ratediff=boltz*temp/planck*exp(deltag/r/temp)*ratm*temp
endif
k=exp(-deltag/r/temp)/ratm/temp
ratediss=ratediff*k
! rate
print*, ratediff
print*, ratediss

end program diff_and_diss


root@forge.cesga.es
ViewVC Help
Powered by ViewVC 1.0.0  

Powered By FusionForge