I am currently filling a "standard" stainless steel cup of known volume with foam and then I weigh it. Then I calculate density. This method is pretty messy and I have to be careful about how I fill the stainless steel cup so that larger air pockets aren't trapped on accident. I need to figure out a less messy and more reliable method that would allow me to read or calculate specific gravity of the foam more frequently.
I tried fabricating a tube that could be filled with foam from one end and then just scrape the excess foam on both ends, but it turned out to be messier than the original method.