Can someone tell how to use state.time, state.u simultaneously?
Afficher commentaires plus anciens
I have a heat generation function of temperature and time. I'm confused how state.u gets translated to final temperature.
6 commentaires
KSSV
le 9 Juin 2020
You have a code.....how we can know?
Dhanush Bejjarapu
le 9 Juin 2020
Ravi Kumar
le 9 Juin 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
le 9 Juin 2020
Ravi Kumar
le 9 Juin 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
le 10 Juin 2020
Réponses (1)
Jorge Garcia Garcia
le 10 Juil 2023
1 vote
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
Catégories
En savoir plus sur Structural Mechanics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!