Effect of porosity on mechanical behavouire