Reading heat flux into tecplot from openfoam
Posted November 7, 2013 at 16:29 by cm_jubayer
Tecplot cannot read heat flux data from OpenFOAM directly with the OpenFOAM data loader in Tecplot. Below are the steps that I use to read the heat flux data or any other data that is not readable by the OpenFOAM data loader.
1. Open your data in paraview.
2. Export the data from paraview using File>Save Data. This will give you a csv file.
3. Now open the csv file in excel and rearrange the data so that we have variable name in the first row as x, y or x, z or y,z (based on your data direction) and then the variables. So, each column will contain values for that variable. Save the excel file in xls format (not xlsx)
4. Now go to Tecplot and do File>Load Data Files>Excel data loader. Select the xls file, click next (table selected) and click finish.
5. Now select the 2D cartesian from the drop down menu. Go to Data>Triangulate. Select the only source and click compute.
6. Click on contour to see the contour.
You can change your data in the excel file, say to normalize or something else, and then plot the contours as necessary.
1. Open your data in paraview.
2. Export the data from paraview using File>Save Data. This will give you a csv file.
3. Now open the csv file in excel and rearrange the data so that we have variable name in the first row as x, y or x, z or y,z (based on your data direction) and then the variables. So, each column will contain values for that variable. Save the excel file in xls format (not xlsx)
4. Now go to Tecplot and do File>Load Data Files>Excel data loader. Select the xls file, click next (table selected) and click finish.
5. Now select the 2D cartesian from the drop down menu. Go to Data>Triangulate. Select the only source and click compute.
6. Click on contour to see the contour.
You can change your data in the excel file, say to normalize or something else, and then plot the contours as necessary.
Total Comments 1
Comments
-
good days guys, sorry i have to post my here which is the the latest blog so that everybody can notice my message...
now i using the gmshToFoam,
but i having the error below:
--> FOAM Warning : Not using gmsh face 3(39 38 186) since zero vertex is not on boundary of polyMesh
can anybody help me out what is the meaning of this message, and what should i do in order to solve this problemPosted November 22, 2013 at 04:58 by junarzt