|
[Sponsors] |
[OpenFOAM] Paraview's "read-values" capability |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 23, 2013, 15:40 |
Paraview's "read-values" capability
|
#1 |
Member
VS
Join Date: Nov 2012
Posts: 86
Rep Power: 14 |
Hey lads,
i have these values in one of my results files for p : 83333.29727559452 83333.29727116377 83333.29728432324 83333.29726004707 83333.29726903667 83333.29726512189 83333.2972572857 83333.29729613037 83333.29731830103 83333.29732028065 and many more for all the points in the grid. As you can see, the difference starts from the fourth significant digit and there is a difference in the values, but paraview plots only two values, 83333.306514 for max and 83333.290024 for min, and not the intermediate values. It just show two colours, blue for the min and red for the max. Why it doesn't plot the other values??? |
|
February 23, 2013, 17:32 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings VSass,
Actually, it's not the 4th significant digit, it's the 9th! ParaView has some issues with precision, which AFAIK is due to hard-coded limits in the source code. If you do need to see the results with more precision, you will have to rescale values. Some possible options:
And have you tried the "spreadsheet view"? http://www.paraview.org/Wiki/ParaVie...readsheet_View - this way you can confirm if ParaView has actually loaded those values you listed! Best regards, Bruno
__________________
|
|
February 23, 2013, 20:36 |
|
#3 |
Member
VS
Join Date: Nov 2012
Posts: 86
Rep Power: 14 |
Thanks Bruno,
i'm working on setting the reference value for p right now, and see if this works. I've checked the spreadsheet view, values are loaded with exact precision on each point, that's why i was so concerned for the colour mapping. Thanks a lot! |
|
February 24, 2013, 14:27 |
|
#4 |
Member
VS
Join Date: Nov 2012
Posts: 86
Rep Power: 14 |
Bruno,
i didn't exactly caught your advise of how to subtract the reference value 83333.3. You meant rescaling from the colour map? Anyway,this is the last step before entering to the source code, 'cause nothing else seems capable of solving the matter. |
|
February 24, 2013, 16:02 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi VSass,
Sorry, I thought you knew. You can use the "Calculator" filter: http://www.paraview.org/Wiki/ParaVie...ide/Calculator Best regards, Bruno
__________________
|
|
March 24, 2013, 15:08 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick update: there was an answer in the ParaView mailing list: http://markmail.org/message/pwhpq2p6kdsdvayy
__________________
|
|
Tags |
accuracy, colours, paraview, plot, values |
|
|
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 |
Read the node values and node positions??? | lehoanganh07 | Tecplot | 1 | March 19, 2014 11:06 |
[PyFoam] read result values with pyFoam | ilpaso | OpenFOAM Community Contributions | 6 | February 20, 2014 17:46 |
Numerical errors in nested domain with pre-calculated boundary values | Arnoldinho | OpenFOAM Running, Solving & CFD | 3 | April 4, 2012 11:31 |
max node values exceed max element values in contour plot | jason_t | FLUENT | 0 | August 19, 2009 12:32 |