Need solution of coupled ordinary differential equation

4 Kommentare

The ODE integrator is never called.
For i=1, you set sigmadotprev(i)=0 and you want to call ODE15I only if sigmadotprev(i)>0
(
if siprev(i)>=sicrs && siprev(i)<=sicrf && Tprev(i)<=Mf && sigmadotprev(i)>0
...
else
end
)
yeah I did a typing mistake ... it is 10. Even when it is 10, its giving errors
You did not assign values to all the global variables you use in "martensiteMsigma". That's why res(1) is empty.
yeah ...thank you its resolved now..

Melden Sie sich an, um zu kommentieren.

Antworten (1)

nisha bhatt
nisha bhatt am 4 Jul. 2019

0 Stimmen

And in this system i have not written dzdt equations because for the next iteration, its value depends on solution of ode15i. I tried to run it for first iteration but the above mentioned error keeps coming.

Produkte

Version

R2018b

Gefragt:

am 4 Jul. 2019

Bearbeitet:

am 4 Jul. 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by