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

[OpenFOAM] paraview 3.8 auto rescale doesn't work

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By wyldckat
  • 1 Post By wyldckat
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 16, 2010, 16:34
Default paraview 3.8 auto rescale doesn't work
  #1
JDR
New Member
 
Jonathan Regele
Join Date: Jul 2010
Posts: 6
Rep Power: 15
JDR is on a distinguished road
Hi all,

Since OpenFOAM 1.7 has been out for less than a month now I thought I would start a new thread for a problem that I imagine will be quite common as more users start using it.

The problem is that the auto rescale to data range functionality does not work when using paraFoam/paraview380. What it does is scale the data only between 0-1. At first I thought it was an error in the solution, but the solution is fine. If you manually rescale the solution everything appears the way it should. This is not a new problem and a fix exists for previous versions of openFoam and paraview. See this thread for fixes to previous versions.

http://www.cfd-online.com/Forums/ope...tml#post190313

Apparently this problem was difficult to reproduce and diagnose in earlier versions, but I think it will start to occur more frequently. The primary reason is I have a brand new install of ubuntu 10.04 x86_64 and installed the pre-built binaries for OpenFoam170 and paraviewopenfoam380 located here. The install was a breeze and I was running the cavity tutorial in no time.

The problem can be demonstrated by running the reactingFoam counterFlowFlame2D tutorial. The mass fractions all look fine because they lie in the range from 0-1. The velocity actually auto-scales correctly. However the temperature, which is in the range 800-2300 is plotted on a scale from 0-1. It does the same behavior in many of the other tutorials as well.

The fix proposed in the thread linked above says to remove the ~/.config/Paraview folder. Apparently this worked for people using paraview 3.5 and 3.6, but it does not work on my system.

I imagine there are several routes I could take to solve this problem both short and long term. Building one of the older versions of paraview may be an option, but then I will need to obtain all the build tools.

I'm not sure what to do here. Since its a new version it may be a while before someone comes up with a fix for this.

Thanks,
JDR
JDR is offline   Reply With Quote

Old   July 16, 2010, 18:21
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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 JDR and welcome to the forum!

I haven't tested the bug you describe, but I'm going to ask you to test a couple of things too, so we can try and figure out who is to blame: if it's ParaView or OpenFOAM's PV3FoamReader plug-in the one to blame.

OK, go to one of the cases that you know they will fail with the rescale button, and run the following commands:
Code:
touch case.foam
paraview --data=case.foam
This will open the case in ParaView, but this time using Takuya's plugin (the one from that very same thread you posted about first).

If it still fails, then try using the official ParaView build, available at www.paraview.org. This time, you better start the official ParaView from its own folder, and then use ParaView to open the file case.foam.

If both of these fail, then we might be dealing with a bug in ParaView and not in the plug-ins.
But if neither one of these fail, then it's OpenFOAM's plug-in who is to blame. And in that case, then follow these instructions:
Quote:
Originally Posted by wyldckat View Post
You can change in the script OpenFOAM-1.7.0/bin/paraFoam were it says ".OpenFOAM" to ".foam", since ParaView 3.8.0 expects that "foam" is the file extension for OpenFOAM cases.
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   July 17, 2010, 03:11
Default outcome of tests
  #3
JDR
New Member
 
Jonathan Regele
Join Date: Jul 2010
Posts: 6
Rep Power: 15
JDR is on a distinguished road
Hi wyldckat,

So I tried your first option
Code:
touch case.foam
paraview --data=case.foam
and that didn't work. I downloaded the original paraview x86_64 and unpacked it and that did not work either.

So are we dealing with a paraview bug?

JDR
JDR is offline   Reply With Quote

Old   July 17, 2010, 06:58
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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 JDR,

Hmmm... I forgot about another possibility yesterday: using foamToVTK to export the OpenFOAM data into VTK format and then opening the files in the created folder VTK with ParaView.
This way we can be sure if it's ParaView's fault or not, because this way ParaView will open the data directly in a familiar format.

Because, as far as I can tell, there are two possibilities:
  1. both plug-ins fail to provide the minimum and maximum values of the data to be represented;
  2. ParaView fails to check the limits in some cases... possibly due to some if block that tries to minimize expensive calculations.

Best regards,
Bruno
meth likes this.
__________________
wyldckat is offline   Reply With Quote

Old   July 17, 2010, 12:55
Default
  #5
JDR
New Member
 
Jonathan Regele
Join Date: Jul 2010
Posts: 6
Rep Power: 15
JDR is on a distinguished road
I tried foamToVTK with three different versions of paraview. The versions I tested are

