CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   subroutine help-urgent!! (https://www.cfd-online.com/Forums/siemens/55387-subroutine-help-urgent.html)

Abnu May 21, 2006 01:48

subroutine help-urgent!!
 
Hi,this is a part of a fortran prog i need to use.this was written to work in V3.15 of STAR.can some one tell me the "changes need to be made for it to work on V3.2" of STAR.kindly help!!i've very little time to finish my work!! thank you all!!!

INCLUDE 'para.inc'

INCLUDE '../parm.inc'

DIMENSION ICQMAP(NCTMAX*2)

SAVE ICQMAP

COMMON/DCO2/PL(-NBMAX:NCMAX),VIS(-NBMAX:NCMAX),

* UL(3,-NBMAX:NCMAX),TKE(-NBMAX:NCMAX),EP(-NBMAX:NCMAX),

* TL(-NBMAX:NCTMAX,1+NSC),DENS(-NBMAX:NCTMAX),

* CPP(-NBMAX:NCTMAX)

DOUBLE PRECISION PL

COMMON /C1C001/ ICLMAP(NCTMAX)


Regis May 21, 2006 10:07

Re: subroutine help-urgent!!
 
What about reading chapter 18 of the user-guide:New coding practices?

Regis

Abnu May 21, 2006 22:29

Re: subroutine help-urgent!!
 
yeah i looked into it. but it didnt help me a great deal. can you please rewrite that code for version 3.22.it will be of great help to me. thanks!!

Perl script May 22, 2006 17:23

Re: subroutine help-urgent!!
 
hello,

you need to remove parm.inc.

then try to declare and allocate 1 array can you do this?

then for the other it will be the same.

I would not suggest to change version in the middle of a project. It is a bad idea.

PS

Abnu May 25, 2006 12:52

Re: subroutine help-urgent!!
 
i've changed the coding following the instruction in the user guide.now there isn't any compilation or linking error but i now get "star.exe" application error. any idea about sorting that out.plz let me know!!thanks

v324 May 25, 2006 15:56

Re: subroutine help-urgent!!
 
There is no star.exe in v324, try in a different directory.


All times are GMT -4. The time now is 00:40.