CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Grey screen in paraview (http://www.cfd-online.com/Forums/openfoam/76425-grey-screen-paraview.html)

inginer May 25, 2010 11:37

Grey screen in paraview
 
:confused:
Hello,

I manage to install paraview from OF-1.6 (my connection is VNC, on a suse platform, 32 bits), but a new problem appeared. i'm opening paraview and if I try to build a simple sphere in paraview, I see only the grey screen. If Iím trying to load a case, the same problem appears. I have a guess that the video card is the problem, but Iím not sure ...

Best regards,

Ovidiu

ngj May 26, 2010 03:51

Hi and welcome

Try inserting

export LANG=C

in the paraFoam-script in ~/OpenFOAM/OpenFOAM-1.6.x/bin/paraFoam.

Best regards,

Niels

inginer May 26, 2010 09:54

Hello Niels,

the same problem. i still have the grey screen.

best regards,

Ovidiu

wyldckat May 26, 2010 10:49

Hello Ovidiu,

I'm asking this just to be sure: after loading a case or making a sphere, do you hit the button "Apply"?

Best regards,
Bruno

inginer May 26, 2010 11:12

Hello Bruno,

I tried the simple case possible. making a sphere and then i hit the "apply" button. the problem is the same. the screen still remains grey (my connection is maded it by Xming).

my guess is the graphic card, but i'm not sure.

also i try too conected with linux machine by cygwin - didn't work;

i try also the Virtual Machine, i cannot install because i'm user not administrator.

Best regards,

Ovidiu

wyldckat May 26, 2010 11:47

Hello again Ovidiu,

OK, with Xming, are you using Putty or Xming's plink? If you're using Putty, try using plink: PuTTY Link for Xming SSH client

Putty has a GUI when it starts, but plink is command line only, similar to the ssh application in Linux.

If that's doesn't work properly either, then you still have one possibility, although annoying: after execution on the remote machine, compress and download the case files with winscp and then use Takuya's pre-built ParaView with his plugin, available here "Contrib Parallelized Native OpenFOAM Reader for ParaView - Downloads" namely ParaView-3.4.0-win32-x86-mpich2-OpenFOAM-r109.zip

At least until you're able to get a more reliable way of communicating with the remote machine.

Best regards,
Bruno

inginer May 28, 2010 05:53

Hello Bruno,

I try the first choice, with putty and pink connection. I receive the same problem. Itís opening paraview but the screen still remains grey. The second one, and the most annoying, I try something but I donít know if I did it well because I receive the same thing. So, can you please give me more details about how can I rebuild paraview in the second case.

Thk you
Best regards,
Ovidiu

wyldckat May 29, 2010 08:35

Hello again Ovidiu,

OK, lets try again Takuya's built ParaView 3.4.0:
  1. In your Windows machine, download this file: ParaView-3.4.0-win32-x86-mpich2-OpenFOAM-r109.zip
  2. Unpack it into a folder of yours.
  3. Go into the folder ParaView 3.4.0-mpich2-OpenFOAM-r109\bin.
  4. Create a shortcut to paraview.exe into your Desktop or Start->All Programs. You can right click in paraview.exe and choose Copy. Then right click in the Desktop and choose Paste Shortcut.
  5. OK, now that you've got ParaView pretty much installed, double click on the new shortcut.
  6. Try to do the sphere and check if it works now.
If it's working, don't close ParaView and lets go over the part on how to get the case from the remote server:
  1. On your ssh terminal, go to your case folder;
  2. Then run:
    Code:

    touch case.foam
    cd ..
    tar -czf case.tar.gz your_case_folder

    This way you get a smaller package of your case for downloading. The touch command will create an empty file named case.foam which ParaView will open.
    Caution
    : do not use the regular ParaView version to open it, because the reader available for ParaView prior to 3.9 does not open OpenFOAM cases since OpenFOAM 1.4.1 if I'm not mistaken.
  3. Then run on your Windows box Winscp and connect to your remote machine and copy the case.tar.gz file to your local machine.
  4. Unpack case.tar.gz in your local computer. If you don't already have software to unpack it, you can use 7zip: http://www.7-zip.org/download.html
  5. Now, lets open the case in your local ParaView. Use the already open ParaView from the first part of this post, but remove the sphere first. Then go to the menu File->Open.
  6. Select the case.foam file from your unpacked case folder.
  7. After opening it, hit the button "Apply" and voilŗ, you should now be able to see your executed case :)
If all went well, then you now have got a more stable way to run remotely your OpenFOAM solvers and then copy the executed case into your local machine and see the results, without a connection lag and crashes... or so I hope. The downside is that it's pretty annoying to have to download the files just to see them :(

Best regards,
Bruno

7islands May 29, 2010 23:53

Hi Bruno,
Quote:

Originally Posted by wyldckat (Post 260805)
do not use the regular ParaView version to open it, because the reader available for ParaView prior to 3.9 does not open OpenFOAM cases since OpenFOAM 1.4.1 if I'm not mistaken.

FYI, The regular ParaView 3.8.0 can be used. The reader in the 3.8.0 misses some latest features (see here for the specifics) but should be enough to get one started.

Takuya

wyldckat May 31, 2010 10:13

Greetings Takuya,

Many thanks for the info!! And congrats for getting your reader in ParaView's mainstream :)

Best regards,
Bruno

inginer May 31, 2010 11:38

Hello Bruno,

Thk you. it's finally working.

Best regards,

Ovidiu :)


All times are GMT -4. The time now is 05:40.