paraview 3.8 - version that comes with the openFoam plugins
paraview 3.8 - version downloaded directly from paraview.org
paraview 3.6 - downloaded directly from paraview.org

Neither of the paraview 3.8 versions can properly rescale the data range of the vtk files, but version 3.6 can. It looks like it is an issue with paraview 3.8 itself.

I suppose at some point paraview will come out with an updated version that fixes this problem because it occurs with the vtk format, but this assumes there is nothing wrong with the foamToVTK file converter. Is there a way to rule this out as a possibility, i.e. converting to another file format that paraview can open?
JDR is offline   Reply With Quote

Old   July 17, 2010, 14:19
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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 JDR,

Nah, the problem really is with ParaView. And the VTK file format is (allegedly) the closest we can get to ParaView's better known file types.

Apparently the error has been detected and somewhat isolated already:
Quote:
Originally Posted by http://www.mail-archive.com/paraview@paraview.org/msg08767.html
I find the following lines in the ParaView3.8.0.ini:
---------------------------------------------
<Property name=\"VectorComponent\" id=\"449.VectorComponent\"
number_of_elements=\"1\">\n
<Element index=\"0\" value=\"4\"/>\n
<Domain name=\"range\" id=\"449.VectorComponent.range\">\n
<Min index=\"0\" value=\"0\"/>\n
<Max index=\"0\" value=\"0\"/>\n
</Domain>\n
</Property>\n
---------------------------------------------
I change the following and the problem goes away.
<Element index=\"0\" value=\"4\"/>\n
----->
<Element index=\"0\" value=\"0\"/>\n

Please try steps to reproduce the problem:
1. Sources -> Sphere -> Apply
2. Object Inspector: Display: Color by: Normals: Z
3. Edit Color Map -> Make Default -> Close
4. File -> Exit
After that, "Rescale to Data Range" doesn't work with scalar data.
And if you read the whole page from that quoted link, they talk about using the additional argument when starting ParaView:
Code:
paraview -dr
By my calculations, this won't be fixed any time soon in ParaView 3.8.0, it probably will only be fixed in paraview's git version.
So for now, there should at least be two workarounds:
  • Edit the paraFoam script and when it calls paraview, add the -dr option next to it.
  • Or we can try using sed in paraFoam to fix the file "~/.config/ParaView/ParaView3.8.0.ini" every time before starting ParaView.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   July 17, 2010, 20:13
Default
  #7
JDR
New Member
 
Jonathan Regele
Join Date: Jul 2010
Posts: 6
Rep Power: 15
JDR is on a distinguished road
Thank you for your help. I replaced the line in the paraFoam script that says
Code:
    paraview --data="$caseFile"
with
Code:
    paraview -dr --data="$caseFile"
and it is able to properly rescale to fit the data range. Since it disables the registry any modified default settings you may have are not loaded, but it solves the more major issue. Using sed may be a better fix, but this works for now.

Thanks,
JDR
JDR is offline   Reply With Quote

Old   August 5, 2010, 19:08
Default
  #8
New Member
 
Muhammad reza hassani
Join Date: Apr 2010
Posts: 29
Rep Power: 15
mhassani is on a distinguished road
hi
I have a problem similar to this; when I edit the color map (adding legend) the whole system hangs; keyboard does not function as well and I have to restart my computer. I don't how i can solve this problem?
if I have to add the "-dr", where this has to be added?
mhassani is offline   Reply With Quote

Old   August 7, 2010, 17:00
Default
  #9
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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 mhassani,

Quote:
Originally Posted by mhassani View Post
hi
I have a problem similar to this; when I edit the color map (adding legend) the whole system hangs; keyboard does not function as well and I have to restart my computer. I don't how i can solve this problem?
if I have to add the "-dr", where this has to be added?
Edit the file "$WM_PROJECT_DIR/bin/paraFoam" and search for the line that JDR has on his latest post.

But the problem you are having is probably due to another issue, so it could be one of the following:
  • Qt version with which ParaView was built with might be too old or too recent;
  • The installed graphics card drivers have some issues. In this situation, try updating or downgrading the installed drivers and maybe rebuild ParaView too.
Additionally, check this thread for some more detailed hints on how you can address the problem you are having: Segmentation fault when visualizing in ParaView

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   March 16, 2011, 14:03
Default problem with splitting the paraview screen
  #10
Senior Member
 
Mieszko Młody
Join Date: Mar 2009
Location: POLAND, USA
Posts: 145
Rep Power: 17
ziemowitzima is on a distinguished road
Hi,
I have a problem with paraview 64 bit version. I have Ubuntu 10.04.
When I am splitting the paraview screen , the second screen is white (it does not shows the geometry or any data).

