Timesteps, values and variable colors
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.
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.
Thank you Bruno for your time.
I think this is the key file.
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.
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:
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:
I will try it with a c++ script because in the final version the data is retrieved by sql requests.
|All times are GMT -4. The time now is 05:14.|