|
[Sponsors] |
[OpenFOAM] Paraview on windows 7, forced scaling of data |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 25, 2011, 09:49 |
Paraview on windows 7, forced scaling of data
|
#1 |
New Member
Mike
Join Date: May 2011
Posts: 19
Rep Power: 15 |
Hello,
I 'm in serious trouble with Paraview. Everything was fine but suddenly when I tryied to load a cfd simulation, in vtk format, it displayed all the fields (except for the velocity field) in a [0,1] scale. This happened once, and everytime I try to load other vtk's with the same fields, it does the same thing. I cheked the "information" tab in the object inspector, where it shows that all fields have been loaded successfully, each of them in the correct corresponding data range. But when I visualise the fields in the display tab, then it doesn't show them in this data range. My system is Windows 7 64 bit so the only way to import the simulations is .vtk files. Does anybody have a remark?? |
|
September 25, 2011, 15:47 |
|
#2 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Mike,
Which version of ParaView are you using? If it's 3.8.0 or 3.8.1, this might be due to a certain bug. To get past this, read this post (and its thread): paraview 3.8 auto rescale doesn't work #6 - in a nutshell, try running paraview with the argument "-dr": Code:
paraview -dr I want you to focus on this paragraph: Quote:
Bruno
__________________
|
||
September 25, 2011, 17:30 |
|
#3 |
New Member
Mike
Join Date: May 2011
Posts: 19
Rep Power: 15 |
Hi Bruno,
I'm using the version 3.10.1 (64-bit) and I always select "Rescale to data range", after I choose a field, and nothing happens. It is strange beacause Paraview opens the vtk file and sets the correct data ranges for each field but is unable to display the correct values. It only sets for every cell the same value so my whole field is shown red, with red corresponding in value=1. I have no explanation of why this is happening and it's getting frustrating in the end I have also tried to uninstall Paraview and reinstall it, but nothing changed |
|
September 25, 2011, 18:42 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Mike,
Mmm... OK, two additional solutions that might work:
Bruno
__________________
|
|
September 25, 2011, 18:52 |
|
#5 |
New Member
Mike
Join Date: May 2011
Posts: 19
Rep Power: 15 |
Thanks for the remark Bruno!
Well, I created the empty file and I opened it in Paraview but it is empty, it doesn't load any fields nor the mesh! How can I put the data into this empty file? Thank you! |
|
September 26, 2011, 04:45 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Mike,
The "case.foam" file should remain empty and should be placed in the same folder where you have the case; it should look something like this: Code:
0 1 2 3 4 (...) constant system VTK case.foam Best regards, Bruno
__________________
|
|
September 26, 2011, 05:49 |
|
#7 |
Senior Member
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18 |
Hi Mike,
I had problems (scale blocked between 0 and 1 - rescale do not work) with ParaView 3.6. I solved my problem by removing the directory ~/.config/ParaView Hope it could help. Stephane. |
|
September 26, 2011, 06:00 |
|
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Stephane!
@Mike: the respective path in Windows 7 for the folder that Stephane mentioned is this: Code:
C:\Users\your user name\AppData\Roaming\ParaView Bruno
__________________
|
|
September 26, 2011, 14:11 |
|
#9 |
New Member
Mike
Join Date: May 2011
Posts: 19
Rep Power: 15 |
Hi Stephane and Bruno!
Thank you so much for your help, both!! I removed the folder C:\Users\your user name\AppData\Roaming\ParaView and now it works perfectly again! Maybe there was some kind of conflict in the file inside that folder, so removing it made Paraview to build it again, but correct this time! Again, thank you very much for your help! Best regards, Mike |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] Installation of ParaView on Ubuntu that exists in (Windows Subsystem Linux) | k.farnagh | ParaView | 8 | November 20, 2023 10:40 |
[Other] Openfoam for windows 16.02 [CFD support] -problem with paraview | ditmeyer | OpenFOAM Installation | 3 | May 15, 2017 13:04 |
[OpenFOAM] saving data in paraview | aylalisa | ParaView | 3 | May 31, 2014 12:38 |
studying a valve case | mina.basta | OpenFOAM | 33 | August 30, 2013 05:46 |
[General] paraview - plotting difference to reference data | joewe | ParaView | 0 | August 30, 2010 19:01 |