Do you have maybe any idea how to solve this problem?
Thanks a lot !
ZM
ziemowitzima is offline   Reply With Quote

Old   March 16, 2011, 14:09
Default
  #11
Senior Member
 
Mieszko Młody
Join Date: Mar 2009
Location: POLAND, USA
Posts: 145
Rep Power: 17
ziemowitzima is on a distinguished road
Problem posted by me is solved:
http://www.cfd-online.com/Forums/ope...w-3-6-1-a.html
ziemowitzima is offline   Reply With Quote

Old   March 16, 2011, 18:06
Default
  #12
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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 ziemowitzima,

Another possibility would be this solution: http://www.cfd-online.com/Forums/ope...tml#post299367

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   September 14, 2013, 11:21
Default
  #13
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
Hi Bruno,
I don't find that line in paraView3.12.0.ini
Code:
[General]
ServerResources="builtin:/home/ehsan/Desktop/WR_realizableKE/case.foam;extrafilesCount:0;reader:OpenFOAMReader;readergroup:sources", "builtin:/home/ehsan/Desktop/WR_realizableKE/WR_realizable.foam;extrafilesCount:0;reader:OpenFOAMReader;readergroup:sources", "builtin:/home/ehsan/Desktop/WR_kOmegaSST/WR_kOmegaSST.foam;extrafilesCount:0;reader:OpenFOAMReader;readergroup:sources", "builtin:/home/ehsan/Desktop/WR_realizableKE/WR_realizableKE.foam;extrafilesCount:0;reader:OpenFOAMReader;readergroup:sources", "builtin:/home/ehsan/Desktop/WR_inviscid/WR_inviscid.foam;extrafilesCount:0;reader:OpenFOAMReader;readergroup:sources", "builtin:/home/ehsan/Desktop/WR_inviscid/processor3/processor3.foam;extrafilesCount:0;reader:OpenFOAMReader;readergroup:sources", "builtin:/home/ehsan/Desktop/WR_inviscid/mergeSliceVTK.vtk;extrafilesCount:0;reader:LegacyVTKFileReader;readergroup:sources", "builtin:/home/ehsan/Desktop/WR_realizableKE/WR_realizableKE.OpenFOAM;extrafilesCount:0;reader:PV3FoamReader;readergroup:sources", "builtin:/home/ehsan/Desktop/vtkfile.vtk;extrafilesCount:0;reader:LegacyVTKFileReader;readergroup:sources", "builtin:/home/ehsan/Desktop/WR_inviscid/1020.vtk;extrafilesCount:0;reader:LegacyVTKFileReader;readergroup:sources"
autoAccept=false
CustomFilters=<CustomFilterDefinitions/>\n
recent.ParaViewFilters="filters;StreamTracer|filters;PythonCalculator|filters;Calculator|filters;Cut|filters;ProbeLine|filters;PlotAttributes|filters;MergeBlocks|filters;IntegrateAttributes|filters;Glyph|filters;ParticleTracer|"
defaultViewType=2DRenderView
DefaultTimeStepMode=0
crashRecovery=false
allowSpecularHighlightingWithScalarColoring=false
strictLoadBalancing=falsep
disableSplashScreen=false

[RecentDirs]
builtin%3A=/home/ehsan/Desktop/WR_realizableKE, /home/ehsan/Desktop/WR_kOmegaSST, /home/ehsan/Desktop/WR_inviscid, /home/ehsan/Desktop/WR_inviscid/processor3, /home/ehsan/Desktop

