CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CD-adapco

how to define own COMMON blocks

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   January 12, 2005, 09:08
Default how to define own COMMON blocks
  #1
Mari
Guest
 
Posts: n/a
Hello all,

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

Thanks in advance,

Mari
  Reply With Quote

Old   January 12, 2005, 09:30
Default Re: how to define own COMMON blocks
  #2
Steve
Guest
 
Posts: n/a
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.
  Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
COMMON blocks for passing arrays -- Please help marcus CD-adapco 6 May 6, 2006 09:46
sormom.f and common blocks Sheila CD-adapco 0 March 25, 2005 20:46
common blocks of STAR-CD Mari CD-adapco 2 January 26, 2005 04:21
Common blocks in VISTUR Celia CD-adapco 6 December 26, 2004 03:25
common blocks CMB CD-adapco 1 November 12, 2004 10:41


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