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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Why is RK fixed not working

FDS
12-Amethyst
12-Amethyst

Why is RK fixed not working

I have a worksheet that perfectly worked without units, but when I try to insert units RKfixed says that there are still units although I believe I stripped them all. Would someone be so kind to check what I did overlook?

1 ACCEPTED SOLUTION

Accepted Solutions

Hi,

 

Working File.

 

In the definition of  D the parameters need to be unit less.  PvO2.c is just a variable for the definition.  You could call it "y".  The units are applied to get λ.p and not used in the second equation of the function "D".

View solution in original post

6 REPLIES 6
-MFra-
21-Topaz II
(To:FDS)

Hi,

in the function D(x,--) the variable x isn't present . 

FDS
12-Amethyst
12-Amethyst
(To:-MFra-)

Thank you for your reply. The x represents the start and end value for rkfixed and is in my opinion correct. It works when I use it without units

Hi,

 

Approx 89 is the result as predicted

 

You do not need when finding the ratio of two values with the same units to divide by the units.

 

Not sure why you have vectorised the equations?

 

Cheers

Terry

FDS
12-Amethyst
12-Amethyst
(To:terryhendicott)

Thank you for your reply. The vectorization is done because in the final version the inputs are vectors but you are right it is not necessary for the example file. It works indeed perfect when removing the vectorization. However when I use a vector it is no longer working as shown in the attached worksheet. Any further suggestions?

Hi,

 

Working File.

 

In the definition of  D the parameters need to be unit less.  PvO2.c is just a variable for the definition.  You could call it "y".  The units are applied to get λ.p and not used in the second equation of the function "D".

FDS
12-Amethyst
12-Amethyst
(To:terryhendicott)

Thank you very much for your support. Your explanation was very helpful

Top Tags