copied by aghrinkar | SimScale...