Ericksen's Bar and Modeling of the Smectic A-Nematic Phase Transition