Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Error in the number of arguments in the analytic functions

Please login with a confirmed email address before reporting spam

I am trying to model the heat transfer through a laser cavity by a pulsed pump laser with arguments in both space (r) and time (t). I have set up my analytic functions with both arguments defined and with units and it produces a plot. When I try to compute a study, it says that I only have one argument and should have two defined. The exact error code is below:

Function called with wrong number of arguments. - Function name: an1 - Number of arguments used: 1 - Number of arguments expected: 2 - Feature: Time-Dependent Solver 1 (sol1/t1)

If anyone can help me out with this, it would be appreciated.


0 Replies Last Post 19 nov 2018, 07:40 GMT-5
COMSOL Moderator

Hello Sam Stephen

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.