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

[OpenFOAM] 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 Search this Thread 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: 9
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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,958
Blog Entries: 45
Rep Power: 122
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 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: 9
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: 9
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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,958
Blog Entries: 45
Rep Power: 122
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
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.org] Can't find installation instruction for Openfoam 2.4.x , on Ubuntu 16.04 titanium OpenFOAM Installation 14 February 20, 2020 12:46
[OpenFOAM.org] Using OpenFOAM 2.3.0 from Deb pack in Ubuntu 14.04 + ParaView 5 from OpenFOAM 4.1 ad2eb OpenFOAM Installation 12 May 28, 2017 15:30
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 0 January 1, 2014 20:21
[OpenFOAM] Following the OpenFOAM user guide when paraFoam gives an error New_OpenFOAM_user ParaView 3 October 18, 2013 07:58
Openfoam 2.1 installation in ubuntu 12.04 jsm OpenFOAM Installation 11 May 7, 2012 05:56


All times are GMT -4. The time now is 19:17.