|
[Sponsors] |
October 17, 2017, 14:11 |
just an Erorr ,,, complete airfoil code
|
#1 |
New Member
bob
Join Date: Oct 2017
Posts: 18
Rep Power: 9 |
Hi
i have a full code .but have a small matter " warning " code and compiler online : https://www.tutorialspoint.com/compi...ran_online.php Last edited by batuning; October 26, 2017 at 16:01. |
|
October 18, 2017, 03:50 |
|
#2 |
Senior Member
Join Date: Oct 2011
Posts: 242
Rep Power: 17 |
Loop index variable has type real. This is a deprecated fortran feature. Consider rewritting these blocks using integer variables.
As you do not use the implicit none statement, fortran will interpret all variables which do not start by i,j,k,l,m,n as real numbers. I strongly recommend using the implicit none statement in your program preambule and then declare explicitly all your variables types. ex: you would want to replace this: do o=0.,2*pi,step x=xm*cos(delta)+a*cos(o) end do by something like program test implicit none integer :: i,imax real :: o,pi,step imax=10 pi=4.0*ACOS(-1.0) step = (2*pi)/(imax-1) do i=1,imax o=(i-1)*step print*,cos(REAL(i)) end do end program test |
|
October 19, 2017, 13:46 |
|
#3 |
New Member
bob
Join Date: Oct 2017
Posts: 18
Rep Power: 9 |
thanks
i need x & y is just for x |
|
Tags |
fortran 90, fortran code, fortran compiler, fortran subroutines |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Transient run continues from last time (when startover is desired) | bongbang | CFX | 2 | March 23, 2015 00:05 |
SonicFoam forwardStepTutorial doesnbt complete the run | alberto | OpenFOAM Bugs | 1 | June 10, 2007 16:35 |
CFD code structure (F90) | ma | Main CFD Forum | 4 | January 10, 2005 21:47 |
public CFD Code development | Heinz Wilkening | Main CFD Forum | 38 | March 5, 1999 12:44 |
What kind of Cmmercial CFD code you feel well? | Lans | Main CFD Forum | 13 | October 27, 1998 11:20 |