If the software was installed as an ubuntu (deb) package the system
knows the location of every file as well as the correct size, mode, and
md5sum of each file. You can list those file locations with the command
"dpkg -L <package name>"
If it was not a proper linux package, then you'll need to consult the
vendor documentation or ask the vendor directly, where they put the files.
BTW "locate" does not perform an exhaustive system search. You might use
the find command, but keep in mind that if you search for "comsol" that
does not match "Comsol" unless you invoke the case insensitivity option.
(find / -iname comsol)