Molecular simulation of porous silica and beta-alumina door