|
[Sponsors] |
February 27, 2014, 21:43 |
AirfoilCalculation Tutorial Error
|
#1 |
Member
Francis
Join Date: Jan 2014
Location: Toronto
Posts: 50
Rep Power: 12 |
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. |
|
February 27, 2014, 22:31 |
AirfoilCalculation Tutorial Error
|
#2 |
Member
Francis
Join Date: Jan 2014
Location: Toronto
Posts: 50
Rep Power: 12 |
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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] blockMesh with double grading. | spwater | OpenFOAM Meshing & Mesh Conversion | 92 | January 12, 2019 09:00 |
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) | Yogini | Fluent UDF and Scheme Programming | 7 | October 3, 2012 07:24 |
checking the system setup and Qt version | vivek070176 | OpenFOAM Installation | 22 | June 1, 2010 12:34 |
Compiling problems with hello worldC | fw407 | OpenFOAM Installation | 21 | January 6, 2008 17:38 |
user subroutine error | CFDUSER | CFX | 2 | December 9, 2006 06:31 |