CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   how to define own COMMON blocks (https://www.cfd-online.com/Forums/siemens/54304-how-define-own-common-blocks.html)

Mari January 12, 2005 08:08

how to define own COMMON blocks
 
Hello all,

is there a comprehensible description how and where to define own COMMON blocks? Where should I store them?

Thanks in advance,

Mari

Steve January 12, 2005 08:30

Re: how to define own COMMON blocks
 
Just do it as you would in a normal FORTRAN program. Define a named COMMON block in all the subroutines that will use it. You could even put the definition into an include file and include that file wherever it's required. Just try not to make the name conflict with a STAR one.


All times are GMT -4. The time now is 05:46.