formula by walter_ll123 | SimScale