Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 26527

Can't use variable defined in 'Global Definitions' within a Waveform definition

$
0
0
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.

Viewing all articles
Browse latest Browse all 26527

Trending Articles