cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

RKfixed Help

crusk
1-Newbie

RKfixed Help

Hey guys, I am attempting to solve a complex problem with rkfixed.  At the bottom of my sheet is where you will find the function.  I have my ODE defined with the variable "D", and when I run rkfixed it returns "this function cannot be used here".  I have been researching for hours with no luck to find the reason.  Can someone please help?

3 REPLIES 3
Werner_E
24-Ruby V
(To:crusk)

First error i spot is at page 2 - a unit mismatch

Not sure if it it is used later and has anything to with the solve block, but I would not go any further without fixing that problem.

Second error I spotted is the use of the vector cross product instead of a normal multiplication

After fixing that the solve block works, but stops with the error "This value must be real". That error is not traceable. No clue what the reason could be. Maybe you'll have to check your model for inconsistencies.

Tmetcalf
Emeritus
(To:crusk)

Good day Clint,

Welcome to PTC Community and I hope Werner Exinger‌'s answer was helpful.

If so, would you please make it as correct - this will let other readers know about this solution.

Thank you for participating.

Best,

Toby

-MFra-
21-Topaz II
(To:crusk)

Hi Clint Rusk,

by the following expression on, you have to make corrections. The coefficients can not be dimensionless, as is evident.

atm.jpg

You can not use the units just wherever you like ..

Top Tags