Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
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 a function as an input to simulate turn-on turn-off sequence
Posted 17 gen 2014, 13:47 GMT-5 Heat Transfer & Phase Change Version 4.3 2 Replies
Please login with a confirmed email address before reporting spam
I'm using the Joule Heating module and I'm modeling a simple wire heater that heats up when I run a current trough it. I want to see how the temperature of the heater decays as a function of time in order to see if it falls off exponentially and check that the simulation is correct. However to do this I have to run the current for a while and then turn it off. To simulate this I created a piecewise function whose value is 2mA from 0 to 5s and then it's 0mA from 5 to 10s. I used continuous 1st derivative with a transition zone size of 0.1.
In my terminal node I write the name of my piecewise function rather than a number and I run the simulation. I get the error:
Failed to evaluate variable Jacobian.
- Variable: myfunc
- Global scope
- Feature: Time-Dependent Solver 1 (sol2/t1)
What am I doing wrong? How do implement a function as input for the current to simulate turning off the current?
In my terminal node I write the name of my piecewise function rather than a number and I run the simulation. I get the error:
Failed to evaluate variable Jacobian.
- Variable: myfunc
- Global scope
- Feature: Time-Dependent Solver 1 (sol2/t1)
What am I doing wrong? How do implement a function as input for the current to simulate turning off the current?
2 Replies Last Post 21 gen 2014, 09:19 GMT-5