A micromechanical approach To numerical modeling of yielding of open-cell porous structures under compressive loads