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.
Applying a sinusoidal voltage in a time dependent study
Posted 23 févr. 2021, 14:49 UTC−5 Electromagnetics, Acoustics & Vibrations, Microfluidics Version 5.6 7 Replies
Please login with a confirmed email address before reporting spam
Hi,
I am trying to apply a sinusoidal voltage on the boundary of a rectangular transducer. I am using the equation: V=Asin(2pift) for which I define the variables on the global definitions section. However, I am not sure as to what 't' represents. Isn't the simulation time/variable? How am I going to define it at the global definitions section since it changes for different simulations?
Please login with a confirmed email address before reporting spam
Hi,
I tried to help even if I am not an expert. If you want to apply a time-dependent voltage, you have to select electric potential in "electrostatic interface", and you can define directly the voltage writing the expression that you need : V= Asin(2pift). "t" represents the time and you don't need to define it in the global defintions I think. I hope this helps.
Please login with a confirmed email address before reporting spam
Hi,
Thank you for your reply.
It worked and I don't get an error. However, I can't see a sinusoidal wave formed and I get a constant output similar to when I was applying a constant DC voltage. Do you happen to know why is that the case?
Please login with a confirmed email address before reporting spam
Hi,
Just some basic checks:
- Are you using a time-dependent study?
- If you defined the sinusoidal wave as a function, are you calling it from the physics with the time t as the input?
- You may also check that the dynamics of the physics and the sinusoidal match so that you can expect a sinusoidal output.
Best regards,
Magnus Ringh
Please login with a confirmed email address before reporting spam
Hi Magnus,
Thank you for your reply.
Yes, I am using a time-dependent study and I have included the V=A* (2pif*t) in the electric potential tab under Electrostatics. I have attached the .mph file.
Attachments:
Please login with a confirmed email address before reporting spam
Some thoughts
- are you sure you want a time-dependent study? Most of the time people are interested in the sinusoidal steady state response, and that is much more easily determined in a frequency dependent study.
- pdms should probably be a linear elastic solid with the pressure formulation checked.
Please login with a confirmed email address before reporting spam
Hi,
I had a brief look at the model. You are using a very high frequency when compared to the simulated time span, and with the output times and default time stepping you will get aliasing effects, etc. Try starting with a shorter simulation time span (just a few periods) and check the time stepping options in the Time-Dependent Solver subnode: with a strict time stepping and a tight tolerance, you will see a sinusoidal electric potential at the boundaries where you applied it.
That said, perhaps this modeling approach isn't the best for this type of physics (see the comment above by Dave Greve). I'm no expert in that part, so I cannot really say.
Best regards, Magnus Ringh
Please login with a confirmed email address before reporting spam
Hi Dave and Magnus,
Thank you both for your replies, they are realy helpful!
I need a time-dependent study to understand the formation of standing waves in a water channel since in the frequency domain, the type of wave is not very clear.
I think the issue is with the frequency and the time-step as Magnus pointed out.
I will give this a go and see if it is working.
Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.
Suggested Content
- KNOWLEDGE BASE Solving electromagnetic heating models with high-frequency loads
- KNOWLEDGE BASE Security Vulnerabilities in Apache Log4J
- FORUM Amplitude Modulated sinusoidal
- BLOG RF Signal Transformation Between the Time and Frequency Domains
- FORUM Multi-turn coil - Linear analysed with sinusoidal current in a transient study.