Post Reply 
Mohr's Circle
11-06-2014, 11:59 AM
Post: #1
Mohr's Circle
Hi All,

Anyone has an idea to make a program to Mohr's Circle to HP PRIME?

Cumprimentos
Best regards/Mit freundlichen Grüßen
Diamantino
Find all posts by this user
Quote this message in a reply
11-07-2014, 04:41 PM
Post: #2
RE: Mohr's Circle
Well, I don't want you to do the program but intend to collect opinions to do so. How to plot circles, etc.
Find all posts by this user
Quote this message in a reply
11-07-2014, 04:44 PM (This post was last modified: 11-07-2014 05:43 PM by Tim Wessman.)
Post: #3
RE: Mohr's Circle
I think the geometry application has everything you need already in it. :-)

I would start by looking to make a construction in the geometry app. Once you have things working like you desire, you can add a screen to allow entry of specific numbers for calculations, reset things to default values, etc.

[EDIT]
[attachment=1194]
Here is an example to get you started. Using the connkit, just drag/drop that into your calc tree to load into the emulator or calc.

I have 3 numerical values declared in the appprogram. These are used in calculating the positions of things in the geometry screen. Take a look at the geometry num/plot/symb screens to see how you can start linking things together.

A small user UI prompt to ask for specific values would then pipe everything through and all your display/drawing is handled dynamically.

[Image: mohrs.png]

TW

Although I work for the HP calculator group, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
11-07-2014, 04:46 PM
Post: #4
RE: Mohr's Circle
The command you will likely want to use (in a program) is ARC() or ARC_P(). Using ARC_P() should enable you to draw circles using pixel coordinates and avoid having to worry about the window settings.

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
11-07-2014, 07:40 PM
Post: #5
RE: Mohr's Circle
Thank's Tim that was what I wanted, the correct starting point.
And thank's Han that's help.
Find all posts by this user
Quote this message in a reply
11-18-2014, 02:01 PM
Post: #6
RE: Mohr's Circle
Hi,

MohrsCircle.zip (Size: 1.14 KB / Downloads: 24)

a lot of downloads and only Tim and Han replays, just a joke...

It's possible to lock de graphic area?
Find all posts by this user
Quote this message in a reply
11-18-2014, 02:42 PM
Post: #7
RE: Mohr's Circle
It is not possible to lock specific elements at the moment. It is on the list of things to look at however.

TW

Although I work for the HP calculator group, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
11-19-2014, 11:38 AM
Post: #8
RE: Mohr's Circle
Thank's Tim and gracias Fredy.
That's what I was trying to improve, but with 3 circles Mohr 3D. No luck at the moment.
But stopped when I touched in the calculator and everything moves.
Find all posts by this user
Quote this message in a reply
11-19-2014, 06:41 PM
Post: #9
RE: Mohr's Circle
(11-19-2014 01:10 AM)compsystems Wrote:  


Interesting aplication. thank you for posting it.
Is it possible to share the program or command line to see how you resolved the editable variables? Thank you.
Find all posts by this user
Quote this message in a reply
11-19-2014, 06:49 PM
Post: #10
RE: Mohr's Circle
(11-19-2014 11:38 AM)mop80087 Wrote:  Thank's Tim and gracias Fredy.
That's what I was trying to improve, but with 3 circles Mohr 3D. No luck at the moment.
But stopped when I touched in the calculator and everything moves.

Wow, Mohr 3D would be impressive. There´s no background with this kind of program on any HP series. Even it´s difficult to find documentation.
Find all posts by this user
Quote this message in a reply
11-19-2014, 09:00 PM
Post: #11
RE: Mohr's Circle
(11-19-2014 06:49 PM)akmon Wrote:  
(11-19-2014 11:38 AM)mop80087 Wrote:  Thank's Tim and gracias Fredy.
That's what I was trying to improve, but with 3 circles Mohr 3D. No luck at the moment.
But stopped when I touched in the calculator and everything moves.

Wow, Mohr 3D would be impressive. There´s no background with this kind of program on any HP series. Even it´s difficult to find documentation.

I'm not sure I understand what Mohr 3D would be. Is that Mohr's circle for 3-dimensional state of stress? (Wouldn't that still be a 2-dimensional diagram, but with 3 circles?)

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
11-19-2014, 09:58 PM
Post: #12
RE: Mohr's Circle
Exactly. It´s composed by 3 circles, the last one envolves the other two. The área between the big circle and the 2 smaller is the domain of any stress situation of the solid.
Find all posts by this user
Quote this message in a reply
11-20-2014, 05:48 AM
Post: #13
RE: Mohr's Circle
Nice job

http://mic.nic.free.fr - Youtube - Facebook
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)