CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   ARRAY PASSING in STAR4 (https://www.cfd-online.com/Forums/siemens/56801-array-passing-star4.html)

John September 18, 2008 13:15

ARRAY PASSING in STAR4
 
I just moved from STAR3.2 to STAR4. Basically I used to have a array defined in posdat like

Posdat Dimension X(NCTMXU) POINTER(P_X,X) COMMON/A00/P_X IF(INTFLG(1).EQ.0) then ALLOCATE x MEMORY INTFLG(1)=1 endif

then I use this array in other user subroutine just by including the common block

Dimension X(4) POINTER(P_X,X) COMMON/A00/P_X

What is the similar way to do it in STAR4?


Karl Mehler September 19, 2008 17:30

Re: ARRAY PASSING in STAR4
 
For converting user coding, there is one email address you can contact. It is something like nur79@de.cd-adapco.com. You need to ask the Nuremberg office for the correct address. This is a team of developer that works especially on user-coding support for v4 as they said during the user conference and the new Nuremberg office opening. There is also a new team of consultants in US that are dedicated to update user-coding for v4 es-ice runs.


Stephanie September 22, 2008 14:39

Re: ARRAY PASSING in STAR4
 
posdat in Star v4 works with Fortran 90. Use Module for passing variables from subroutines to others.


All times are GMT -4. The time now is 16:20.