Molecular dynamics study on the phase diagrams of linear and branched chain molecules