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.
How can I define and where can I apply a variable function in space and time?
Posted Jan 24, 2024, 10:58 a.m. EST 7 Replies
Please login with a confirmed email address before reporting spam
Hello everyone, I have a problem and hope that someone can help me. I have attached a video and an image. The video shows (in blue) the trend of the y-component of the magnetic field traveling on a tape of HTS (in orange).
In Matlab, I reproduced this trend, and the function for By is "waveform = A * sin(2pix/lambda - 2pift) + DC_offset" with A = 0.68 [T], f = 12 Hz, lambda = 42 mm, DC_offset = 0.68 [T], mu_0 = 1.2510^-6 [H/m].
I would like to reproduce this phenomenon in Comsol, so I defined a 2D geometry (shown in the image) that consists of a tape of 92 mm modeled as a line and an external square space defined as air; the shape of this space is not important. I need to use the magnetic field physics in Comsol. I tried applying this function directly as an external magnetic field on the tape, but Comsol does not allow it. So my question is: How can I define and where can I apply the "waveform" function, variable with space and time, which synthesizes By so that it directly affects the tape and therefore reproduces something similar reported in the video?
Thanks in advance for any advice.
Marianna
Attachments: