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

[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 Search this Thread Display Modes
Old   March 23, 2010, 05:55
Cool setting is not correct? or not compatible with 1.6?
  #1
New Member
 
wuyu
Join Date: Mar 2010
Posts: 27
Rep Power: 16
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, 07:40
Default
  #2
New Member
 
Join Date: Jul 2009
Posts: 10
Rep Power: 17
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, 11:42
Default
  #3
New Member
 
wuyu
Join Date: Mar 2010
Posts: 27
Rep Power: 16
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 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
Setting up cyclic boundary condition KateEisenhower OpenFOAM Pre-Processing 6 January 11, 2017 17:17
control valve simulation problem setting enginpower OpenFOAM Running, Solving & CFD 3 June 13, 2016 07:30
[blockMesh] multiregion mesh with blockMesh alvora OpenFOAM Meshing & Mesh Conversion 44 July 21, 2013 14:14
[Other] How to define internal walls for injector inside a combustion chamber by OF2.1.1 with sandy13 OpenFOAM Meshing & Mesh Conversion 0 May 22, 2013 06:59
problems in Two Phase flow using twoPhaseEulerFoam with OpenFoam 1.6 raagh77 OpenFOAM Running, Solving & CFD 0 March 6, 2010 05:11


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