精品文档
?/p>
1
欢迎下载
程序结构力学大作?/p>
?/p>
81
孙玉?/p>
该程序可计算任意平面结构任意阶频率(包括重频?/p>
,以及任意阶振型(包括重频对?/p>
正交振型?/p>
。计算时,振型不包括不包括单元固端型振型?/p>
!****************************
module NumKind
!***************
implicit none
integer (kind(1)),parameter :: ikind = kind(1), rkind = kind(0.D0)
real (rkind),parameter :: Zero = 0._rkind, One = 1._rkind, Two = 2._rkind, &
Three= 3._rkind, Four = 4._rkind, Five = 5._rkind, &
Six = 6._rkind, Seven= 7._rkind, Eight = 8._rkind, &
Nine = 9._rkind, Ten =10._rkind, Twelve=12._rkind
end module NumKind
!**************
module TypeDef
!**************
use NumKind
implicit none
type :: typ_Joint
real (rkind) :: x,y
integer (ikind) :: GDOF(3)
end type typ_Joint
type :: typ_Element
integer (ikind) :: JointNo(2),GlbDOF(6)
real (rkind) :: Length,CosA,SinA,EI,EA,mass
end type typ_Element
type :: typ_JointLoad
integer (ikind) :: JointNo,LodDOF
real (rkind) :: LodVal
end type typ_JointLoad
type :: typ_ElemLoad
integer (ikind) ::ElemNo,Indx
real (rkind) :: Pos,LodVal
end type typ_ElemLoad
contains
!===================================
subroutine SetElemProp (Elem, Joint)
!===================================
type (typ_Element),intent(in out) :: Elem(:)