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

OpenFoam (Ubuntu): paraFoam via Xming+PuTTY

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

Like Tree1Likes
  • 1 Post By raketenmaid

Reply
 
LinkBack Thread Tools Display Modes
Old   January 18, 2013, 05:07
Default OpenFoam (Ubuntu): paraFoam via Xming+PuTTY
  #1
New Member
 
Join Date: Jan 2013
Posts: 3
Rep Power: 4
raketenmaid is on a distinguished road
After months of trial and error we have found a way to use paraFoam on our workstation (using Ubuntu).

I usually log on to the machine via Exceed but which is unable to process 3D graphics. So paraFoam could not be launched.

What we do now is to start an x-server via xming and then I connect to the workstation via PuTTY which opens a terminal by which I can use paraFoam successfully.

However, when I have paraFoam running I can no longer enter commands to the terminal and I would have to open another connection to the workstation in parallel - which is anything but convenient.

But what is even worse: When I want to close paraFoam I can only do so by closing it completely by which I also close the x-server it seems. Now if I want to relaunch paraFoam it does not work and I have to disconnect from the workstation, relaunch the x-server and reconnect to the workstation.

This is really awkward to work like this. So I highly would appreciate if somebody could help me by showing me how I can avoid to shut down the x-server by closing paraFoam or how to keep it running anyway.

PS: I am a neophyte with OpenFoam and I am not a workstation expert either.
raketenmaid is offline   Reply With Quote

Old   January 18, 2013, 05:56
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,312
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings raketenmaid and welcome to the forum!

My brief experiments with Xming indicated that it's not a very stable system. Nonetheless, it does have some functionality that can be good enough for some cases.

As for your case, you can run any application in Linux as a job. For example, you can make paraFoam start as a background job like this:
Code:
paraFoam &
For more about this, search online for:
Quote:
linux shell jobs
As for ParaView not wanting to exit... could you describe the steps you take and what happens exactly? Perhaps with an image showing how things stop!?

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   January 18, 2013, 06:24
Default
  #3
New Member
 
Join Date: Jan 2013
Posts: 3
Rep Power: 4
raketenmaid is on a distinguished road
First thanks, Bruno, for your advice.

As for paraFoam: When I want to close it I either click on the X on the upper right corner of the paraFoam window or use the exit option via the menu of paraFoam. It closes as expected but when I restart paraFoam via the terminal I just get the splash screen (that little colourful square that appears when paraFoam starts up and that disappears as soon as the window with paraFoam opens). And that's where it sticks.

No error message or such. I have to close PuTTY violently to close down everything and then I have sometimes to explicitely close xming (via the task bar). In order to run it again I have to restart xming and PuTTY.
raketenmaid is offline   Reply With Quote

Old   February 4, 2013, 13:22
Default
  #4
New Member
 
Join Date: Jan 2013
Posts: 3
Rep Power: 4
raketenmaid is on a distinguished road
It seems that I have a solution now to my problem:

I start from putty an xterm in the background from which I can launch (also in the background) paraFoam which allows me to close and open the paraFoam window as often as I like without crashes.
wyldckat likes this.
raketenmaid is offline   Reply With Quote

Old   February 5, 2013, 06:20
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,312
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Many thanks for sharing your solution!

I've been keeping this thread on my to-do list, but I didn't manage to look into this sooner.
wyldckat 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
Openfoam 2.1 installation in ubuntu 12.04 jsm OpenFOAM Installation 11 May 7, 2012 04:56
Problem? with Installation of OpenFOAM 2.1.0 on to Ubuntu 10.4.4 VirtualBox Stubby OpenFOAM Installation 8 March 5, 2012 16:12
OpenFOAM vs Ubuntu 10.10 64 bit vkrastev OpenFOAM Installation 12 April 23, 2011 10:14
Installing OpenFOAM 1.6 on Ubuntu 10.4 sda OpenFOAM Installation 5 May 27, 2010 20:19
Problem with paraFoam (ubuntu 9.04) peb OpenFOAM Paraview & paraFoam 4 August 24, 2009 09:50


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