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

Result is triangular, should be cosine wave

$
0
0
Hello all,

i am trying to simulate magnetic flux induced by a multi-turn coil with current as coil excitation. Now that should be no problem but i want to do it in the time domain for a couple of periods.

This means i have to define the current as a time dependent variable, which is no problem and i use this expression: I_time=I_max*cos(2*pi*t/T_per) . However when the computing finishes the result just goes crazy after half a period. it should be a cosine wave all the way just like the current is a cosine wave as well, but after half a period it becomes triangular. also the voltage, which should be a sine wave, just after half a period or so gets triangular and then almost binary!

Now the interesting thing here is that when i use voltage for coil excitation i am able to get proper results, both with the current being a cosine wave and with the magnetic flux being one as well. But here also i cant just use a normal expression for a sine wave, i need to move it forward for pi/2 so that the expression becomes: V_time=V_max*sin(2*pi*t/T_per-pi/2), without this pi/2 this wont work neither.

because of this i dont think it is a design flaw but might rather have something to do with the solver or i t might even be a bug.

anyone had similar problems or does know the answer to this one? the problem is 2d\axisymetric and i attached a file containing the model. all help is appreciated

Viewing all articles
Browse latest Browse all 26527

Trending Articles