slove block
Mar 30, 2010
03:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Mar 30, 2010
03:00 AM
slove block
Can anyone see why the attached solve block won't work
Labels:
- Labels:
-
Other
7 REPLIES 7
Mar 30, 2010
03:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Mar 30, 2010
03:00 AM
On 3/30/2010 11:19:40 AM, dmg wrote:
>Can anyone see why the
>attached solve block won't
>work
Hello Dr. Griffin,
There appears to be two problems:
> you define m:2 at the top, which messes up the meter unit
> the solve block returns 3 quantities with differing units, and that's not allowed in M14. You'll need to do find(f, Vel/(m/s),Re.number) to get units agreement, and then add the m/s later.
I get 0.017, 1.931 (m/s), and 1.012E7
TTFN,
Eden
>Can anyone see why the
>attached solve block won't
>work
Hello Dr. Griffin,
There appears to be two problems:
> you define m:2 at the top, which messes up the meter unit
> the solve block returns 3 quantities with differing units, and that's not allowed in M14. You'll need to do find(f, Vel/(m/s),Re.number) to get units agreement, and then add the m/s later.
I get 0.017, 1.931 (m/s), and 1.012E7
TTFN,
Eden
Mar 30, 2010
03:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Mar 30, 2010
03:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Mar 30, 2010
03:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Mar 30, 2010
03:00 AM
On 3/30/2010 11:46:50 AM, eden_mei wrote:
>> the solve block returns 3 quantities with >>differing units, and that's not allowed in M14.
It is if you assign the results of the solve block to a vector of variables (unlike in MC11, where you could assign the results to a single variable). But I see dmg has already figured that out.
Richard
>> the solve block returns 3 quantities with >>differing units, and that's not allowed in M14.
It is if you assign the results of the solve block to a vector of variables (unlike in MC11, where you could assign the results to a single variable). But I see dmg has already figured that out.
Richard
Mar 30, 2010
03:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Mar 30, 2010
03:00 AM
If you look at the original file I submitted it was in the correct form, a vector was used to hold soln variables, however it does not work. The useless error message hints at a units problem but I do not see one.
Mar 30, 2010
03:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Mar 30, 2010
03:00 AM
Eden identitified the problem for you first file in his original post -- you define the variable m, and subsequently try to use m to represent the meter unit. You can't do that, unless you use math styles to distinguish the different usages.
__________________
� � � � Tom Gutman
__________________
� � � � Tom Gutman
Mar 30, 2010
03:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Mar 30, 2010
03:00 AM
yep, I figured that might be it but could not spot the problem. Thanks
