Henrik Sönnerlind
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
9 years ago
23 feb 2016, 04:43 GMT-5
Hi,
I think you have to give a hint about which type of physical problem you are solving, since in most cases temperature as such is not part of the eigenfrequency problem. Is it thermoacoustics?
Chances that someone will answer your question are also much better if you upload a small example showing what you are trying to do.
Regards,
Henrik
Hi,
I think you have to give a hint about which type of physical problem you are solving, since in most cases temperature as such is not part of the eigenfrequency problem. Is it thermoacoustics?
Chances that someone will answer your question are also much better if you upload a small example showing what you are trying to do.
Regards,
Henrik
Please login with a confirmed email address before reporting spam
Posted:
9 years ago
24 feb 2016, 19:16 GMT-5
Henrick,
I take the gradient of T in the Z direction using the command TZ. I want to be able to get the absolute value of this at each phase of oscillation but when I use the command abs(TZ) it seems to give me the integral of |TZ(t)| over one period of oscillation. Compare 'Player 2' vs 'Player 3'. The values in 'Player 3' are constant during oscillation but I want the absolute value of the values from 'Player 2' at each phase.
How can I get TZ(t) at each time t?
I attached two images and the .mph model.
Thanks in advance.
Henrick,
I take the gradient of T in the Z direction using the command TZ. I want to be able to get the absolute value of this at each phase of oscillation but when I use the command abs(TZ) it seems to give me the integral of |TZ(t)| over one period of oscillation. Compare 'Player 2' vs 'Player 3'. The values in 'Player 3' are constant during oscillation but I want the absolute value of the values from 'Player 2' at each phase.
How can I get TZ(t) at each time t?
I attached two images and the .mph model.
Thanks in advance.
Henrik Sönnerlind
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
9 years ago
25 feb 2016, 02:11 GMT-5
Hi,
TZ is complex valued. What you see when you plot TZ is actually real(TZ) which is the actual value at the current phase angle in the cycle. When you create abs(TZ) you get the amplitude of the complex value, which is independent of the phase angle.
What I think you want to plot is abs(real(TZ)). This will give you the absolute value of the results at each phase angle.
Not that for the ordinary slice plot, you can enter the phase angle at which you examine the results in the settings for the data set.
Regards,
Henrik
Hi,
TZ is complex valued. What you see when you plot TZ is actually real(TZ) which is the actual value at the current phase angle in the cycle. When you create abs(TZ) you get the amplitude of the complex value, which is independent of the phase angle.
What I think you want to plot is abs(real(TZ)). This will give you the absolute value of the results at each phase angle.
Not that for the ordinary slice plot, you can enter the phase angle at which you examine the results in the settings for the data set.
Regards,
Henrik
Please login with a confirmed email address before reporting spam
Posted:
9 years ago
26 feb 2016, 14:54 GMT-5
Very helpful.
Now I'm trying to integrate (at each point) the value of abs(real(TZ)) over one oscillation of resonator. I have tried timeavg, timeint and these give me errors. How do I get the sum/integral of the expression abs(real(TZ)) over the desired timespan?
Very helpful.
Now I'm trying to integrate (at each point) the value of abs(real(TZ)) over one oscillation of resonator. I have tried timeavg, timeint and these give me errors. How do I get the sum/integral of the expression abs(real(TZ)) over the desired timespan?