<div dir="ltr"><br clear="all"><div><div><div><div>Dear all friends<br><br></div><div>I am really green to the usage of Paraview.<br></div><div><br></div>I
 have been using the ANSYS for large scale FE analysis. Recently I node 
that the paraview has the ability of view and postprocess the large .rst
 file and it has already added the ANSYS file reader function.<br>
<br></div>However, I get limited information on how to do this.<br><br></div>According to the menu, I will have to create a Cmakelist.txt file like :<br><br><pre style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;background-color:rgb(249,249,249);font-weight:normal;padding:1em;line-height:1.1em;text-transform:none;border:1px dashed rgb(47,111,171);word-spacing:0px">
PROJECT(VisItReaderExample)

cmake_minimum_required(VERSION 2.8)

FIND_PACKAGE(ParaView REQUIRED)
INCLUDE(${PARAVIEW_USE_FILE})

SET(SOURCES
 avtMyReaderFileFormat.C
 )

ADD_VISIT_PLUGIN_READER(VisItReaderExample &quot;1.0&quot;
  VISIT_READER_NAME &quot;avtMyReaderFileFormat&quot;
  VISIT_READER_TYPE &quot;STMD&quot;
  VISIT_READER_FILE_PATTERN &quot;cas&quot;
  SERVER_SOURCES ${SOURCES}
  )

TARGET_LINK_LIBRARIES(VisItReaderExample vtkVisItAVTAlgorithms)</pre><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:19.0469px;text-transform:none;font-size:13px;white-space:normal;font-family:sans-serif;word-spacing:0px">where
 avtMyReaderFileFormat.cxx is the source of the VisIt reader, 
VISIT_READER_NAME is the name of the class inside the source file, 
VISIT_READER_TYPE is the type of file format the reader is, and the 
VISIT_READER_FILE_PATTERN is a space delimitated string of file 
extensions that the reader supports. But I still dont get how I could 
change the the file and how to import it into Paraview and then view my 
ANSYS file.<br>
<br></span></div><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:19.0469px;text-transform:none;font-size:13px;white-space:normal;font-family:sans-serif;word-spacing:0px">Say, the result file I will observe from ANSYS will be a .rst file , so would this file be :</span><br>


<pre style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;background-color:rgb(249,249,249);font-weight:normal;padding:1em;line-height:1.1em;text-transform:none;border:1px dashed rgb(47,111,171);word-spacing:0px">
PROJECT(VisItReaderExample)

cmake_minimum_required(VERSION 2.8)

FIND_PACKAGE(ParaView REQUIRED)
INCLUDE(${PARAVIEW_USE_FILE})

SET(SOURCES
 ANSYS.C
 )

ADD_VISIT_PLUGIN_READER(VisItReaderExample &quot;1.0&quot;
  VISIT_READER_NAME &quot;ANSYS&quot;
  VISIT_READER_TYPE &quot;Binary&quot;
  VISIT_READER_FILE_PATTERN &quot;rst&quot;
  SERVER_SOURCES ${SOURCES}
  )

TARGET_LINK_LIBRARIES(VisItReaderExample vtkVisItAVTAlgorithms)</pre><div>Could anybody give me a right format of the Cmakelist of ANSYS reader and , if possible , enlighten me how.<br><br></div>
<div>Many thanks <br><br></div><div>Best <br><br></div><div>Yuan Chen<br><br></div>University of Sheffield<br>-- <br><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><span style="color:rgb(159,197,232)">-------------------------------------------------</span><br>
Yuan Chen</span><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><br>PhD student of Mechanical Engineering<br>Dept. of Mechanical Engineering, The University of Sheffield</span><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"></span><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><br>
Mapping Street</span><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><br>SHEFFIELD S1 3JD</span><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><br>
United Kingdom</span><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><br></span><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"> </span><br>

</div>