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

[PyFoam] with OpenFOAM v3+

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 12, 2016, 07:36
Default with OpenFOAM v3+
  #1
Member
 
Davi Barreira
Join Date: Apr 2014
Location: Fortaleza
Posts: 76
Rep Power: 8
davibarreira is on a distinguished road
I'm testing the new OpenFOAM v3+. I realized that the pyFoamRunner.py command doesn't work with it. When I try to use it, it gives:

Code:
Usage
=====
  pyFoamRunner.py [options] <foamApplication> <caseDir> <caseName> [foamOptions]

pyFoamRunner.py: error: Too few arguments (3 needed, 1 given)
Although, the problem is not actually the lack of arguments, as this command works with previous OpenFOAM versions, such as 3.0.0. Also, running the command as pyFoamRunner.py pimpleFoam . ., gives:

Code:
--> FOAM FATAL ERROR:
Wrong number of arguments, expected 0 found 2
Any ideas how to fix this?

P.s: When I go back to the OpenFOAM 3.0.0 version, the command works flawlessly. Also, this is the latest PyFoam version.
davibarreira is offline   Reply With Quote

Old   May 28, 2017, 12:33
Default PyFoam in OF 4.1
  #2
New Member
 
Calum Douglas
Join Date: Apr 2013
Location: Coventry, UK
Posts: 26
Rep Power: 9
snowygrouch is on a distinguished road
I agree with this,
Its a problem, and could do with someone fixing it.

I`ve just gone from OF 2 to 4.1, and just about everything has
died, and this is on the list.

Have installed with fresh install of Ubuntu 17.10 from the OF.org
page and latest versions of python, gnuplot, numpy, etc.
__________________
Calum Douglas
Director
Scorpion Dynamics Ltd
Email: calum.douglas@scorpion-dynamics.com
Web: www.scorpion-dynamics.com
snowygrouch 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
OpenFOAM Foundation releases OpenFOAMŪ 3.0.0 CFDFoundation OpenFOAM Announcements from OpenFOAM Foundation 1 November 7, 2015 15:16
OpenFOAM Foundation Releases OpenFOAM v2.3.0 opencfd OpenFOAM Announcements from OpenFOAM Foundation 3 December 23, 2014 03:43
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 09:04
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 0 January 1, 2014 19:21
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07


All times are GMT -4. The time now is 19:36.