<div dir="ltr">VTK isn't good at modeling, it is more about displaying data that has been produced by some other simulation or modeling package. So, say you had a vector field that had vector data that approached, wrapped around and then moved away from a sphere, VTK could easily create the streamlines in that field and draw them for you.<div>
<br></div><div>To produce such a vector field, you might look into CFD packages like OpenFOAM. With these you could specify the initial vector field (everything going in one direction), add in a spherical object to block the flow, and then have the solver iterate until you get a physically based solution vector field where the vectors naturally wrap around the sphere as they would in real life.</div>
<div><br></div><div style>For a non physically based solution and with a problem that is so ideal, you could also programmatically create the vector field yourself without resorting to the complexity of a big software package like OpenFOAM.</div>
<div><br></div><div><br><div><br></div></div></div><div class="gmail_extra"><br clear="all"><div>David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div>
<br><br><div class="gmail_quote">On Sun, Jan 5, 2014 at 4:08 PM, Joey <span dir="ltr"><<a href="mailto:joeymu@gmail.com" target="_blank">joeymu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>I am trying to get a handle on how to draw (what I think are) streamlines around a simple sphere source. <br><br></div><div>I just want a series of lines to start at the edge of my window and "drape" along a sphere. Eventually, I might like to change the sphere to an ellipse and/or change the spacing of the lines: either from the sphere or between each line.<br>
<br>Is a streamline the way to go about this? Maybe there is an easier option I'm missing? In looking at the examples, everything is relying on a data source. For my data source, I just want the line to be each of tangents of the sphere so that might be why I'm confused.<br>
<br></div><div>Thanks in advance for any insight!<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>Joey<br></div></font></span></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>