Three-dimensional finite volume computation of viscoelastic fluid encapsulation by phase-field modeling