Modelling ferroic functional elements