Jeff Hiller
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
7 months ago
27.10.2025, 11:19 GMT-4
Updated:
7 months ago
27.10.2025, 15:21 GMT-4
Hi Michail,
Maybe this is helpful? You should be able to make it play a sound, using some of these commands.
Jeff
-------------------
Jeff Hiller
Hi Michail,
Maybe [this](https://www.comsol.com/forum/thread/99981/notification-of-solution) is helpful? You should be able to make it play a sound, using some of [these commands](https://doc.comsol.com/6.3/docserver/#!/com.comsol.help.comsol/application_programming_guide.15.53.html).
Jeff
Jeff Hiller
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
7 months ago
27.10.2025, 15:54 GMT-4
Updated:
7 months ago
30.10.2025, 08:41 GMT-4
Hi Michail,
I created a toy model, attached, that includes two model methods. Running Method2 generates a mesh then beeps at 1000Hz for 1s. Running Method4 runs the solver sequence and produces the temperature plot then beeps at 2000Hz for 1.5s.
You can view the code for these two model methods in the Application Builder. Since I am no Java wizard, I created the methods by using the Record Method functionality and then simply added one line of code at the end of each to make them play the sound. You can have fun with it and make the playSound command play a .wav file instead, or have the methods send you emails as discussed above. See https://doc.comsol.com/6.3/docserver/#!/com.comsol.help.comsol/application_programming_guide.15.53.html and https://doc.comsol.com/6.3/docserver/#!/com.comsol.help.comsol/application_programming_guide.15.54.html
for more info on these commands.
Best,
Jeff
PS: While what you want can be done pretty readily using model methods as explained above, I have internally passed the request for a way of getting the software to issue notification that would not require creating a method. I like the idea.
-------------------
Jeff Hiller
Hi Michail,
I created a toy model, attached, that includes two model methods. Running Method2 generates a mesh then beeps at 1000Hz for 1s. Running Method4 runs the solver sequence and produces the temperature plot then beeps at 2000Hz for 1.5s.
You can view the code for these two model methods in the Application Builder. Since I am no Java wizard, I created the methods by using the Record Method functionality and then simply added one line of code at the end of each to make them play the sound. You can have fun with it and make the playSound command play a .wav file instead, or have the methods send you emails as discussed above. See https://doc.comsol.com/6.3/docserver/#!/com.comsol.help.comsol/application_programming_guide.15.53.html and https://doc.comsol.com/6.3/docserver/#!/com.comsol.help.comsol/application_programming_guide.15.54.html
for more info on these commands.
Best,
Jeff
PS: While what you want can be done pretty readily using model methods as explained above, I have internally passed the request for a way of getting the software to issue notification that would not require creating a method. I like the idea.