Group Abstract Group Abstract

Message Boards Message Boards

0
|
2.2K Views
|
3 Replies
|
2 Total Likes
View groups...
Share
Share this post:

How can I solve ODE system using RKF45 method with shoting technique?

Posted 1 year ago
POSTED BY: J Prakash
3 Replies

Try this:

POSTED BY: Mariusz Iwaniuk
Posted 1 year ago

@Mariusz Iwaniuk, Thanks for your response. It will be used for my work. One more question. I tried to solve this problem for the parameter values m = 2;

phi = 0.1; 
rho[f_] := 997.1; 
Cp[f_] := 4179; 
k[f_] := 0.613; 
rho[s_] := 5200; 
Cp[s_] := 670; 
k[s_] := 6; 
k[nf_] := k[f]*(k[s]+(m-1)*k[f]-(m-1)*phi*(k[f]-k[s]))/(k[s]+(m-1)*k[f]+phi*(k[f]-k[s]));
alpha = (1/2)*Pi; 
M = 1; 
Pr = 6.2;

But I got an error

POSTED BY: J Prakash

Maybe this helps.

For RKF45 method see here and how works ParametricNDSolveValue see here.

POSTED BY: Mariusz Iwaniuk
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard