Mathematical Modeling of Flexoelectric Effect