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.
Wrong function output values
Posted 18 janv. 2017, 12:50 UTC−5 Heat Transfer & Phase Change, Materials Version 5.2a 3 Replies
Please login with a confirmed email address before reporting spam
Hi. I am new to comsol and came across a weird problem that I need help with.
I use a piecewise function to determine a changing boundary temperature in my model like this:
Days 0 to 25: T = 283 K
Days 25 to 50: T = 300 K
Timestep = 0.1 day
So the temperature should change at day 25 but for some reason it changes prematurely at day 21! The magnitude of the deviance changes depending on amount of days simulated.
I have tried every trick I can think of to find the source of this problem but to no avail. The interpolation function gives same wrong outputs but the analytic function seems to work like it should.
Any ideas what could be causing this?
I use a piecewise function to determine a changing boundary temperature in my model like this:
Days 0 to 25: T = 283 K
Days 25 to 50: T = 300 K
Timestep = 0.1 day
So the temperature should change at day 25 but for some reason it changes prematurely at day 21! The magnitude of the deviance changes depending on amount of days simulated.
I have tried every trick I can think of to find the source of this problem but to no avail. The interpolation function gives same wrong outputs but the analytic function seems to work like it should.
Any ideas what could be causing this?
Attachments:
3 Replies Last Post 18 janv. 2017, 15:43 UTC−5