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

Common blocks in VISTUR

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 22, 2004, 16:17
Default Common blocks in VISTUR
  #1
Celia
Guest
 
Posts: n/a
Sponsored Links
Hi all,

anyone has any idea why I cannot import data in to VISTUR using common blocks with arrayed parameters from other subroutines?

Help please,

Celia
  Reply With Quote
Sponsored Links

Old   December 23, 2004, 04:09
Default Re: Common blocks in VISTUR
  #2
Richard
Guest
 
Posts: n/a
Are you sure the Fortran is correct? VISTUR probably isn't anything unique.
  Reply With Quote

Old   December 24, 2004, 00:37
Default Re: Common blocks in VISTUR
  #3
Celia
Guest
 
Posts: n/a
Hi Richard,

I've programing with this fortran (ABSOFT) over past 3 years or so, it SEEMS to be working ok with everything else But not when I try to include a common block in VISTUR. I guess I would have to modify VIST via POSDAT.
  Reply With Quote

Old   December 24, 2004, 04:13
Default Re: Common blocks in VISTUR
  #4
Richard
Guest
 
Posts: n/a
How is it not working?
  Reply With Quote

Old   December 25, 2004, 04:09
Default Re: Common blocks in VISTUR
  #5
Celia
Guest
 
Posts: n/a
Hi Richard, it complains about arguments not being dummy variables bla bla bla... whatever thats supposed to mean.
  Reply With Quote

Old   December 26, 2004, 03:22
Default Re: Common blocks in VISTUR
  #6
Celia
Guest
 
Posts: n/a
Ok, here is exactly what it complains about,

error on line 60 of vistur.f: adjustable array is not a dummy argument

error on line 57 of vistur.f: program unit has invalid use of COMMON name.

The common block is as follows,

COMMON/SUZEN/ VISTS(-NBMAX:NCMAX),FW1(-NBMAX:NCMAX)

Any idea? Thanks.
  Reply With Quote

Old   December 26, 2004, 03:25
Default Sorted :D
  #7
Celia
Guest
 
Posts: n/a
Stupid of me really, I forgot to include the INCLUDE '../parm.in' comment....

Sorry and many thanks.
  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 Siemens 6 May 6, 2006 09:46
sormom.f and common blocks Sheila Siemens 0 March 25, 2005 20:46
common blocks of STAR-CD Mari Siemens 2 January 26, 2005 04:21
how to define own COMMON blocks Mari Siemens 1 January 12, 2005 09:30
common blocks CMB Siemens 1 November 12, 2004 10:41

Sponsored Links


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