how can we create closed cell foam material

plesae help me