Recent content by VasanthG

  1. V

    Weissinger Vs. Prandtl Lifting line theory

    I am not clear about the difference between Pradtl's lifting line theory and Weissinger's. The latter is applied to swept-back wing but does that involve chord-wise circulation distribution?
  2. V

    Does 'g95link' Need to be Created First for FORTRAN GUI with DISLIN?

    I am trying to create a GUI for FORTRAN using DISLIN. I installed DISLIN in /usr/local/dislin folder and tried to compile some example programs given in the directory. g95link -a exa_f90.f90 I got the error message g95link not found. I wanted to know if "g95link" needs to be created...
  3. V

    Fortran Create a makefile with allocatable memory in fortran

    Mr.gsal, Thanks for your help. I did exactly as you said-mixing FORTRAN77 with F90. Now I am able to compile the files after I changed the .inc file to a module and "use vortex" option-thanks. I need to link object files and create an executable file. I guess the files are...
  4. V

    Fortran Create a makefile with allocatable memory in fortran

    Hi Mr.gsal, I am sorry the post is unclear. I was thinking of not making the post very long with unnecessary information. I have declared the same variables for which the subroutine "memory.f" allocates the memory. I am not sure if my question was valid. Sorry to have bothered...
  5. V

    Fortran Create a makefile with allocatable memory in fortran

    gfortran -c ./memory_alloc.f ./memory_alloc.f:9.18: allocate (x(MM,4),y(MM,4),z(MM,4)) Error: Syntax error in ALLOCATE statement at (1) ============================= SAME ERROR CONTINUES ALL THE WAY TILL END.
  6. V

    Fortran Create a makefile with allocatable memory in fortran

    c ==================== c Allocation of memory c ==================== subroutine memory_alloc allocate (x(MM,4),y(MM,4),z(MM,4)) allocate (x_c(MM,4),y_c(MM,4),z_c(MM,4)) allocate (x_v(MM,1),y_v(MM,1),z_v(MM,1),norm_x(MM,3)) allocate...
  7. V

    Fortran Create a makefile with allocatable memory in fortran

    The folder contains all subroutines. The following is my makefile: =============================================== SRC = ./ EXE = ./ CFLAGS = -c DEFINEOBJ={list of object files to be created} uvlm: $(DEFINEOBJ) $(SRC) file.INC gfortran -o $(EXE)uvlm $(DEFINEOBJ) clean: rm uvlm...
  8. V

    Fortran Create a makefile with allocatable memory in fortran

    I have many subroutines which I want to compile individually using makefile. But the memory allocation is not specified in ".INC" file but as separate subroutine depending on the user input. The "gfortran" compiler is showing the following error...
  9. V

    Fortran [Fortran] Passing elements of array to subroutine

    Thank you so much for your time and help. I'll implement it in my code and check.
  10. V

    Fortran [Fortran] Passing elements of array to subroutine

    Thank you so much. Yeah I am using FORTRAN.. sorry I missed to mention. say do 10 i=1,10 do 10 j=1,10 A(i,j)=i+j 10 continue This 10 cross 10 values must go to subroutine for a formula which uses say g(i,j)=A(i,j)+2 and my o/p should be values of g(i,j) For this case, if I am...
  11. V

    Fortran [Fortran] Passing elements of array to subroutine

    I have one main program where I have calculated some array, say A(i,j) If I want ot use the values in subroutine, and calculate some more values and give back the result to main program, how my syntax should be? I tried this way. Its not working. program a...
Back
Top