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

Parafoam: foreground process

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 20, 2010, 04:27
Default Parafoam: foreground process
  #1
Member
 
Join Date: Dec 2009
Posts: 33
Rep Power: 16
smillion is on a distinguished road
Hey guys,

After typing paraFoam in the command line I don't get my next command prompt. The user guide says all I need to type is "paraFoam" in the command line but do I have to type anything else to run icoFoam in the foreground?

smillion
smillion is offline   Reply With Quote

Old   March 20, 2010, 09:47
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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 smillion View Post
Hey guys,

After typing paraFoam in the command line I don't get my next command prompt. The user guide says all I need to type is "paraFoam" in the command line but do I have to type anything else to run icoFoam in the foreground?

smillion
Greetings smillion,

You have (at least) two possibilities:
  1. Type an ampersand after paraFoam, as such:
    Code:
    paraFoam &
    The ampersand in will make the program launch as a forked process, thus allowing you to continue using the main terminal window. If you close that terminal, all forked processes from it will be terminated.
  2. Open a new terminal, and go to the same folder, and voilá, you can run other OpenFOAM applications from there... as long as the environment is properly set up by OpenFOAM's bashrc file (or crshrc, I think)
But if you are reading the user guide, there should be mention on it about the nohup command, which acts similarly to the ampersand, but will spawn it as a new process, instead of a forked one!

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   March 20, 2010, 21:49
Default
  #3
Member
 
Join Date: Dec 2009
Posts: 33
Rep Power: 16
smillion is on a distinguished road
Thanks wyldckat
smillion is offline   Reply With Quote

Old   March 21, 2010, 13:51
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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
You're welcome smillion

By the way, I finally found again a cheat sheet pdf for *nix/Linux commands and OpenFOAM, available here.

Best regards,
Bruno
wyldckat 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] surfaceScalarField in paraFoam danielr ParaView 1 October 5, 2009 02:08
[OpenFOAM] Segmentation fault with paraFoam and paraview 3.6.1 on Fedora 11 32 and 64 bit nanes ParaView 2 September 11, 2009 09:12
dxFoamExec orphan process bigphil OpenFOAM Post-Processing 0 March 19, 2009 11:08
[OpenFOAM] Parafoam basic questions qtian ParaView 0 July 20, 2007 11:52
[OpenFOAM] ParaFoam OF 14 decomposed cases philippose ParaView 4 April 18, 2007 05:17


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