|
[Sponsors] |
June 28, 2015, 03:49 |
tutorial problems
|
#1 |
Senior Member
Mehdi Asghari
Join Date: Feb 2010
Posts: 127
Rep Power: 16 |
Hi All Foamers,
I am going to learn PyFoam programming by doInletVariation.py tutorial file. Pyton program for this file has been presented at following link: https://openfoamwiki.net/index.php/C...ter_Variation; However, I executed it into pyton and encountered some errors such as follows: Code:
OSError: [Errno 2] No such file or directory: 'pitzDaily/InletVariation' Code:
run.start() File "<stdin>", line 1 run.start() ^ IndentationError: unexpected indent Code:
/home/myfoam/OpenFOAM/PyFoam-0.6.4/examples/doInletVariation.py: line 3: $'Example for an automatic variation of an inlet-Parameter. Runs the solver\nand after it has finished runs utilies that postprocess the output.\nCollects some results': command not found from: can't read /var/mail/PyFoam.Execution.ConvergenceRunner from: can't read /var/mail/PyFoam.Execution.UtilityRunner from: can't read /var/mail/PyFoam.LogAnalysis.BoundingLogAnalyzer from: can't read /var/mail/PyFoam.RunDictionary.SolutionFile from: can't read /var/mail/PyFoam.RunDictionary.SolutionDirectory /home/myfoam/OpenFOAM/PyFoam-0.6.4/examples/doInletVariation.py: line 16: syntax error near unexpected token `(' /home/myfoam/OpenFOAM/PyFoam-0.6.4/examples/doInletVariation.py: line 16: `dire=SolutionDirectory(case,archive="InletVariation")' Can anyone help me how to overcome these problems?! M.Asghari Last edited by Asghari_M; July 4, 2015 at 16:09. |
|
Tags |
pyfoam tutorial error |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tutorial for subcooled nucleate boiling | Asghari | FLUENT | 42 | December 10, 2018 11:42 |
Problem on Fluent Tutorial: Horizontal Film Boilig | Feng | FLUENT | 2 | April 13, 2013 05:34 |
Needed Benchmark Problems for FSI | Mechstud | Main CFD Forum | 4 | July 26, 2011 12:13 |
Problems with channelOodles tutorial | alberto | OpenFOAM Running, Solving & CFD | 0 | June 5, 2007 09:08 |
Rotor/stator tutorial, and how to... | gilberto | CFX | 5 | January 21, 2002 09:41 |