Design and applications of a scalable immersogeometric framework based on octree