thank everybody !
i've set up succesfully my include link. I see that Include statement can put everywhere in my code - it means that when we call include statement with file fortran it will replace the codes in this file.
but i find new problem is transferring data between 2 subroutine in my...
hi all !
I want to ask about Include Statement in fortran example: Include 'D:\XXX.f'
in my XXX.f have some subroutines and want to call these subroutine in Main program but i show error . someone does like me can share me some experience !
:D of course , I've just wanted to remesh my model, and i write a short code to remesh it and open it by using tecplot , but now i come back home , tomorrow i will send my result to you but i got some trouble @@
Hi all !
I got stuck in establising an method to Convert a Quadrangle mesh to a Triangle mesh (CFD).
I have a mesh file (.dat) which have information:
Number of Element - Node 1 - Node 2 - Node 3 - Node 4
1 1 2...
Dear gsal
Of course, I know that and I try to change one of two programe to a sub-program and try to transfer data. But when i allocate some variable in it , it occcurs erros ...
hi all
i try to transfer data between 2 individual program fortran . I've ever tranferred data between 2 subroutine by using common block, but 2 program make so confused. Have you ever done like me can share some experience ?
thank you
It seems to be simple, But i can't explain how it run wrongly
I use statement:
ALLOCATE( CV(100), STAT = AllocateStatus)
IF (AllocateStatus /= 0) STOP "*** Not enough memory ***"
and
DEALLOCATE( CV, STAT = DeAllocateStatus)
IF (DeAllocateStatus /= 0) STOP "*** Trouble deallocating ***"...
Thank your attention !
I've just passed it . My project is coupling 2 software together: abaqus and CFD code. I've controlled abaqus by using fortran. now I've tried to control CFD code (written by Fortran). I'm writting a sample code , if it runs succefully, i will apply it to my CFD code
I try to write a small program to allocate a variable in small subroutine and I've passed it, now i allocate array in a loop or many loops but i don't have any ideas about it.
Has anyone done like me , can share some experiences ??