1: \begin{abstract}
2: This paper develops a computational framework with unfitted meshes to solve linear piezoelectricity and flexoelectricity electromechanical boundary value problems including strain gradient elasticity at infinitesimal strains.
3: The high-order nature of the coupled PDE system is addressed by a sufficiently smooth hierarchical B-spline approximation on a background Cartesian mesh.
4: The domain of interest is embedded into the background mesh and discretized in an unfitted fashion.
5: The immersed boundary approach allows us to use B-splines on arbitrary domain shapes, regardless of their geometrical complexity, and could be directly extended, for instance, to shape and topology optimization.
6: The domain boundary is represented by NURBS, and exactly integrated by means of the NEFEM mapping.
7: Local adaptivity is achieved by hierarchical refinement of B-spline basis, which are efficiently evaluated and integrated thanks to their piecewise polynomial definition.
8: Nitsche's formulation is derived to weakly enforce essential boundary conditions, accounting also for the non-local conditions on the non-smooth portions of the domain boundary (\ie edges in 3D or corners in 2D) arising from Mindlin's strain gradient elasticity theory.
9: Boundary conditions modeling sensing electrodes are formulated and enforced following the same approach.
10: Optimal error convergence rates are reported using high-order B-spline approximations.
11: The method is verified against available analytical solutions and well-known benchmarks from the literature.
12: \\
13:
14: \emph{Keywords:~}
15: Flexoelectricity\sep Piezoelectricity\sep Strain gradient elasticity \sep Immersed boundary B-spline approximation \sep High-order PDE \sep Nitsche's method
16:
17: \end{abstract}
18: