<div dir="ltr"><div>Hello all, <br><br></div><div>I have a unstructured mesh with many
fields like Displacements, velocity, Stresses, Strains, Material no..
etc either on nodes or on cell. Currently, I associate all the field
data arrays with my unstructured mesh and send it to ParaView for
visualization and it works great..<br><br></div><div>But, now, since I have many field data and the mesh can be also very large. Sending all data at once would be very <i>slow and in-efficient.</i><br><br></div>What I want is the following:<br><ul><li>I
want that based on user request I should send attach that field data
only. For example in the ParaView, if the User selects Displacements to
Visualize, I should some how know that and only send displacements and
similarly.</li><li>Also, I want that the user should be able to see all
the different field data options I have, so that he can select and ask
for as it is done normally . <br></li><li>I also, want that if the user selects a filter like, <b>wrap by vector </b>with displacements and chooses to see stress, ParaView should generate requests for <i>displacements and stresses so that I can send them.</i></li></ul>Currently I am doing this from my reader.<br><br><span style="color:rgb(0,0,255)"> Node_Mesh->GetPointData()->Add<wbr>Array(Generalized_Displacement<wbr>s);<br> Node_Mesh->GetPointData()->Add<wbr>Array(Node_Tag);<br> Node_Mesh->GetCellData()->AddA<wbr>rray(Element_Tag);<br> Node_Mesh->GetCellData()->AddA<wbr>rray(Material_Tag);<br> Node_Mesh->GetPointData()->Add<wbr>Array(Elastic_Strain);<br> Node_Mesh->GetPointData()->Add<wbr>Array(Plastic_Strain);<br> Node_Mesh->GetPointData()->Add<wbr>Array(Stress);<br></span><span style="color:rgb(0,0,255)"><span style="color:rgb(0,0,0)">Which means I am sending all field data <b>Generalized_Displacemnts , Node_Tag, Element_Tag, Material_tag, Elastic_Strain ........ <br></b><br></span></span><span style="color:rgb(0,0,255)"><span style="color:rgb(0,0,0)">Now suppose, in Paraview, user selects field_data <i><b>Generalized Displacements </b></i>.to visualize.<br></span></span><br><span style="color:rgb(0,0,255)"><span style="color:rgb(0,0,0)"><img class="" alt="Inline image 2" src="cid:ii_156756a2e813ddb9" height="74" width="568"></span></span><div><span style="color:rgb(0,0,255)"><span style="color:rgb(0,0,0)"></span></span></div><div><span style="color:rgb(0,0,255)"><span style="color:rgb(0,0,0)"><br>Currently,
I am sending all the field data associated with that mesh as stated
above. In order to be efficient, I want to send only <i>Generalized_Displacements</i> in the next time step. <br>But
at the same time, I want that the user should be able to see all the
field datasets, so that if he changes his mind and select other field
dataset to visualize, I would get a request and send the same data.<br><br></span></span></div><div><span style="color:rgb(0,0,255)"><span style="color:rgb(0,0,0)">In
other words, I want to respond to the events when (the choice of field
data to visualize is changed), so that i can send that field data only. <br></span></span></div><div><span style="color:rgb(0,0,255)"><span style="color:rgb(0,0,0)">But, The user should be able to view other field data options available, so that they can change the request what they want to visualize a particular field data . <br></span></span></div><span style="color:rgb(0,0,255)"><span style="color:rgb(0,0,0)">Basically, I want to respond to this event as shown above.<br><br></span></span><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div><span><img src="http://faculty.engineering.ucdavis.edu/ceetemplate/wp-content/uploads/2013/06/CEE75percent500w.jpg" style="font-size: 12.8px;" height="31" width="200"><span style="font-size:12.8px"> </span><br><div><font style="font-family:"trebuchet ms",sans-serif;font-size:12.8px;color:rgb(51,51,51)">Sumeet Kumar Sinha</font></div><div><span style="color:rgb(51,51,51);font-family:"trebuchet ms",sans-serif;font-size:small">Graduate Student</span></div><div><span style="font-size:12.8px;font-family:"trebuchet ms",sans-serif;color:rgb(51,51,51)">Phone: (+1)</span><a href="tel:%28%2B91%29%209910516219" value="+919910516219" style="font-size:12.8px;font-family:"trebuchet ms",sans-serif;color:rgb(17,85,204)" target="_blank"> </a><span style="font-size:12.8px;font-family:"trebuchet ms",sans-serif;color:rgb(51,51,51)">5306018271</span></div><div><span style="color:rgb(51,51,51);font-family:"trebuchet ms",sans-serif;font-size:12.8px">Website : </span><a href="http://www.sumeetsinha.in/" style="font-family:"trebuchet ms",sans-serif;font-size:12.8px;color:rgb(17,85,204)" target="_blank">http://www.sumeetsinha.in/</a></div></span></div></div></div></div></div></div>
</div>