On-site Foam Generation