[MainWindow]
Position=@Point(0 30)
Size=@Size(1598 816)
Layout="@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\x3\0\0\0\0\0\0\x1\x87\0\0\x2\x86\xfc\x2\0\0\0\x2\xfb\0\0\0&\0p\0i\0p\0\x65\0l\0i\0n\0\x65\0\x42\0r\0o\0w\0s\0\x65\0r\0\x44\0o\0\x63\0k\x1\0\0\0\x8e\0\0\0\xcd\0\0\0r\0\xff\xff\xff\xfb\0\0\0\x18\0p\0r\0o\0x\0y\0T\0\x61\0\x62\0\x44\0o\0\x63\0k\x1\0\0\x1\x61\0\0\x1\xb3\0\0\0\xac\0\xff\xff\xff\0\0\0\x1\0\0\x1?\0\0\x1\xd0\xfc\x2\0\0\0\x2\xfb\0\0\0,\0s\0\x65\0l\0\x65\0\x63\0t\0i\0o\0n\0I\0n\0s\0p\0\x65\0\x63\0t\0o\0r\0\x44\0o\0\x63\0k\0\0\0\0\x8e\0\0\x1\xd0\0\0\0n\0\xff\xff\xff\xfb\0\0\0(\0\x63\0o\0m\0p\0\x61\0r\0\x61\0t\0i\0v\0\x65\0P\0\x61\0n\0\x65\0l\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\x1|\0\xff\xff\xff\0\0\0\x3\0\0\x4\xb1\0\0\x1\t\xfc\x1\0\0\0\x1\xfc\0\0\x1\x8d\0\0\x4\xb1\0\0\0\0\0\xff\xff\xff\xfa\xff\xff\xff\xff\x1\0\0\0\x2\xfb\0\0\0\"\0\x61\0n\0i\0m\0\x61\0t\0i\0o\0n\0V\0i\0\x65\0w\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\x2\xad\0\xff\xff\xff\xfb\0\0\0\x1c\0s\0t\0\x61\0t\0i\0s\0t\0i\0\x63\0s\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0^\0\xff\xff\xff\0\0\x4\xb1\0\0\x2\x86\0\0\0\x4\0\0\0\x4\0\0\0\x1\0\0\0\x2\xfc\0\0\0\x3\0\0\0\x2\0\0\0\x4\0\0\0&\0M\0\x61\0i\0n\0\x43\0o\0n\0t\0r\0o\0l\0s\0T\0o\0o\0l\0\x62\0\x61\0r\x1\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0\0\0\0 \0s\0\x65\0l\0\x65\0\x63\0t\0i\0o\0n\0T\0o\0o\0l\0\x62\0\x61\0r\x1\0\0\x1'\xff\xff\xff\xff\0\0\0\0\0\0\0\0\0\0\0\x14\0V\0\x43\0R\0T\0o\0o\0l\0\x62\0\x61\0r\x1\0\0\x2$\xff\xff\xff\xff\0\0\0\0\0\0\0\0\0\0\0$\0\x63\0u\0r\0r\0\x65\0n\0t\0T\0i\0m\0\x65\0T\0o\0o\0l\0\x62\0\x61\0r\x1\0\0\x2\xff\xff\xff\xff\xff\0\0\0\0\0\0\0\0\0\0\0\x2\0\0\0\x5\0\0\0\x1e\0v\0\x61\0r\0i\0\x61\0\x62\0l\0\x65\0T\0o\0o\0l\0\x62\0\x61\0r\x1\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0\0\0\0*\0r\0\x65\0p\0r\0\x65\0s\0\x65\0n\0t\0\x61\0t\0i\0o\0n\0T\0o\0o\0l\0\x62\0\x61\0r\x1\0\0\x1s\xff\xff\xff\xff\0\0\0\0\0\0\0\0\0\0\0\x1a\0\x63\0\x61\0m\0\x65\0r\0\x61\0T\0o\0o\0l\0\x62\0\x61\0r\x1\0\0\x2\x18\xff\xff\xff\xff\0\0\0\0\0\0\0\0\0\0\0\x16\0\x61\0x\0\x65\0s\0T\0o\0o\0l\0\x62\0\x61\0r\x1\0\0\x3\x37\xff\xff\xff\xff\0\0\0\0\0\0\0\0\0\0\0\x1a\0M\0\x61\0\x63\0r\0o\0s\0T\0o\0o\0l\0\x62\0\x61\0r\x1\0\0\x3\xce\xff\xff\xff\xff\0\0\0\0\0\0\0\0\0\0\0\x2\0\0\0\x1\0\0\0\f\0\x43\0o\0m\0m\0o\0n\x1\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0)"

[extensions]
AnimationExtension=*.jpg
ScreenshotExtension=*.png

