!   TITLE:  elev_reslvr_bearing.mac (AAAV)
!
!---------------------------------------------------------------------------
!       Rev -   06/13/2000  J. Rinaldi
!       Rev A   06/05/2002      D. Edwards
!               Added weight, volume and density calculation
!---------------------------------------------------------------------------
!
!   This macro creates the elevation resolver bearings:
!
!               P/N A311A102
!
!       UPPER ASSEMBLY:     CU06324017
!
!   This is used in the AAAV assembly, end unit CU01715076.
!
!   CSerb0: Cartesian Elevation Resolver Bearing Coordinate System
!   CSerb1: Cylindrical Elevation Resolver Bearing Coordinate System
!   CSerb2: Spherical Elevation Resolver Bearing Coordinate System
!
!
!************************** TABLE OF CONTENTS **************************
!
!       Model Assembly Preparation
!
!   1.  Parameter List
!   2.  Model Coordinate System
!   3.  Solid Model
!
!********************* Model Assembly Preparation **********************
!
mod_assemb_prep,arg1,arg2       ! prepare database for assembly
!
!<<<<<<<<<<<<<<<<<<<<<<<< 1.  Parameter List >>>>>>>>>>>>>>>>>>>>>>>>>>
!
elev_reslvr_bearing.parm                ! name of parameter file
!
!<<<<<<<<<<<<<<<<<<<< 2.  Model Coordinate System >>>>>>>>>>>>>>>>>>>>>
!
mod_coord_system,acs,xc,yc,zc,rotxyc,rotyzc,rotzxc
!
!<<<<<<<<<<<<<<<<<<<<<<<<<<< 3.  Solid Model >>>>>>>>>>>>>>>>>>>>>>>>>>
!
csys,CSerb0
!
k,,0,r1,l1
k,,0,r1,0
k,,0,r2,0
k,,0,r2,l1
!
create_area
!
lplot
!
!------------------------- 4 Material Properties ---------------------------
!
csys,CSerb0
!
!vol_revolved_area,'V','y'
V=0.29020
!
create_mat_prop,'mp_erb','ex',E,'nuxy',nu,'dens',(W/V)/g_bin
!
!-------------- Create Volume from Revolved Cross Section ------------------
!
*if,subassm_,ne,1,then
    csys,CSerb0

    k
    k,,0,0,1

    init_entity_num

    /psymb,cs,1
    revolve_aset,km-1,km,360,4
*endif
!
!
finalize_model