Sam, I feel I should go back an elaborate a little bit. My goal is to create an arbitrary data file that will represent a crack in a material. This crack will be modeled as a triangular mesh with the following data defined by the user:
Nodes (points) Connectivities (polygons) Crack Fronts (lines) Node IDs (Point Data) Cell IDs (Cell Data) Cell Normals (Cell Data) Crack Front Tangent, Binormal, and Normal Vectors (Line data? Point data? not sure how I am going to be able to go about doing this just yet). Data for any crack (rectangular, a semi-cylindrical surface, etc.) should be able to be placed into this skeleton of a data file and the result should always appear as the same when opened with Paraview. Currently I have the nodes, the connectivities, crack fronts, node IDs, and cell IDs figured out. My question currently is how I can have the cell normals to be defined in the data file such that I can open it in Paraview, apply a glyph (arrow) filter and the cell normals appear. Note that each cell normal is unique and may be in the +z- direction while the adjacent cell may be -z-direction. I hope this elaboration helps as I was rushed before in my description of what I was trying to accomplish. Let me know if you have any further questions. Best, Dan Levitus -- Daniel Levitus University of Illinois Champaign-Urbana B.S Civil Engineering 2013 American Society of Civil Engineers | Treasurer daniel.levi...@gmail.com | 847-220-2503 On Thu, Nov 15, 2012 at 10:48 AM, Daniel Levitus <daniel.levi...@gmail.com>wrote: > Sam, > > While that would work, my goal is to maintain 1 data file. The two files I > attached are the same except one has lines and one doesn't. I only included > both so it wouldn't be necessary for you to delete the code yourself. > Eventually, there is more I would like to include in this file (node > numbering, cell numbering, tangent and normal vectors on the lines(the > lines are meant to represent crack fronts). > > Does this help? > > Best, > Dan > > > -- > Daniel Levitus > University of Illinois Champaign-Urbana > B.S Civil Engineering 2013 > American Society of Civil Engineers | Treasurer > daniel.levi...@gmail.com | 847-220-2503 > > > > On Thu, Nov 15, 2012 at 10:34 AM, Samuel Key <samuel...@bresnan.net>wrote: > >> Dan, >> >> Your question is not entirely clear to me. Possibly the simplest way is >> to use two separate *.vtk files, one that only has the lines and the other >> that only has the "Rect's." ParaView will read both files and display the >> results either overlaid or in two separate views. You can then apply the >> 3d-arrow normal glyph filter (and other filters as well) to each file >> separately. >> >> Hope this helps, >> >> Sam Key >> FMA Development. LLC >> >> >> >> On 11/15/2012 12:06 AM, Daniel Levitus wrote: >> >> Hello, >> >> I am trying to get Paraview to represent the cell normals through >> 3d-arrow normal glyph filter for the following file. The cell normals >> should all appear in the +Z-Direction but the lines I have included are >> causing certain normals to be affected. If I remove these lines, the >> normals are represented correctly. Is there a way I can include the lines >> in my data file but not have them be an input for the normal glyph filter? >> I have included a file with the lines and without the lines. By using the >> default Normal Glyph filter in Paraview, the arrows should be different. >> Thank you for your help >> >> Best, >> Dan Levitus >> >> >> >> -- >> Daniel Levitus >> University of Illinois Champaign-Urbana >> B.S Civil Engineering 2013 >> American Society of Civil Engineers | Treasurer >> daniel.levi...@gmail.com | 847-220-2503 >> >> >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Follow this link to >> subscribe/unsubscribe:http://www.paraview.org/mailman/listinfo/paraview >> >> >> >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview