Analysis of ultrasonic effect on powder and application to radioactive sample compaction