Processing of thermal insulation materials with controlled porosity