CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Fortran code for laminar flow around naca0012 airfoil (https://www.cfd-online.com/Forums/main/110175-fortran-code-laminar-flow-around-naca0012-airfoil.html)

kianoosh_py December 5, 2012 06:44

Fortran code for laminar flow around naca0012 airfoil
 
Hi Guys

I need the FORTRAN code with this features: a FORTRAN code for predicting the lift and drag coefficient in laminar flow around naca0012 airfoil.

I need this code for my master thesis and i should develop this code , but for starting i really need a clear code.

agd December 5, 2012 09:42

If you are using structured grids, try ISAAC. It can be found at sourceforge.net.

Umuteng December 6, 2012 06:09

viscous or inviscid flow? and compressible or not?

kianoosh_py December 7, 2012 12:18

Quote:

Originally Posted by agd (Post 395940)
If you are using structured grids, try ISAAC. It can be found at sourceforge.net.


thx, yes i use structurd used, but i found two code on sourceforge.net by follow setails:

1.
Isaac Hardcore simulation, not for pussies.
0 weekly downloads
Hardcore simulation, not for pussies.
Last Updated: 2011-04-20


2.

I.S.A.A.C.S. I.S.A.A.C.S. Interactive Structure Analysis of Amorphous and Crystalline Systems is a cross-platform software developed to analyze the structural characteristics of three-dimensional models built by computer simulations.
23 weekly downloads
http://sourceforge.net/projects/isaa...288771/182/137
I.S.A.A.C.S. Interactive Structure Analysis of Amorphous and Crystalline Systems is a cross-platform software developed to analyze the structural characteristics of three-dimensional models built by computer simulations.
Last Updated: 5 days ago

100.0% recommended


which one is recommended.


kianoosh_py December 7, 2012 12:20

Quote:

Originally Posted by Umuteng (Post 396097)
viscous or inviscid flow? and compressible or not?

thx for your response. i need a viscous and incompressible code for laminar flow around an naca 0012 airfoil. :)

agd December 7, 2012 12:35

Try this link

http://isaac-cfd.sourceforge.net/

kianoosh_py December 7, 2012 18:39

Quote:

Originally Posted by agd (Post 396314)

thx a lot , i found it but i can't found how to run it. this code have several errors on Microsoft power station compiler, about 60 errors.

did u use of this code before or can you help me to run the code?

kianoosh_py December 7, 2012 19:13

Quote:

Originally Posted by kianoosh_py (Post 396350)
thx a lot , i found it but i can't found how to run it. this code have several errors on Microsoft power station compiler, about 60 errors.

did u use of this code before or can you help me to run the code?

The ISAAC code is prepare for using in the Linux, i guess. I using windows 7 32bit there is any way to use this on windows7.?

agd December 7, 2012 22:38

You could try installing cygwin on windows and use the gcc/gfortran compilers that are included in cygwin. I have only built it under linux.

kianoosh_py December 8, 2012 05:46

Quote:

Originally Posted by agd (Post 396366)
You could try installing cygwin on windows and use the gcc/gfortran compilers that are included in cygwin. I have only built it under linux.

dear agd, i use the user guide for ISAAC and use the cygwin, i use the instruction as follow:

% cd
% mkdir isaac
% cd isaac
% mkdir src
% cd src
% tar -xvf isaac.tar.gz
% tar -xvf wsmake.tar.gz
% make

but when enter the % make, i got this error:
-bash: make: command not found

in the directory the file makefile is exist and i try % makefile and got that error again. do you know whats is wrong?

Rami December 9, 2012 04:14

kianoosh_py,

I am not familiar with both isaac and cygwi, however my guess is the % is simply the system prompt. Try entering, e.g., cd rather than % cd.

Good luck,
Rami

kianoosh_py December 9, 2012 04:23

Quote:

Originally Posted by Rami (Post 396487)
kianoosh_py,

I am not familiar with both isaac and cygwi, however my guess is the % is simply the system prompt. Try entering, e.g., cd rather than % cd.

Good luck,
Rami

thx dear rami, of course i don't use of %, i write here just to show the command prompt as a symbol.

agd December 9, 2012 14:48

Is the error because the make utility is not installed, or is it indicating that the makefile cannot be found? It could also be indicating that you need to execute the make command within a bash shell under cygwin.

kianoosh_py December 9, 2012 14:58

Quote:

Originally Posted by agd (Post 396539)
Is the error because the make utility is not installed, or is it indicating that the makefile cannot be found? It could also be indicating that you need to execute the make command within a bash shell under cygwin.

and what should i do?
let's check the make utility is installed or not. how can i check it?

cfdnewbie December 9, 2012 15:50

Quote:

Originally Posted by kianoosh_py (Post 396541)
and what should i do?
let's check the make utility is installed or not. how can i check it?

easiest way: man make

but my friend, just a friendly suggestion: why don't you google these kind of questions? it will give you your answers more quickly, and prevent the cluttering of the thread!

kianoosh_py December 19, 2012 11:00

:)

did any body have GHOST code (from Kentucky University)?

and or CFLD3D Code (http://cfl3d.larc.nasa.gov/)

agd December 19, 2012 11:51

CFL3D has an easy-to-follow request process to obtain a copy of the code, if you are legal resident of the US and residing in the US. That would be the proper channel to pursue CFL3D. If that is not an option for you, then you should seek other open-source software.

wtffqbpl December 29, 2012 09:24

Quote:

Originally Posted by kianoosh_py (Post 395896)
Hi Guys

I need the FORTRAN code with this features: a FORTRAN code for predicting the lift and drag coefficient in laminar flow around naca0012 airfoil.

I need this code for my master thesis and i should develop this code , but for starting i really need a clear code.



it's easy to write a fortran code with these features, any cfd book can helps you write this code

gbrajtm July 21, 2015 05:22

Hi All,


i am beginner to CFD. I wanted to write a CFD code for laminar incompressible fluid flow between two plate, The fluid is Magnetorheological fluid which has nanoparticles.
Could you please provide information on, which language is suitable and software to run the code?

Please provide one simple code which i can use as reference or the any link which provide it.

Thanks in advance.

makayasa September 13, 2015 06:19

hi Richard Ren
Can you help me , how do I make a Fortran code for airfoil ? Thank you for the help


All times are GMT -4. The time now is 21:14.