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

Parafoam: foreground process

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 20, 2010, 05:27
Default Parafoam: foreground process
  #1
Member
 
Join Date: Dec 2009
Posts: 33
Rep Power: 8
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, 10:47
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,558
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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, 22:49
Default
  #3
Member
 
Join Date: Dec 2009
Posts: 33
Rep Power: 8
smillion is on a distinguished road
Thanks wyldckat
smillion is offline   Reply With Quote

Old   March 21, 2010, 14:51
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,558
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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

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


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