Porosity

Hi everybody

I wanna construct polymers with desired porosity. For example, with 60%, 70% or 80% porosity. How can I do that?