Author |
Topic  |
|
Lebecki1
Poland
Posts |
Posted - 12/31/2004 : 12:16:20 PM
|
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
|
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 |
 |
|
Lebecki1
Poland
Posts |
Posted - 01/03/2005 : 03:15:34 AM
|
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) |
 |
|
|
Topic  |
|
|
|