copied by aghrinkar | SimScale