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

remote computing

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 2, 2011, 05:21
Default remote computing
  #1
Member
 
lynda
Join Date: Oct 2009
Posts: 52
Rep Power: 16
lyna is on a distinguished road
Hi
what is the procedure used to launch a remote computing using OF?
Thank you

Lyna
lyna is offline   Reply With Quote

Old   May 2, 2011, 09:55
Default
  #2
Senior Member
 
Ben K
Join Date: Feb 2010
Location: Ottawa, Canada
Posts: 140
Rep Power: 19
benk is on a distinguished road
If you're talking about running openfoam solvers on your own computer remotely, this is what I've done:

1. Configure an ssh server on your linux box (quite easy if you are running a distribution like ubuntu). If you don't have a static IP to connect to, checkout services like dyndns.org
2. ssh into your server (on windows you can use a program like putty, otherwise just use ssh)
3. I highly recommend that you use the linux terminal app called screen, otherwise as soon as you end your ssh session, you'll have trouble checking up on your simulation (and possibly the solver will also quit when you get disconnected...not sure about that though).
4. For postprocessing, I think the easiest thing is probably to set up an ftp server and download the relevant data.
benk is offline   Reply With Quote

Old   May 2, 2011, 11:33
Default
  #3
Member
 
lynda
Join Date: Oct 2009
Posts: 52
Rep Power: 16
lyna is on a distinguished road
Thank you
I have to launch calculations on another machine (it is not mine), indeed on from my PC; because they have me create user's account in their machine, even the OF is installed(settled) in my account? is-It the similar with your case?
lyna is offline   Reply With Quote

Old   May 2, 2011, 11:54
Default
  #4
Senior Member
 
romant's Avatar
 
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 20
romant is on a distinguished road
In order to not have a simulation crash when you disconnect you ssh session, use one of the following options:

1. Start you simulation with foamJob:
Code:
foamJob simpleFoam
or for parallel
Code:
foamJob -p simpleFoam
where simpleFoam stands for the solver you are using. This starts the solver and diverts the screen output into a log file

2. Start you simulation in the background
Code:
simpleFoam > log &
where the "> log" send the output into a file called log, you can therefore also put the output in any file you like. The ampersand puts the whole thing into the background, which you can then see by calling up "top" or "htop" (htop is more convenient to use)

To see what the output looks like in both options, use
Code:
tail -f /path/to/log/file
this will output the logfile into the command line.
__________________
~roman
romant is offline   Reply With Quote

Old   May 18, 2011, 06:15
Default
  #5
Member
 
lynda
Join Date: Oct 2009
Posts: 52
Rep Power: 16
lyna is on a distinguished road
Hi
when I have results I can not trace them, paraFoam does not open the window ParaView.
is what I can get my results and how?, so I can draw them in my PC.

thank you
lyna 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
Please help cannot start lamboot hsieh OpenFOAM Installation 8 May 24, 2007 15:44
CFD algorithm design with reconfigurable computing Beatríz Navarro CFX 4 June 27, 2006 05:39
CFD algorithm design with reconfigurable computing Beatríz Navarro Main CFD Forum 1 June 25, 2006 15:25
CFD algorithm design with reconfigurable computing Beatríz Navarro Fidelity CFD 0 June 24, 2006 19:23
CFD algorithm design with reconfigurable computing Beatríz Navarro FLUENT 0 June 24, 2006 19:22


All times are GMT -4. The time now is 09:31.