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.

List of Available Functions

Please login with a confirmed email address before reporting spam

Hi,

I have a quick question for something that I, for some reason, have not been able to find. Is there documentation available that will provide me with all of the available functions that I can use in expressions and in postprocessing?

For example, I used MATLAB to perform an AC sweep of a model I created, and one of the values of interest was the amplitude of a resonating beam. Now, I am able to access these values, for example, in the x-direction with u_amp_smpn.

However, I want to create a Bode plot of sorts, and plot the frequency response on a dB scale. Thus, I need to normalize my data by dividing u_amp_smpn by the maximum value stored in u_amp_smpn. However, I have not been able to determine if there is in fact a max() function. I have tried using max(u_amp_smpn), however I'm told that max() takes at least two parameters. Could anyone provide me with a resource that lists these sorts of details?

Thanks!

3 Replies Last Post 25.07.2016, 10:25 GMT-4

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 29.07.2009, 09:26 GMT-4
Hi,

there is a list of the functions in 'Documentation'-->'COMSOL Multiphysics'-->'Reference guide'

Simone
Hi, there is a list of the functions in 'Documentation'-->'COMSOL Multiphysics'-->'Reference guide' Simone

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 29.07.2009, 10:22 GMT-4
Hallo,
Use COMSOL with Matlab.
The command "lookfor bode" in Matlab command line will give you the functions you are interested in, I think.
Regards,
Roland Martin
Hallo, Use COMSOL with Matlab. The command "lookfor bode" in Matlab command line will give you the functions you are interested in, I think. Regards, Roland Martin

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 25.07.2016, 10:25 GMT-4
Actually (in 5 anyway) it's called the Reference Manual. On page 213 begins a section called Operators, Functions, and Constants. I agree this is hard to find. I don't know how many hours of my life have been wasted looking for this again, after I've forgotten where they hide it. Pity there isn't a function help browser like in Matlab or Mathematica.
Actually (in 5 anyway) it's called the Reference Manual. On page 213 begins a section called Operators, Functions, and Constants. I agree this is hard to find. I don't know how many hours of my life have been wasted looking for this again, after I've forgotten where they hide it. Pity there isn't a function help browser like in Matlab or Mathematica.

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.