[PluginsList]
Local\opt\paraviewopenfoam3120\lib\paraview-3.12\paraview="<?xml version=\"1.0\" ?>\n<Plugins>\n  <Plugin name=\"Moments\" filename=\"/opt/paraviewopenfoam3120/lib/paraview-3.12/libMoments.so\" auto_load=\"0\" />\n  <Plugin name=\"PrismPlugin\" filename=\"/opt/paraviewopenfoam3120/lib/paraview-3.12/libPrismPlugin.so\" auto_load=\"0\" />\n  <Plugin name=\"PacMan\" filename=\"/opt/paraviewopenfoam3120/lib/paraview-3.12/libPacMan.so\" auto_load=\"0\" />\n  <Plugin name=\"PointSprite_Plugin\" filename=\"/opt/paraviewopenfoam3120/lib/paraview-3.12/libPointSprite_Plugin.so\" auto_load=\"0\" />\n  <Plugin name=\"pvblot\" filename=\"/opt/paraviewopenfoam3120/lib/paraview-3.12/libpvblot.so\" auto_load=\"0\" />\n  <Plugin name=\"SierraPlotTools\" filename=\"/opt/paraviewopenfoam3120/lib/paraview-3.12/libSierraPlotTools.so\" auto_load=\"0\" />\n  <Plugin name=\"SLACTools\" filename=\"/opt/paraviewopenfoam3120/lib/paraview-3.12/libSLACTools.so\" auto_load=\"0\" />\n  <Plugin name=\"StreamingView\" filename=\"/opt/paraviewopenfoam3120/lib/paraview-3.12/libStreamingView.so\" auto_load=\"0\" />\n  <Plugin name=\"SurfaceLIC\" filename=\"/opt/paraviewopenfoam3120/lib/paraview-3.12/libSurfaceLIC.so\" auto_load=\"0\" />\n  <Plugin name=\"H5PartReader\" filename=\"/opt/paraviewopenfoam3120/lib/paraview-3.12/libH5PartReader.so\" auto_load=\"0\" />\n  <Plugin name=\"AnalyzeReader\" filename=\"/opt/paraviewopenfoam3120/lib/paraview-3.12/libAnalyzeReader.so\" auto_load=\"0\" />\n  <Plugin name=\"AnalyzeWriter\" filename=\"/opt/paraviewopenfoam3120/lib/paraview-3.12/libAnalyzeWriter.so\" auto_load=\"0\" />\n  <Plugin name=\"NIfTIReader\" filename=\"/opt/paraviewopenfoam3120/lib/paraview-3.12/libNIfTIReader.so\" auto_load=\"0\" />\n  <Plugin name=\"NIfTIWriter\" filename=\"/opt/paraviewopenfoam3120/lib/paraview-3.12/libNIfTIWriter.so\" auto_load=\"0\" />\n  <Plugin name=\"PV3FoamReader_SM\" filename=\"/opt/openfoam220/platforms/linux64GccDPOpt/lib/paraview-3.12/libPV3FoamReader_SM.so\" auto_load=\"0\" />\n  <Plugin name=\"PV3blockMeshReader_SM\" filename=\"/opt/openfoam220/platforms/linux64GccDPOpt/lib/paraview-3.12/libPV3blockMeshReader_SM.so\" auto_load=\"0\" />\n</Plugins>\n"

[renderModule]
BackLightAzimuth=110
BackLightElevation=0
BackLightK%3AB%20Ratio=3.5
BackLightWarmth=0.5
FillLightAzimuth=-10
FillLightElevation=-75
FillLightK%3AF%20Ratio=3
FillLightWarmth=0.4
HeadLightK%3AH%20Ratio=3
HeadLightWarmth=0.5
KeyLightAzimuth=10
KeyLightElevation=50
KeyLightIntensity=0.75
KeyLightWarmth=0.6
LightIntensity=1
LightSwitch=0
MaintainLuminance=0
UseLight=1
CameraParallelProjection=1
CenterAxesVisibility=1
OrientationAxesInteractivity=0
OrientationAxesVisibility=1
OrientationAxesLabelColor=1
OrientationAxesOutlineColor=1
LightDiffuseColor=1, 1, 1
CenterAxes\ResetCenterWithCamera=true
LODThreshold=5
LODResolution=50
DepthPeeling=true
MaximumNumberOfPeels=4
UseOffscreenRenderingForScreenshots=true
RenderInterruptsEnabled=false
RemoteRenderThreshold=3
TileDisplayCompositeThreshold=3
DisableOrderedCompositing=false
ImageReductionFactor=2
CompressionEnabled=1
CompressorType=1
CompressorConfig=vtkSquirtCompressor 0 3
SquirtColorSpace=3
ZlibCompressionLevel=1
ZlibColorSpace=0
ZlibStripAlpha=false
NonInteractiveRenderDelay=2
StillRenderImageReductionFactor=1
CollectGeometryThreshold=100
InteractorStyle\CameraManipulators=Manipulator1Mouse1Shift0Control0NameRotate, Manipulator2Mouse2Shift0Control0NamePan, Manipulator3Mouse3Shift0Control0NameZoom, Manipulator4Mouse1Shift1Control0NameRoll, Manipulator5Mouse2Shift1Control0NameRotate, Manipulator6Mouse3Shift1Control0NamePan, Manipulator7Mouse1Shift0Control1NameZoom, Manipulator8Mouse2Shift0Control1NameRotate, Manipulator9Mouse3Shift0Control1NameZoom

