Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
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.
Can't use variable defined in 'Global Definitions' within a Waveform definition
Posted 11 nov 2012, 19:41 GMT-5 Version 4.2a 3 Replies
Please login with a confirmed email address before reporting spam
I have defined 'tau' in Global Definitions as a variable = 40000*3600*24*365.25[s]
I have created a Waveform also in Global Definitions (and in local definitions just to check), with angular frequency = 2*pi/tau.
It does not like it: 'Unknown variable name' when I try to plot my Waveform.
If instead I substitute '2*pi/( 40000*3600*24*365.25)', then it's fine.
Why is this?
Ben.
I have created a Waveform also in Global Definitions (and in local definitions just to check), with angular frequency = 2*pi/tau.
It does not like it: 'Unknown variable name' when I try to plot my Waveform.
If instead I substitute '2*pi/( 40000*3600*24*365.25)', then it's fine.
Why is this?
Ben.
3 Replies Last Post 12 nov 2012, 17:47 GMT-5