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

[PyFoam] Remote running with PyFoam?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 27, 2013, 06:10
Default Remote running with PyFoam?
  #1
New Member
 
Join Date: Nov 2013
Posts: 20
Rep Power: 12
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: 4,225
Rep Power: 51
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


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
[PyFoam] Parse log file while running. ripudaman OpenFOAM Community Contributions 4 March 30, 2014 23:41
[PyFoam] How to extract values with pyFoam? chriss85 OpenFOAM Community Contributions 13 January 27, 2014 21:16
pyFoam, pyFlu, extend: How does they relate? Horus OpenFOAM 9 May 21, 2011 13:49
What do you CFD guys do during a long simulation running? bearcat Main CFD Forum 5 July 23, 2009 09:08
Kubuntu uses dash breaks All scripts in tutorials platopus OpenFOAM Bugs 8 April 15, 2008 08:52


All times are GMT -4. The time now is 21:24.