Finite element model for PAM scaffolds