Can someone tell how to use state.time, state.u simultaneously?
Ältere Kommentare anzeigen
I have a heat generation function of temperature and time. I'm confused how state.u gets translated to final temperature.
6 Kommentare
KSSV
am 9 Jun. 2020
You have a code.....how we can know?
Dhanush Bejjarapu
am 9 Jun. 2020
Ravi Kumar
am 9 Jun. 2020
Hi Dhanush,
Hmm... when you have a nonlinear setup, you should get updated temperture in state.u as nonlinear sover setups through the solution. The fact that your solution remains at 303 indicates there is no load on the system. Need a bit more context on the rest of your setup to understand the issue. What else is there other than the nonlinear heat source. Other diagnositc you can do is pass your own value of state.u, in the right format, and make sue your functions responds to change in the value you pass in. If nonlinear function does not change for some reason, you have a fairly complex function, the solution would stay at the initla conditon. You can also trun on iteration reporting using model.SolverOptions.ReportStastics = 'on'.
Regards,
Ravi
Dhanush Bejjarapu
am 9 Jun. 2020
Ravi Kumar
am 9 Jun. 2020
Hi Dhanush,
I see that the temperature is changing, but by very small amount from its initial temperature. What version of matlab are you using?
Regards,
Ravi
Dhanush Bejjarapu
am 10 Jun. 2020
Antworten (1)
Jorge Garcia Garcia
am 10 Jul. 2023
1 Stimme
I am also having some issues with state.time. I have 5 time instances and it seems just to read 0 and a randon number.. then it just generates NAN values
Kategorien
Mehr zu Heat Transfer finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!