Shabeer,
It is not clear what you are asking for. Perhaps you should begin by reading about pipe support design (get a better understanding of pipe terminology before you address how pipe supports should be modeled. Go here to read some background information:
http://pipingguru.wordpress.com/2008/03/01/pipe-supports/Look at page 76 and associated page in this document:
http://www.pipingdesigners.com/downloads/process plant piping overview.pdf
Find a copy of the book "The Piping Guide" and go to page 26 and see figure 2.72.A
There has been much discussion o dummy leg supports and trunnions here on this forum over the years so you can use the search facility (upper right corner of this page) to find previous discussions.
Regards, John.