Thailand 's military has named a committee to begin the process of writing a new constitution , following a military coup last month .