CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   need help in fotran code for simple method (http://www.cfd-online.com/Forums/main/7450-need-help-fotran-code-simple-method.html)

saritha April 21, 2004 15:33

need help in fotran code for simple method
 
hi,

i having trouble in fortran code for simple method. Some of the variables values are not getting returned from the subroutines to main program. Those variables are defined using COMMON. It would be great if someone can help me in this.

Thank You saritha

centaur_ks April 21, 2004 20:17

Re: need help in fotran code for simple method
 
have you created include file for all the COMMON variables? if so then make sure you include them in the subroutine too.

Adam April 22, 2004 14:54

Re: need help in fotran code for simple method
 
Can u mail me the COMMON block in the main as well as the one in the subroutine.

Waiting

saritha April 30, 2004 12:55

Re: need help in fotran code for simple method
 
Subroutine also contains same common statement will all the variables which are in common statement in main. Both the commons don't have a name.

saritha


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