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.
Using the if else condition in COMSOL
Posted 2017年2月7日 GMT-5 23:47 Low-Frequency Electromagnetics, Materials, Modeling Tools & Definitions, Parameters, Variables, & Functions Version 5.1, Version 5.2, Version 5.2a 1 Reply
Please login with a confirmed email address before reporting spam
I am simulating for the subsequent application and removal of magnetic field to magnetic materials to check for the increase and decrease of magnetization. I want to repeat the above steps with respect to time. That means I want to plot magnetization vs time but at the same time apply the switching condition on the magnetic field between Hmin and Hmax. I want to implement the if else condition on time as
If, time/10 is even, magnetic field H=Hmin
If, time/10 is odd, magnetic field H=Hmax
How to do this.
Any suggestion???
Thanks,
Subhasish
If, time/10 is even, magnetic field H=Hmin
If, time/10 is odd, magnetic field H=Hmax
How to do this.
Any suggestion???
Thanks,
Subhasish
1 Reply Last Post 2017年2月8日 GMT-5 09:23