How to mesh a block?

I am a finite element analysis programmer, i want to know how to mesh a block such a cube,thank you very much!