[OutputWindow]
Position=@Point(213 475)
Size=@Size(650 400)

[lookupTable]
DefaultLUT="<Proxy group=\"lookup_tables\" type=\"PVLookupTable\" id=\"341\" servers=\"21\">\n  <Property name=\"Build\" id=\"341.Build\"/>\n  <Property name=\"ColorSpace\" id=\"341.ColorSpace\" number_of_elements=\"1\">\n    <Element index=\"0\" value=\"1\"/>\n    <Domain name=\"enum\" id=\"341.ColorSpace.enum\">\n      <Entry value=\"0\" text=\"RGB\"/>\n      <Entry value=\"1\" text=\"HSV\"/>\n      <Entry value=\"2\" text=\"Lab\"/>\n      <Entry value=\"3\" text=\"Diverging\"/>\n    </Domain>\n  </Property>\n  <Property name=\"Discretize\" id=\"341.Discretize\" number_of_elements=\"1\">\n    <Element index=\"0\" value=\"1\"/>\n    <Domain name=\"bool\" id=\"341.Discretize.bool\"/>\n  </Property>\n  <Property name=\"HSVWrap\" id=\"341.HSVWrap\" number_of_elements=\"1\">\n    <Element index=\"0\" value=\"0\"/>\n    <Domain name=\"bool\" id=\"341.HSVWrap.bool\"/>\n  </Property>\n  <Property name=\"LockScalarRange\" id=\"341.LockScalarRange\" number_of_elements=\"1\">\n    <Element index=\"0\" value=\"0\"/>\n    <Domain name=\"bool\" id=\"341.LockScalarRange.bool\"/>\n  </Property>\n  <Property name=\"NanColor\" id=\"341.NanColor\" number_of_elements=\"3\">\n    <Element index=\"0\" value=\"0.498039\"/>\n    <Element index=\"1\" value=\"0.498039\"/>\n    <Element index=\"2\" value=\"0.498039\"/>\n  </Property>\n  <Property name=\"NumberOfTableValues\" id=\"341.NumberOfTableValues\" number_of_elements=\"1\">\n    <Element index=\"0\" value=\"256\"/>\n    <Domain name=\"range\" id=\"341.NumberOfTableValues.range\"/>\n  </Property>\n  <Property name=\"RGBPoints\" id=\"341.RGBPoints\" number_of_elements=\"8\">\n    <Element index=\"0\" value=\"0\"/>\n    <Element index=\"1\" value=\"0\"/>\n    <Element index=\"2\" value=\"0\"/>\n    <Element index=\"3\" value=\"1\"/>\n    <Element index=\"4\" value=\"1\"/>\n    <Element index=\"5\" value=\"1\"/>\n    <Element index=\"6\" value=\"0\"/>\n    <Element index=\"7\" value=\"0\"/>\n  </Property>\n  <Property name=\"ScalarRangeInitialized\" id=\"341.ScalarRangeInitialized\" number_of_elements=\"1\">\n    <Element index=\"0\" value=\"0\"/>\n    <Domain name=\"bool\" id=\"341.ScalarRangeInitialized.bool\"/>\n  </Property>\n  <Property name=\"UseLogScale\" id=\"341.UseLogScale\" number_of_elements=\"1\">\n    <Element index=\"0\" value=\"0\"/>\n    <Domain name=\"bool\" id=\"341.UseLogScale.bool\"/>\n  </Property>\n  <Property name=\"VectorComponent\" id=\"341.VectorComponent\" number_of_elements=\"1\">\n    <Element index=\"0\" value=\"2\"/>\n    <Domain name=\"range\" id=\"341.VectorComponent.range\"/>\n  </Property>\n  <Property name=\"VectorMode\" id=\"341.VectorMode\" number_of_elements=\"1\">\n    <Element index=\"0\" value=\"1\"/>\n    <Domain name=\"enum\" id=\"341.VectorMode.enum\">\n      <Entry value=\"0\" text=\"Magnitude\"/>\n      <Entry value=\"1\" text=\"Component\"/>\n    </Domain>\n  </Property>\n</Proxy>\n"

[server]
HeartBeatTime=60000
GlobalMapperProperties\GlobalImmediateModeRendering=false
GlobalMapperProperties\Mode=2
GlobalMapperProperties\PolygonOffsetFactor=1
GlobalMapperProperties\PolygonOffsetUnits=1
GlobalMapperProperties\OffsetFaces=true
GlobalMapperProperties\ZShift=0.002

