If there is a volume with a complicated general shape it will become almost imposible to integrate the calculations over the entire undefined shape. There is need for approximations either with verry close functions either making an series expantion basically approximate the undefined structure with something simple and the add complexity with each term of the expansion.