[lammps-users] How can I relax a foam without destroying its structure

Hi everyone!
I use “delete_atoms porosity …” in order to make a foam. Now, how can I relax it before applying any load? Because, when I use NVT or NPT the foam’s structure is destroyed! Is there a way to solve my problem?

Thanks in advance
Nili