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

[OpenFOAM] Paraview's "read-values" capability

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 23, 2013, 14:40
Default Paraview's "read-values" capability
  #1
Member
 
VS
Join Date: Nov 2012
Posts: 86
Rep Power: 13
VSass is on a distinguished road
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???
VSass is offline   Reply With Quote

Old   February 23, 2013, 16:32
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,980
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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:
  • Subtract the reference value "83333" to the "p" field. This way you increase colour resolution, as long as the rest of the field has similar values.
  • You can also try increasing the colour mapping... and label ranges and so on... but I'm not sure if this is what you need.
  • Last but not least, you can modify ParaView's source code and rebuild from source. If you do need to do this, I suggest you try asking in ParaView's mailing list: http://www.paraview.org/mailman/listinfo/paraview
In addition, it would help to know how you loaded the values into ParaView.

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
__________________
wyldckat is offline   Reply With Quote

Old   February 23, 2013, 19:36
Default
  #3
Member
 
VS
Join Date: Nov 2012
Posts: 86
Rep Power: 13
VSass is on a distinguished road
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!
VSass is offline   Reply With Quote

Old   February 24, 2013, 13:27
Default
  #4
Member
 
VS
Join Date: Nov 2012
Posts: 86
Rep Power: 13
VSass is on a distinguished road
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.
VSass is offline   Reply With Quote

Old   February 24, 2013, 15:02
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,980
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi VSass,

Sorry, I thought you knew. You can use the "Calculator" filter: http://www.paraview.org/Wiki/ParaVie...ide/Calculator

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   March 24, 2013, 14:08
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,980
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick update: there was an answer in the ParaView mailing list: http://markmail.org/message/pwhpq2p6kdsdvayy
__________________
wyldckat is offline   Reply With Quote

Reply

Tags
accuracy, colours, paraview, plot, values

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
How to read variable values on a surface Comi Fluent UDF and Scheme Programming 3 April 3, 2019 21:33
Read the node values and node positions??? lehoanganh07 Tecplot 1 March 19, 2014 10:06
[PyFoam] read result values with pyFoam ilpaso OpenFOAM Community Contributions 6 February 20, 2014 16:46
Numerical errors in nested domain with pre-calculated boundary values Arnoldinho OpenFOAM Running, Solving & CFD 3 April 4, 2012 10:31
max node values exceed max element values in contour plot jason_t FLUENT 0 August 19, 2009 11:32


All times are GMT -4. The time now is 22:54.