CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Remote running with PyFoam?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 27, 2013, 06:10
Default Remote running with PyFoam?
  #1
New Member
 
Join Date: Nov 2013
Posts: 20
Rep Power: 5
Jakob1 is on a distinguished road
I would like to code a script which sets up a series of cases, runs them and analyzes the results. This so far worked smoothly using PyFoam.

Since I will need the results on a Windows machine I was thinking of setting aside a second computer just for the simulations. Switching back and forth with a USB stick is not handy, so I was wondering if there was a (reasonable) way of remote controlling the system over the LAN.

All I could find were runners that can monitor and kill simulations, but is it possible to clone and start them as well?

That would be cool
Jakob1 is offline   Reply With Quote

Old   November 27, 2013, 14:34
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,971
Rep Power: 41
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by Jakob1 View Post
I would like to code a script which sets up a series of cases, runs them and analyzes the results. This so far worked smoothly using PyFoam.

Since I will need the results on a Windows machine I was thinking of setting aside a second computer just for the simulations. Switching back and forth with a USB stick is not handy, so I was wondering if there was a (reasonable) way of remote controlling the system over the LAN.

All I could find were runners that can monitor and kill simulations, but is it possible to clone and start them as well?

That would be cool
For cloning you have pyFoamCloneCase.py (or what do you mean).

For starting simulations remotely I didn't see any need yet because I use SunGridEngine to distribute runs to computers/clusters. PyFoam supports that with the ClusterJob-class (there are some examples around). Other queuing managers (than SGE) are possible but not implemented

Concerning the general question: you should describe WHAT you actually want that couldn't be done with scp and connecting via ssh to that machine. Or do you want a pyFoamCloneCase via ssh / pyFoamRunner via ssh ?
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider 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
Running multiple instances of solver using MPI and PyFoam bfa OpenFOAM Programming & Development 3 January 25, 2011 18:57
Running Fluent on remote Unix server msth FLUENT 2 April 13, 2010 16:26
Statically Compiling OpenFOAM Issues herzfeldd OpenFOAM Installation 21 January 6, 2009 10:38
Kubuntu uses dash breaks All scripts in tutorials platopus OpenFOAM Bugs 8 April 15, 2008 07:52
Please help cannot start lamboot hsieh OpenFOAM Installation 8 May 24, 2007 14:44


All times are GMT -4. The time now is 08:26.