[pqScalarsToColors]
COLOR_RANGE_SCALING_MODE=1

[GlobalProperties]
AutoConvertProperties=false
ForegroundColor=@Variant(\0\0\0\x43\x1\xff\xff\xff\xff\xff\xff\xff\xff\0\0)
SurfaceColor=@Variant(\0\0\0\x43\x1\xff\xff\xff\xff\xff\xff\xff\xff\0\0)
BackgroundColor=@Variant(\0\0\0\x43\x1\xff\xffQ\xebW\nn\x14\0\0)
TextAnnotationColor=@Variant(\0\0\0\x43\x1\xff\xff\xff\xff\xff\xff\xff\xff\0\0)
SelectionColor=@Variant(\0\0\0\x43\x1\xff\xff\xff\xff\0\0\xff\xff\0\0)
EdgeColor=@Variant(\0\0\0\x43\x1\xff\xff\0\0\0\0\x80\0\0\0)

[Animation]
CacheGeometry=true
CacheLimit=102400

[Charting]
HiddenSeries=Time, arc_length, Points.*, vtkValidPointMask, Pedigree.*, ObjectId, FileId, .*\\(\\d+\\), vtkOriginalRowIds, vtkOriginalIndices

[representation]
UnstructuredGridOutlineThreshold=0.5

[renderModule2D]
InteractorStyle\CameraManipulators=Manipulator1Mouse1Shift0Control0NamePan, Manipulator2Mouse2Shift0Control0NamePan, Manipulator3Mouse3Shift0Control0NameZoom, Manipulator4Mouse1Shift1Control0NameZoom, Manipulator5Mouse2Shift1Control0NameZoom, Manipulator6Mouse3Shift1Control0NameZoom, Manipulator7Mouse1Shift0Control1NameZoom, Manipulator8Mouse2Shift0Control1NameZoom, Manipulator9Mouse3Shift0Control1NamePan
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   September 14, 2013, 11:54
Default
  #14
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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 Ehsan,

Close ParaView and remove this line from the "ini" file:
Quote:
Originally Posted by immortality View Post
Code:
DefaultLUT="<Proxy group=\"lookup_tables\" type=\"PVLookupTable\" id=\"341\" servers=\"21\">\n  <Property name=\"Build\" id=\"341.Build\"/>\n  <Property name=\"ColorSpace\" id=\"341.ColorSpace\" number_of_elements=\"1\">\n    <Element index=\"0\" value=\"1\"/>\n    <Domain name=\"enum\" id=\"341.ColorSpace.enum\">\n      <Entry value=\"0\" text=\"RGB\"/>\n      <Entry value=\"1\" text=\"HSV\"/>\n      <Entry value=\"2\" text=\"Lab\"/>\n      <Entry value=\"3\" text=\"Diverging\"/>\n    </Domain>\n  </Property>\n  <Property name=\"Discretize\" id=\"341.Discretize\" number_of_elements=\"1\">\n    <Element index=\"0\" value=\"1\"/>\n    <Domain name=\"bool\" id=\"341.Discretize.bool\"/>\n  </Property>\n  <Property name=\"HSVWrap\" id=\"341.HSVWrap\" number_of_elements=\"1\">\n    <Element index=\"0\" value=\"0\"/>\n    <Domain name=\"bool\" id=\"341.HSVWrap.bool\"/>\n  </Property>\n  <Property name=\"LockScalarRange\" id=\"341.LockScalarRange\" number_of_elements=\"1\">\n    <Element index=\"0\" value=\"0\"/>\n    <Domain name=\"bool\" id=\"341.LockScalarRange.bool\"/>\n  </Property>\n  <Property name=\"NanColor\" id=\"341.NanColor\" number_of_elements=\"3\">\n    <Element index=\"0\" value=\"0.498039\"/>\n    <Element index=\"1\" value=\"0.498039\"/>\n    <Element index=\"2\" value=\"0.498039\"/>\n  </Property>\n  <Property name=\"NumberOfTableValues\" id=\"341.NumberOfTableValues\" number_of_elements=\"1\">\n    <Element index=\"0\" value=\"256\"/>\n    <Domain name=\"range\" id=\"341.NumberOfTableValues.range\"/>\n  </Property>\n  <Property name=\"RGBPoints\" id=\"341.RGBPoints\" number_of_elements=\"8\">\n    <Element index=\"0\" value=\"0\"/>\n    <Element index=\"1\" value=\"0\"/>\n    <Element index=\"2\" value=\"0\"/>\n    <Element index=\"3\" value=\"1\"/>\n    <Element index=\"4\" value=\"1\"/>\n    <Element index=\"5\" value=\"1\"/>\n    <Element index=\"6\" value=\"0\"/>\n    <Element index=\"7\" value=\"0\"/>\n  </Property>\n  <Property name=\"ScalarRangeInitialized\" id=\"341.ScalarRangeInitialized\" number_of_elements=\"1\">\n    <Element index=\"0\" value=\"0\"/>\n    <Domain name=\"bool\" id=\"341.ScalarRangeInitialized.bool\"/>\n  </Property>\n  <Property name=\"UseLogScale\" id=\"341.UseLogScale\" number_of_elements=\"1\">\n    <Element index=\"0\" value=\"0\"/>\n    <Domain name=\"bool\" id=\"341.UseLogScale.bool\"/>\n  </Property>\n  <Property name=\"VectorComponent\" id=\"341.VectorComponent\" number_of_elements=\"1\">\n    <Element index=\"0\" value=\"2\"/>\n    <Domain name=\"range\" id=\"341.VectorComponent.range\"/>\n  </Property>\n  <Property name=\"VectorMode\" id=\"341.VectorMode\" number_of_elements=\"1\">\n    <Element index=\"0\" value=\"1\"/>\n    <Domain name=\"enum\" id=\"341.VectorMode.enum\">\n      <Entry value=\"0\" text=\"Magnitude\"/>\n      <Entry value=\"1\" text=\"Component\"/>\n    </Domain>\n  </Property>\n</Proxy>\n"
Because it's in this line that there are several occurrences of "<Element" in it.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   September 14, 2013, 12:31
Default
  #15
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
dear Bruno there is another file with namearaView3.12.0.DisabledRegistry.ini in paraView folder with this content:
Code:
[General]
ServerResources=session:/home/ehsan/Desktop/WR_realizableKE/anim.pvsm#builtin:, "builtin:/home/ehsan/Desktop/WR_realizableKE/WR_realizable.foam;extrafilesCount:0;reader:OpenFOAMReader;readergroup:sources"

