CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[General] Paraview Plot Temperature 3D

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 25, 2012, 21:37
Default Paraview Plot Temperature 3D
  #1
New Member
 
Boris
Join Date: May 2012
Posts: 1
Rep Power: 0
boristheblade is on a distinguished road
I have a bunch of points made up of x, y, z values and a corresponding temperature value for each of these points. I need to use paraview to plot this 3D temperature map which should look like a cube that gets hotter towards the center. I tried using vtk format, but I can't seem to fit the data properly. Any ideas?

I tried something like this (very small and random sample of actual data):

# vtk DataFile Version 2.0
hotCube.vtk
ASCII

DATASET POLYDATA
POINTS 1030301 float
1 1 1
2 1 1
3 1 1
4 1 1
5 1 1
6 1 1
7 1 1
8 1 1
9 1 1
POINT_DATA 1030301
SCALARS temperature float 1
LOOKUP_TABLE lut
- 0 . 1 2 2 1 4 1 7
0 . 0 6 4 5 1 6 2
0 . 0 5 0 8 0 6 1
- 0 . 0 5 1 9 7 1 9
0 . 0 3 0 9 6 7 9
- 0 . 1 0 2 6 5 2 4
0 . 0 0 7 2 9 0 6
- 0 . 0 6 6 7 4 9 4
0 . 1 8 5 0 4 8 9

*Edit*
So actually it seems the reason I was having an issue was because I accidentally parsed the temperature values incorrectly. As you can see those temp values have spaces in between each number and were being read in as zeros.

This current format for my cube looks like it's working for now:

# vtk DataFile Version 3.0
data.vtk
ASCII
DATASET STRUCTURED_GRID
DIMENSIONS 101 101 101
POINTS 1030301 float
1 1 1
2 1 1
3 1 1
4 1 1
5 1 1
6 1 1
7 1 1
8 1 1
9 1 1
POINT_DATA 1030301
SCALARS temperature float
LOOKUP_TABLE lut
0.0021902
0.1908302
0.2089508
0.1713711
0.0869687
0.2050714
0.3093452
0.3725040
0.2907574

Solved

Last edited by boristheblade; May 26, 2012 at 09:32.
boristheblade is offline   Reply With Quote

Reply

Tags
paraview promblem, plot, temperature

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] How to plot flow rate over time with Paraview sekunda ParaView 17 July 23, 2020 14:14
Automatic plot *jpg plot with temperature map. krolalbani FLUENT 2 October 30, 2017 10:27
Plot temperature profile David FLUENT 4 July 24, 2017 06:35
Ubuntu 12.10 + openfoam2.2.0 ==> paraview error message peteryuan OpenFOAM Installation 6 August 18, 2013 19:00
plot temperature gradient isabel CFX 1 October 6, 2008 23:51


All times are GMT -4. The time now is 17:03.