Hello everyone. I have searched too much on the internet about making a file for Paraview from my finite element data. Most explanations available on the internet are useless and just waste our time.
I often use Tecplot to provide the figures for my papers. In what follows, I simply explain how I make a “text file” for Tecplot. I need someone who teach me how to convert my “text file” so that it can be used in Paraview (I have no time to learn Python or so on. I just need an UNDERSTANDABLE SAMPLE FILE).
Let us consider two adjacent quadrilateral finite elements over a 2*1 rectangular domain (6 nodes, 2 elements). Assume that pressure and temperature of the nodes have bee obtained by the FE code. What have been written in the following lines can be save as a “.text” file and used in Tecplot.
For TECPLOT (not for Paraview):
TITLE = “A simple FEM data file for Tecplot”
VARIABLES =“x”,“y”,“tempretaure”,“pressure”
ZONE T= “ZONE 1”
N=6, E=2, F=FEPOINT, ET=Quadrilateral
0 0 1.2 2.6
0 1 2.3 1.8
0 2 12.1 3.2
1 0 9.5 4.1
1 1 4.1 5.6
1 2 8.3 6.3
1 2 4 5
2 3 5 6
Thats it! The above-written 11 lines can be saved as a “.tex” file and then used in Tecplot.
Explanations:
N=6=is the number of nodes
E=2=is the number of elements (in Quadrilateral form)
We see two matrices as the basic data. The first matrix is 6*4 that provides the data of NODES. The line (VARIABLES =“x”, “y”, “tempretaure”, “pressure”) clarifies that the 1st column is the x-coordinate, 2nd column is y-coordinate, 3rd column is temperature, and the 4th column is pressure.
The second matrix is 2*4 and is indeed the “connectivity matrix”. The first row “1 2 4 5” shows that the first element is constructed by connecting these nodes, and the same holds for the 2nd element made by the nodes “2 3 5 6”.
Now, could you please help me to transform my extremely simple data file to something that can be used in Paraview? (I just know that I have to start the numbering of nodes from “0” instead of “1”!)