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.

FEMTIME and function callbacks

Please login with a confirmed email address before reporting spam

Hi There,

Has anyone tried to callback a user defined functions while solving a comsol model with femtime (using Callback and Callbparam)?

I can manage to pass on the solution variable to an m-file function but I don't understand the actual nodal locations of this variable (its a vector with some length).

Ideally I want to pass the fem structure itself to the function so that I can use post functions like postint, posteval and postinterp. I wrote a m-file function because I want to loop over one of those function everytime the solution itterates.

Any ideas?

Cheers,
Laith

0 Replies Last Post 2010年5月25日 GMT-4 22:52
COMSOL Moderator

Hello Laith Hurmez

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.