<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">Currently I want to convert an unstructured grid data to exodusII format. The input unstructured grid data has a cell type of wedge.</div><div class="">But when I execute the following code, the output data contains TETRA cell type. Can anybody explain this? </div><div class=""><br class=""></div><div class=""><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">vtkUnstructuredGridReader *reader = vtkUnstructuredGridReader::New();</span></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(195, 55, 32);"><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(0, 0, 0);">reader->SetFileName(</span><span class="" style="font-variant-ligatures: no-common-ligatures;">“input.vtk"</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(0, 0, 0);">);</span></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(83, 48, 225);"><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(0, 0, 0);"> </span></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">reader->Update();</span></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"><span class="" style="font-variant-ligatures: no-common-ligatures;"></span><br class=""></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">vtkUnstructuredGrid *grid = reader->GetOutput();</span></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"><span class="" style="font-variant-ligatures: no-common-ligatures;"></span><br class=""></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">vtkExodusIIWriter *writer = vtkExodusIIWriter::New();</span></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">writer->SetInputData(grid);</span></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">writer->SetFileName(</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(195, 55, 32);">“output.e"</span><span class="" style="font-variant-ligatures: no-common-ligatures;">);</span></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">writer->Write();</span></div></div></body></html>