CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

Grey screen in paraview

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 25, 2010, 11:37
Default Grey screen in paraview
  #1
Member
 
inginer's Avatar
 
Ovidiu Michiu
Join Date: Apr 2010
Location: Ingolstadt, Germany
Posts: 52
Rep Power: 7
inginer is on a distinguished road

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

Old   May 26, 2010, 03:51
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Rotterdam, The Netherlands
Posts: 1,594
Rep Power: 24
ngj will become famous soon enoughngj will become famous soon enough
Hi and welcome

Try inserting

export LANG=C

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

Best regards,

Niels
ngj is offline   Reply With Quote

Old   May 26, 2010, 09:54
Default
  #3
Member
 
inginer's Avatar
 
Ovidiu Michiu
Join Date: Apr 2010
Location: Ingolstadt, Germany
Posts: 52
Rep Power: 7
inginer is on a distinguished road
Hello Niels,

the same problem. i still have the grey screen.

best regards,

Ovidiu
inginer is offline   Reply With Quote

Old   May 26, 2010, 10:49
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,253
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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
wyldckat is offline   Reply With Quote

Old   May 26, 2010, 11:12
Default
  #5
Member
 
inginer's Avatar
 
Ovidiu Michiu
Join Date: Apr 2010
Location: Ingolstadt, Germany
Posts: 52
Rep Power: 7
inginer is on a distinguished road
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
inginer is offline   Reply With Quote

Old   May 26, 2010, 11:47
Default
  #6
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,253
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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
wyldckat is offline   Reply With Quote

Old   May 28, 2010, 05:53
Default
  #7
Member
 
inginer's Avatar
 
Ovidiu Michiu
Join Date: Apr 2010
Location: Ingolstadt, Germany
Posts: 52
Rep Power: 7
inginer is on a distinguished road
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
inginer is offline   Reply With Quote

Old   May 29, 2010, 08:35
Default
  #8
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,253
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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
wyldckat is offline   Reply With Quote

Old   May 29, 2010, 23:53
Default
  #9
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 11
7islands is on a distinguished road
Hi Bruno,
Quote:
Originally Posted by wyldckat View Post
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
7islands is offline   Reply With Quote

Old   May 31, 2010, 10:13
Default
  #10
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,253
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Takuya,

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

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   May 31, 2010, 11:38
Default
  #11
Member
 
inginer's Avatar
 
Ovidiu Michiu
Join Date: Apr 2010
Location: Ingolstadt, Germany
Posts: 52
Rep Power: 7
inginer is on a distinguished road
Hello Bruno,

Thk you. it's finally working.

Best regards,

Ovidiu
inginer is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41
paraFoam / paraview black screen gfilip OpenFOAM 6 July 13, 2009 04:30
Screen resolution and ParaView wavytracy OpenFOAM Installation 2 June 9, 2009 16:31
Monitor Screen Resolution and ParaView kenhelland OpenFOAM Installation 1 December 7, 2008 14:07
smoke & screen Marko Main CFD Forum 12 May 15, 2000 11:56


All times are GMT -4. The time now is 16:53.