AirfoilCalculation Tutorial Error
Hi FOAMERs,
I am trying to start up airfoil simulation in OpenFOAM with the airfoil calculation tutorial but having problem executing this command: Procedure "To save you for a lot of typing, an Octave-script NACA2STL.m has been made. Download the script into a directory of your choice and make it executable.: Terminal window chmod +x NACA2STL.m ./NACA2STL.m These commands will create a STL-file of a NACA0015 airfoil with a chord length of 1 meter. You might need to edit the first line in the script (#!/usr/bin/octave -qf) if your Octave-binary is located in another location than /usr/bin. Put the file in the airfoil_snappyHexMesh/constant/triSurface directory." Error message xx@ubuntu:~/OpenFOAM/xx-2.3.0/run/tutorials/incompressible/pimpleDyMFoam/airfoil$ chmod +x NACA2STL.m chmod: cannot access `NACA2STL.m': No such file or directory xx@ubuntu:~/OpenFOAM/xx-2.3.0/run/tutorials/incompressible/pimpleDyMFoam/airfoil$ chmod +x NACA2STL.m xx@ubuntu:~/OpenFOAM/xx-2.3.0/run/tutorials/incompressible/pimpleDyMFoam/airfoil$ ./NACA2STL.m bash: ./NACA2STL.m: /usr/bin/octave: bad interpreter: No such file or directory I have tried to place the NACA2STK.m file into the usr/bin but not permitted and can't fully still execute the command in any other directory. Can anyone help to throw more light on this procedure I think I am not getting a step right? Many thanks. |
AirfoilCalculation Tutorial Error
Hi FOAMers,
Problem resolved. I was able to figure out that Octave is a tool for reading and writing binary codes and that it is not installed in my usr/bin directory. I just installed Octave via the link: http://blogs.bu.edu/mhirsch/2012/08/...-ubuntu-12-04/ Now, my airfoil.stl file has been successfully created with the directory it was saved in. Cheers. |
All times are GMT -4. The time now is 17:16. |