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

[PyFoam] pyFoamVtkSurface

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 30, 2014, 06:00
Default pyFoamVtkSurface
  #1
New Member
 
Ehsan
Join Date: May 2013
Location: Hong Kong
Posts: 5
Rep Power: 12
Essy is on a distinguished road
Hi

I am using pyFoamSurfacePlot.py to create some animations. It works fine as long as I am importing files from my computer but when I want to use some files from SFTP there is a problem! it seems that it can not access SFTP. Do I need to install especial libs for this purpose?

I appreciate any Idea.

Thanks

Ehsan

Last edited by Essy; January 30, 2014 at 08:56. Reason: typo
Essy is offline   Reply With Quote

Old   January 30, 2014, 06:16
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 Essy View Post
Hi

I am using pyFoamVtkSurface.py to create some animations. It works fine as long as I am importing files from my computer but when I want to use some files from SFTP there is a problem! it seems that it can not access SFTP. Do I need to install especial libs for this purpose?

I appreciate any Idea.

Thanks

Ehsan
I'm responsible for a lot of crimes that start with pyFoam and end with .py but that one is new to me. And googling for "pyFoamVtkSurface.py" didn't get me anything relevant. Where have you got that from? (just curious, won't sue anyone for trademark. I Promise)
__________________
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

Old   January 30, 2014, 08:44
Default
  #3
New Member
 
Ehsan
Join Date: May 2013
Location: Hong Kong
Posts: 5
Rep Power: 12
Essy is on a distinguished road
Thank you Bernhard for your quick reply. Sorry I made a mistake! As You might have guessed the correct name of the script is "pyFoamSurfacePlot.py". Is there any way to have this utility access cases which are on the SFTP?
Essy is offline   Reply With Quote

Old   January 30, 2014, 10:03
Default
  #4
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 Essy View Post
Thank you Bernhard for your quick reply. Sorry I made a mistake! As You might have guessed the correct name of the script is "pyFoamSurfacePlot.py". Is there any way to have this utility access cases which are on the SFTP?
First reaction was "maybe I wrote a utility of that name and forgot about it"

Anyway: no. There is no direct support for SFTP. And it wouldn't make much sense as in order to plot the files they would have to be loaded over the network (acually TWICE: once to look at them for minima and maxima and a second time for the actual plotting).

Anyway: what I'd suggest is "SSH over FUSE":
http://en.wikipedia.org/wiki/SSHFS
That looks like a regular filesystem (so pyFoamSurfacePlot.py can work with it)
__________________
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

Old   January 31, 2014, 01:30
Default
  #5
New Member
 
Ehsan
Join Date: May 2013
Location: Hong Kong
Posts: 5
Rep Power: 12
Essy is on a distinguished road
Many thanks for your help Bernhard. It works fine with SSHFS!
Essy is offline   Reply With Quote

Reply

Tags
pyfoam, pyfoamsurfaceplot.py


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



All times are GMT -4. The time now is 18:07.