Is there a way to give specific mass to a solid body?
For simulation purposes I need to control and have specific mass on certain solid bodies. So the question is, is it possible to add a mass to a solid with random dimension
Usually in your CAD system you can determine the volume of the part. If you have a specific weight that you are working with, you can divide that into the volume and determine the density that you'd need to apply in order to have the model weight = your target weight.
If you use properties of your model, you could put that into a design table and do the calculations that way.