he longitudinal mode has the velocity C L = { [ K + ( 4 / 3 ) G ] / ρ } 1 / 2 and the transverse mode has the velocity C T = { G / ρ } 1 / 2 . Here ρ is the mass density of the medium. In this case there is no distinction between phase velocity and group velocity.
Mrain Soheir , to obtain the longitudinal vibration mode in ANSYS, you can use the beam element, but you will need to eliminate the two transverse DOFs of all the nodes. The beam element in ANSYS are mostly 3D beam elements.