[RecentDirs]
builtin%3A=/home/ehsan/Desktop/WR_realizableKE/animation, /home/ehsan/Desktop/WR_realizableKE

[OutputWindow]
Position=@Point(449 433)
Size=@Size(650 400)

[extensions]
ScreenshotExtension=*.png
what's this?is it OK there exists there? what does it disable?!
-------------------------------
you mean I delete all the lines below [lookupTable] and above [server]?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   September 14, 2013, 13:07
Default
  #16
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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
Quote:
Originally Posted by immortality View Post
ParaView3.12.0.DisabledRegistry.ini
It's probably created automatically when it runs with the "-dr" option.

Quote:
Originally Posted by immortality View Post
you mean I delete all the lines below [lookupTable] and above [server]?
I said to "remove this line". There is only one line, not multiple ones.
If you are seeing multiple lines, then it's because you have the "wrap" option turned on on your text editor.
immortality likes this.
__________________
wyldckat is offline   Reply With Quote

Old   September 14, 2013, 13:27
Default
  #17
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
dear Bruno it resolved.I now reopened it by paraFoam -builtin and rescale works fine like before,then it was related to that line?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   September 14, 2013, 13:32
Default
  #18
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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
Quote:
Originally Posted by immortality View Post
then it was related to that line?
No, of course not. I was only trying to distract you. While you were playing around with that file, I hacked into your computer and fixed the problem myself



I'll quote from the Simple English Wikipedia article on Occam's razor: http://simple.wikipedia.org/wiki/Occam%27s_razor
Quote:
Occam's razor (or Ockham's razor) is a principle from philosophy. Suppose two explanations are equally likely. In this case the simpler one is usually better. Another way of saying it is that the more assumptions you have to make, the more unlikely an explanation is.
immortality likes this.
__________________
wyldckat is offline   Reply With Quote

Old   September 14, 2013, 15:15
Default
  #19
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road

I thought I have to use and add this
Code:
paraview -dr --data="$caseFile"
then thats good that I put total ini code there,otherwise may the cause would not be found.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Reply


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
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 03:23
OpenFOAM 1.7 ParaView 3.8 installation problems shangzung OpenFOAM Installation 1 July 11, 2010 06:38
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 15:45
Paraview installation troubles jjhall OpenFOAM Installation 3 April 17, 2008 12:59
[OpenFOAM] Why dosnbt it work on paraview when inputing the results of the case tutorialsstr dandes ParaView 3 March 22, 2006 11:06


All times are GMT -4. The time now is 03:48.