|
[Sponsors] |
[General] Timesteps, values and variable colors |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 23, 2013, 05:17 |
Timesteps, values and variable colors
|
#1 |
New Member
Join Date: Aug 2013
Posts: 3
Rep Power: 12 |
Hey,
i'm new to Paraview and have a lot of problems to deal with. First i'll tell you about my project. I got 2 .csv files. The first one contains information about positions of probes. The second one about the temperature. Each row is another timestep. What i need is the probes shown up with temperature and color matching to the temperature. To this there should be a way to go through the timesteps. What i did is: Filtered the first .csv with the "tabletopoints" filter. So i got my points shown up, but i can't find a way to add the values to each point, get the points colored right and at least how to use the timesteps. May you can help me with these problems. Thank you so far. --- ...and sorry for my bad english. |
|
August 24, 2013, 14:15 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Greetings Omgaan and welcome to the forum!
Can you provide a small sample/example of the two files? Because without example files, I'm only able to suggest that you try the "Append *" filters or the "Warp By *" filters. Best regards, Bruno
__________________
|
|
August 24, 2013, 15:42 |
|
#3 |
New Member
Join Date: Aug 2013
Posts: 3
Rep Power: 12 |
Thank you Bruno for your time.
I think this is the key file. http://postimg.org/image/kuh7z8bxf/ You can see there in the first column the timesteps. Each further column is temperature data of a probe. The other file just contains the x,y,z-coordinates of each probe (25 to be exactly) What i try to get is: Each probe at its place -> tabletopoints filter should do this. Next step is to link each of this points to 1 column of the other file to show the temperature data at each timestep. In the last step i want to color each probe point related to the temperature. If this project is running any day the first file is useless because the temperature data will be retrived from an sql table. Best regards |
|
August 24, 2013, 18:31 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Can you please attach a couple of example files, so that I can test it myself?
Otherwise I'll only be able to give suggestions that will unlikely work. Nonetheless, a few ideas do come to mind:
__________________
|
|
August 24, 2013, 19:49 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Hi Omgaan,
I've taken a look into the files you sent me and it's not possible to process these two specific files without the help of Python scripting. You can use the "Programmable Source" (which is coded in Python) from the "Source" menu, by using code based on the following code snippets as reference:
If you do not want to rely on Python for handling this data, then the only other solution that I can think of requires you to pre-process the two CSV files into one CSV file per time snapshot, where each time snapshots would be something like: Code:
sensor, x, y, z, Temperature 1, 0.0, 0.1, 0.2, 230 2, 1.0, 0.5, 0.3, 250 ... 30, 10.0, 11.1, 13.0, 245 Code:
time0000.csv time0001.csv time0002.csv time0003.csv ... time0236.csv Best regards, Bruno
__________________
|
|
August 25, 2013, 11:22 |
|
#6 |
New Member
Join Date: Aug 2013
Posts: 3
Rep Power: 12 |
Thank you
I will try it with a c++ script because in the final version the data is retrieved by sql requests. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to read variable values on a surface | Comi | Fluent UDF and Scheme Programming | 3 | April 3, 2019 22:33 |
Mass Flow variable giving zero values | Shomaz ul Haq | CFX | 8 | June 19, 2017 20:18 |
3D equation, loading values for variable Cp from txt file with time-value columns | AJAY BHANDARI | OpenFOAM Programming & Development | 11 | January 1, 2016 06:16 |
Reference Values for Troughs @ variable Angle? | hornig | FLUENT | 1 | April 12, 2014 23:26 |
negative values of additional variable | cosine | CFX | 0 | November 15, 2011 05:42 |