freefoam-ansysToFoam: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/freefoam-ansysToFoam - from package: freefoam

You may install the required package with command apt-get install {package}
Error in other languages:
freefoam-ansysToFoam: bevel nie gevind nie
freefoam-ansysToFoam: comandă negăsită
freefoam-ansysToFoam: comando não encontrado
freefoam-ansysToFoam: commande introuvable
freefoam-ansysToFoam: command not found
freefoam-ansysToFoam: käsku ei ole
freefoam-ansysToFoam: không tìm thấy lệnh
freefoam-ansysToFoam: komanda nerasta
freefoam-ansysToFoam: Kommando nicht gefunden.
freefoam-ansysToFoam: kommandot finns inte
freefoam-ansysToFoam: komut yok
freefoam-ansysToFoam: nie znaleziono polecenia
freefoam-ansysToFoam: níor aimsíodh an t-ordú
freefoam-ansysToFoam: no se encontró la orden
freefoam-ansysToFoam: no s'ha trobat l'ordre
freefoam-ansysToFoam: opdracht niet gevonden
freefoam-ansysToFoam: parancs nem található
freefoam-ansysToFoam: perintah tidak ditemukan
freefoam-ansysToFoam: príkaz nenájdený
freefoam-ansysToFoam: příkaz nenalezen
freefoam-ansysToFoam: команда не найдена
freefoam-ansysToFoam: командата не е открита
freefoam-ansysToFoam: 命令找不到
freefoam-ansysToFoam: コマンドが見つかりません