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

pyFoam setting is not correct? or not compatible with 1.6?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 23, 2010, 07:55
Cool pyFoam setting is not correct? or not compatible with 1.6?
  #1
New Member
 
wuyu
Join Date: Mar 2010
Posts: 20
Rep Power: 6
seasoul is on a distinguished road
I installed pyfoam following the wiki manual, and passed the testing code stated there. Then I gave a try to the basic functionality of pyfoam by copying cavity tutorial folder to the desktop, and in the terminal, i use
"
Code:
pyFoamRunner --clear icoFoam -case cavity
" to run the case, and problem came out as below:

Code:
"--> FOAM FATAL ERROR:
Cannot find file "points" in directory "constant/polyMesh"

From function Time::findInstance(const fileName&, const word&, const IOobject::readOption)
in file db/Time/findInstance.C at line 148.

FOAM exiting
"
without the pyFoam, I can successfully run the case in a normal way.

Is that because my setting is not correct? or pyFoam is not compatible with 1.6? or because my openFoam is 64bit version, and i need to state the version explcitly?
seasoul is offline   Reply With Quote

Old   March 23, 2010, 09:40
Default
  #2
New Member
 
Join Date: Jul 2009
Posts: 10
Rep Power: 7
Jens is on a distinguished road
At first, you must create a mesh. You can't start a solver without a mesh
Type "blockMesh" in the cavity-case. The Tool "BlockMesh" will create a Mesh from the "blockMeshDict".

regards Jens
Jens is offline   Reply With Quote

Old   March 23, 2010, 13:42
Default
  #3
New Member
 
wuyu
Join Date: Mar 2010
Posts: 20
Rep Power: 6
seasoul is on a distinguished road
Thank you, Jens.

Oh, I got it. Because there is no finely-made tutorial for pyFoam, i just try it myself. Now I understand pyFoam seperate openFoam functions as applicaitons and utilities, I used to consider pyFoamRunner as a automatic script to do all things for users.
seasoul is offline   Reply With Quote

Reply

Tags
pyfoam

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
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
k-omega-SST model (OF 1.6) - turbulent flat plate cboss OpenFOAM Running, Solving & CFD 23 November 13, 2011 02:28
Are my IRIXbs systune parametersb setting correct lakeat OpenFOAM Installation 1 May 5, 2008 11:48
Warning 097- AB CD-adapco 6 November 15, 2004 05:41
Setting correct NFDIM S.Gowrisankar Phoenics 1 August 11, 2003 11:26


All times are GMT -4. The time now is 10:38.