There are modeling guidelines for an Underfill Encapsulation analysis.
shape factor = (actual area of solid wall in thickness or planar direction) / (area of solid wall used in the simulation)