CalculiX  2.13
A Free Software Three-Dimensional Structural Finite Element Program
writeevcs.f File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine writeevcs (x, nx, nm, xmin, xmax)
 

Function/Subroutine Documentation

◆ writeevcs()

subroutine writeevcs ( real*8, dimension(nx)  x,
integer  nx,
integer  nm,
real*8  xmin,
real*8  xmax 
)
20 !
21 ! writes the eigenvalues to unit 3 and replaces the
22 ! eigenvalue by its square root = frequency (in rad/time)
23 !
24 ! nm is the nodal diameter
25 !
26  implicit none
27 !
28  integer j,nx,nm
29  real*8 x(nx),pi,xmin,xmax,xnull
30 !
31  pi=4.d0*datan(1.d0)
32  xnull=0.d0
33 !
34  write(5,*)
35  write(5,*) ' E I G E N V A L U E O U T P U T'
36  write(5,*)
37  write(5,*) ' NODAL MODE NO EIGENVALUE FR
38  &EQUENCY'
39  write(5,*) 'DIAMETER REAL PART
40  & IMAGINARY PART'
41  write(5,*) ' (RAD/TIME) (CY
42  &CLES/TIME) (RAD/TIME)'
43  write(5,*)
44 !
45  do j=1,nx
46 !
47 ! user-defined minimum frequency
48 !
49  if(xmin.gt.-0.5d0) then
50  if(xmin*xmin.gt.x(j)) cycle
51  endif
52 !
53 ! user-defined maximum frequency
54 !
55  if(xmax.gt.-0.5d0) then
56  if(xmax*xmax.lt.x(j)) exit
57  endif
58 !
59 !
60  if(x(j).lt.0.d0) then
61  write(5,'(i5,4x,i7,4(2x,e14.7))') nm,j,x(j),xnull,
62  & xnull,dsqrt(-x(j))
63  else
64  write(5,'(i5,4x,i7,4(2x,e14.7))') nm,j,x(j),dsqrt(x(j)),
65  & dsqrt(x(j))/(2.d0*pi),xnull
66  endif
67  enddo
68 !
69  return
Hosted by OpenAircraft.com, (Michigan UAV, LLC)