tutorial problems
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() 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 Can anyone help me how to overcome these problems?! M.Asghari |
I present the doInletVariation.py code text for all foamers as follows:
Code:
solver="simpleFoam" case="pitzDaily" Isn't anyone to help me to find any remedy? Welcome to any view! |
Hi, Did you find any solution to this?
Manoj |
Hi.
In my opinion, it is a little complex. I preferred to use bash scripting instead of it. To me,it is a little simpler. Finally I couldn't find a definite solution by Pyfoam programming. I required it for an inverse problem. Asghari |
All times are GMT -4. The time now is 08:30. |