Produce Craig-Bampton Modes for Multibody Analysis
- Perform a normal analysis with fixed interface B.C.
 - 
                Read results. 
                
- m
 - System mass matrix (Lumped mass).
 - Xn
 - Fixed-interface modes (displacement of normal analysis).
 - Dn
 - Diagonals are the eigenvalues from the normal analysis.
 
 - Perform a static analysis with subcases where unit displacement along each DOF of the interface nodes is applied at each subcase.
 - 
                Read results. 
                
- Xc
 - Constraint modes (displacement of static analysis).
 - Fc
 - Nodal forces at B.C. from static analysis.
 
 - 
                Form modal mass matrix MHAT:
                
MHAT=X'*m*XWhere,X=[Xn, Xc]Form modal stiffness matrix KHAT:KHAT = |Dn 0| | 0 Fc| - 
                Solve the eigen problem to obtain N and D
                
KHAT*N=MHAT*N*D - 
                Transform the X to orthoginalized modes Y:
                
Y=X*NThe generalized mass and stiffness matrix are:M=N'*MHAT*N=I K=N'*KHAT*N=DY, D, and m are used to calculate the flexible MB input file.