!   TITLE:  cm_stator.mac (COMMON_MISSILE)
!
!-----------------------------------------------------------------------
!   Rev -   04/29/2003      J. Rinaldi
!-----------------------------------------------------------------------
!
!   This macro creates the common missile housing concept.
!
!   CSstat0:        Cartesian Stator Coordinate System
!   CSstat1:        Cylindrical Stator Coordinate System
!   CSstat2:        Spherical Stator 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,arg3
!
!<<<<<<<<<<<<<<<<<<<<<<<< 1.  Parameter List >>>>>>>>>>>>>>>>>>>>>>>>>>
!
cm_stator.parm
!
!<<<<<<<<<<<<<<<<<<<< 2.  Model Coordinate System >>>>>>>>>>>>>>>>>>>>>
!
mod_coord_system,acs,xc,yc,zc,rotxyc,rotyzc,rotzxc
!
!<<<<<<<<<<<<<<<<<<<<<<<<<<< 3.  Solid Model >>>>>>>>>>>>>>>>>>>>>>>>>>
!
!
!----------------------- 3.1  Stator Cross-Section --------------------
!
csys,CSstat0
!
k,,0,D01/2,0
k,,0,D02/2,0
k,,0,D02/2,Dz01
k,,0,D04/2,Dz01
k,,0,D04/2,Dz02
!
k,,0,D02/2,Dz02
k,,0,D02/2,Dz03
k,,0,D05/2,Dz03
k,,0,D05/2,Dz04
k,,0,D06/2,Dz02
!
k,,0,D03/2,Dz02
k,,0,D03/2,Dz01
k,,0,D01/2,Dz01
!
create_lines
!
ksel,s,kp,,km-12,km-11,1
ksel,a,kp,,km-6,km-5,1
ln_fillet,,R01
!
create_area-lines
!
lplot
!
!----------------------- 3.2  Revolve Cross-Section -------------------
!
csys,CSstat0
!
revolve_aset,CSstat0,360,4
!
vadd,all
init_entity_num
!
lplot
!
finalize_model