Applied micromechanics of porous materials