The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 How to visualize / draw "field lines"?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Lebecki1

Poland
Posts

Posted - 12/31/2004 :  12:16:20 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi,

Have you any idea how to visualize / draw "field lines"? Every suggestion is welcome!

Just to give a simple explanation-reminder, what it means: these are the lines often found in books with magnets / magnetics - lines around the object showing the magnetic field.
Following comes a sophisticated difinition:
"Field lines are nothing more than a set of lines drawn such that they are everywhere parallel to the direction of the force you are trying to describe. Their density is propotional to the force value."

We shall assume, of course that I can calculate the force in every point. But if you could confine just to force values in grid points I would be totally happy :)

Regards, Chris

Origin Version (Select Help-->About Origin): 7.5 SR5
Operating System: Win2000

Chris M. Lebecki
(JK is just my boss and the license owner)

cpyang

USA
1406 Posts

Posted - 12/31/2004 :  1:57:09 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
It seems to me that you need to find the maximum value in the force field, then define a fixed number of lines to start from that point in all directions. Then you follow each line to calculate the direction of the force so as to find the next grid point.
If there are more then one local maximum, then need to find other local max and reduce the number of starting lines by the intensity ratio.

This is something can be rather easily done via an Origin C program, if one can assume the force field be defined by a matrix, much simpler then constructing contours which require searching of the starting point of each contour for each level.

CP




Edited by - cpyang on 12/31/2004 1:58:16 PM
Go to Top of Page

Lebecki1

Poland
Posts

Posted - 01/03/2005 :  03:15:34 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Well - I agree, in C you can do everything.
I thoght only that there is maybe another / simpler solution.
For instance: someone wrote it already ;)
I will search in the Web.

Ragards, Chris

Chris M. Lebecki
(JK is just my boss and the license owner)
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000