!   TITLE:  ground_load.parm (MMA WBDDS)
!
!---------------------------------------------------------------------------
!       Rev -   08/19/2006      D. Edwards
!---------------------------------------------------------------------------
!
!   Kinematics & Kinetics model of MMA Weapons Bay Doors and Linakges.
!
!   Ref: Boeing_model-2006-07-18.drw
!
!---------------------- a.) Title and Units Declaration --------------------
!
/title,MMA Weapons Bay Ground Loading
!
/units,bin
!
!--------------------- b.) Part Name Selection Variable --------------------
!
name='gl'
arry_nam='gl'
!
!--------------------------- c.) Model C.S. Names --------------------------
!
ct_name='CS_0'          ! cartesian
cyl_name='CS_1'         ! cylindrical
sph_name='CS_2'         ! spherical
!
!----------------------- d.) Material and Element Type ---------------------
!
!
! Material Properties
!mat_select,'c17_4'
!
!
et,1,beam3          ! 2-D beam element
keyopt,1,6,1        !Print member forces/moments in the element CS
!keyopt,1,9,9       ! Output result at 9 intermediat points along each beam
keyopt,1,9,0
!
E=28.0E6
mp,EX,1,E
mp,NUXY,1,0.27
mp,dens,1,0
!
D1=1
adia,'A1',D1
I1=pi*D1**4/64
!
!AREA, IZZ, HEIGHT, SHEARZ, ISTRN, ADDMAS
r,1,A1,I1,D1

!
! Door Mass
!
Wo = 402.9              ! [lbf] Outer door weight
Wi = 256.1              ! [lbf] Inner door weight

Mo = Wo/g_bin           ! [lbf-s^2/in]
Mi = Wi/g_bin

et,2,mass21
keyopt,2,1,0            ! Interpret real constants as masses and rotary inertias
keyopt,2,2,0            ! Element CS initially parallel to the global CS
keyopt,2,3,4            ! 2-D mass without rotary inertia
r,2,Mo                  ! Outer door mass
r,3,Mi                  ! Inner door mass

!
!--------------------------- e.) Model Parameters --------------------------
!

! Door hingeline
y1 = 53.5
z1 = -8.03125

! RGA driveline
y4 = 54.1041
z4 = 0.0000

! Strut pivot
y26 = 34.1870
z26 = 4.6886

Adoor0 = 131.57728
Arga0 = 74.73957637             ! Get Arga0 from run with Adoor=0

! Link Lengths
Lgoose = 7.0600
Llink = 9.8250
Lrga = 4.750
Ldo = 37.3820
Ldi = 18.3843
Lstrut = 45.0488

Ado = 82.07961

! Door CG locations
Ado1 = 4.33095
Ldo1 = 16.86247

Adi1 = 13.33694
Ldi1 = 12.18298

!
! Parameters for inner door skin arc
!
Ldisc = 72.7060             ! Inner door skin center w.r.t. CS240_1
Adisc = -72.1505
Ldis1 = 2.2558              ! Outboard corner
Adis1 = 106.4032
Ldis2 = 23.0544             ! Inboard corner
Adis2 = 14.4548
Rdis = 74.9610

!
!------------------------ f.) Model C.S. Coordinates -----------------------
!
acs=0                   ! active coordinate system
!
xc=0                    ! x coordinate center
yc=0                    ! y coordinate center
zc=0                    ! z coordinate center
!
rotxyc=0                ! xy rotation
rotyzc=0                ! yz rotation
rotzxc=0                ! zx rotation
!
!---------------------------------------------------------------------------